Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
cp_model_loader.h File Reference
#include <cstdint>
#include <functional>
#include <vector>
#include "absl/container/flat_hash_set.h"
#include "ortools/base/logging.h"
#include "ortools/base/strong_vector.h"
#include "ortools/base/types.h"
#include "ortools/sat/cp_model.pb.h"
#include "ortools/sat/cp_model_mapping.h"
#include "ortools/sat/cp_model_utils.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/intervals.h"
#include "ortools/sat/linear_relaxation.h"
#include "ortools/sat/model.h"
#include "ortools/sat/sat_base.h"
#include "ortools/util/strong_integers.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::sat
 

Functions

void operations_research::sat::LoadVariables (const CpModelProto &model_proto, bool view_all_booleans_as_integers, Model *m)
 
void operations_research::sat::DetectOptionalVariables (const CpModelProto &model_proto, Model *m)
 Automatically detect optional variables.
 
void operations_research::sat::LoadBooleanSymmetries (const CpModelProto &model_proto, Model *m)
 
void operations_research::sat::ExtractEncoding (const CpModelProto &model_proto, Model *m)
 
void operations_research::sat::ExtractElementEncoding (const CpModelProto &model_proto, Model *m)
 
void operations_research::sat::PropagateEncodingFromEquivalenceRelations (const CpModelProto &model_proto, Model *m)
 
void operations_research::sat::AddFullEncodingFromSearchBranching (const CpModelProto &model_proto, Model *m)
 
bool operations_research::sat::LoadConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadBoolOrConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadBoolAndConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadAtMostOneConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadExactlyOneConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadBoolXorConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadLinearConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadAllDiffConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadIntProdConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadIntDivConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadIntMinConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadLinMaxConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadIntMaxConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadNoOverlapConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadNoOverlap2dConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadCumulativeConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadCircuitConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadReservoirConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadRoutesConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadCircuitCoveringConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::SplitAndLoadIntermediateConstraints (bool lb_required, bool ub_required, std::vector< IntegerVariable > *vars, std::vector< int64_t > *coeffs, Model *m)