14 #ifndef OR_TOOLS_SAT_CP_MODEL_SEARCH_H_ 15 #define OR_TOOLS_SAT_CP_MODEL_SEARCH_H_ 48 int64_t
Min(
int var)
const;
49 int64_t
Max(
int var)
const;
79 const std::vector<IntegerVariable>& variable_mapping,
88 const std::vector<IntegerVariable>& variable_mapping,
97 const int num_workers);
102 #endif // OR_TOOLS_SAT_CP_MODEL_SEARCH_H_
Class that owns everything related to a particular optimization model.
CpModelView(Model *model)
std::function< BooleanOrIntegerLiteral()> ConstructSearchStrategy(const CpModelProto &cp_model_proto, const std::vector< IntegerVariable > &variable_mapping, IntegerVariable objective_var, Model *model)
BooleanOrIntegerLiteral MedianValue(int var) const
bool IsCurrentlyFree(int var) const
BooleanOrIntegerLiteral GreaterOrEqual(int var, int64_t value) const
int64_t Max(int var) const
Collection of objects used to extend the Constraint Solver library.
BooleanOrIntegerLiteral LowerOrEqual(int var, int64_t value) const
int64_t Min(int var) const
std::function< BooleanOrIntegerLiteral()> InstrumentSearchStrategy(const CpModelProto &cp_model_proto, const std::vector< IntegerVariable > &variable_mapping, const std::function< BooleanOrIntegerLiteral()> &instrumented_strategy, Model *model)
bool IsFixed(int var) const
std::vector< SatParameters > GetDiverseSetOfParameters(const SatParameters &base_params, const CpModelProto &cp_model, const int num_workers)