OR-Tools  9.0
cp_model_presolve.cc File Reference

Go to the source code of this file.

Namespaces

 operations_research
 Collection of objects used to extend the Constraint Solver library.
 
 operations_research::sat
 

Functions

void LogInfoFromContext (const PresolveContext *context)
 
bool ImportConstraintsWithBasicPresolveIntoContext (const CpModelProto &in_model, PresolveContext *context)
 
void CopyEverythingExceptVariablesAndConstraintsFieldsIntoContext (const CpModelProto &in_model, PresolveContext *context)
 
bool PresolveCpModel (PresolveContext *context, std::vector< int > *postsolve_mapping)
 
void ApplyVariableMapping (const std::vector< int > &mapping, const PresolveContext &context)
 
std::vector< int > FindDuplicateConstraints (const CpModelProto &model_proto)