Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
cp_model_loader.cc File Reference
#include "ortools/sat/cp_model_loader.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <limits>
#include <memory>
#include <numeric>
#include <string>
#include <utility>
#include <vector>
#include "absl/container/btree_map.h"
#include "absl/container/btree_set.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/log/check.h"
#include "absl/meta/type_traits.h"
#include "absl/strings/str_cat.h"
#include "absl/types/span.h"
#include "ortools/algorithms/sparse_permutation.h"
#include "ortools/base/logging.h"
#include "ortools/base/stl_util.h"
#include "ortools/base/strong_vector.h"
#include "ortools/sat/all_different.h"
#include "ortools/sat/circuit.h"
#include "ortools/sat/cp_constraints.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/cumulative.h"
#include "ortools/sat/diffn.h"
#include "ortools/sat/disjunctive.h"
#include "ortools/sat/implied_bounds.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_expr.h"
#include "ortools/sat/intervals.h"
#include "ortools/sat/linear_constraint.h"
#include "ortools/sat/model.h"
#include "ortools/sat/pb_constraint.h"
#include "ortools/sat/precedences.h"
#include "ortools/sat/sat_base.h"
#include "ortools/sat/sat_parameters.pb.h"
#include "ortools/sat/sat_solver.h"
#include "ortools/sat/symmetry.h"
#include "ortools/sat/timetable.h"
#include "ortools/sat/util.h"
#include "ortools/util/logging.h"
#include "ortools/util/sorted_interval_list.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::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::DetectOptionalVariables (const CpModelProto &model_proto, Model *m)
 Automatically detect optional variables.
 
void operations_research::sat::AddFullEncodingFromSearchBranching (const CpModelProto &model_proto, 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::SplitAndLoadIntermediateConstraints (bool lb_required, bool ub_required, std::vector< IntegerVariable > *vars, std::vector< int64_t > *coeffs, 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::LoadIntModConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadLinMaxConstraint (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::LoadReservoirConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadCircuitConstraint (const ConstraintProto &ct, Model *m)
 
void operations_research::sat::LoadRoutesConstraint (const ConstraintProto &ct, Model *m)
 
bool operations_research::sat::LoadConstraint (const ConstraintProto &ct, Model *m)