 |
OR-Tools
8.1
|
Go to the documentation of this file.
14 #ifndef OR_TOOLS_SAT_LINEAR_RELAXATION_H_
15 #define OR_TOOLS_SAT_LINEAR_RELAXATION_H_
76 int linearization_level,
83 const ConstraintProto&
ct,
91 const ConstraintProto&
ct,
98 const std::vector<IntegerVariable>& vars,
122 IntegerVariable target,
const std::vector<LinearExpression>& exprs,
134 const int linearization_level,
141 #endif // OR_TOOLS_SAT_LINEAR_RELAXATION_H_
bool AppendFullEncodingRelaxation(IntegerVariable var, const Model &model, LinearRelaxation *relaxation)
void AppendNoOverlapRelaxation(const CpModelProto &model_proto, const ConstraintProto &ct, int linearization_level, Model *model, LinearRelaxation *relaxation)
CpModelProto const * model_proto
std::vector< IntegerVariable > AppendLinMaxRelaxation(IntegerVariable target, const std::vector< LinearExpression > &exprs, Model *model, LinearRelaxation *relaxation)
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
void AppendCumulativeRelaxation(const CpModelProto &model_proto, const ConstraintProto &ct, int linearization_level, Model *model, LinearRelaxation *relaxation)
std::vector< CutGenerator > cut_generators
void AppendPartialEncodingRelaxation(IntegerVariable var, const Model &model, LinearRelaxation *relaxation)
void AppendMaxRelaxation(IntegerVariable target, const std::vector< IntegerVariable > &vars, int linearization_level, Model *model, LinearRelaxation *relaxation)
std::vector< LinearConstraint > linear_constraints
Class that owns everything related to a particular optimization model.
void AppendLinearConstraintRelaxation(const ConstraintProto &constraint_proto, const int linearization_level, const Model &model, LinearRelaxation *relaxation)
void AppendPartialGreaterThanEncodingRelaxation(IntegerVariable var, const Model &model, LinearRelaxation *relaxation)
void TryToLinearizeConstraint(const CpModelProto &model_proto, const ConstraintProto &ct, Model *model, int linearization_level, LinearRelaxation *relaxation)
std::vector< std::vector< Literal > > at_most_ones