OR-Tools  9.3
cp_model_presolve.h File Reference

Go to the source code of this file.

Classes

class  CpModelPresolver
 
class  ModelCopy
 

Namespaces

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

Functions

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