Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
cp_model.cc File Reference
#include "ortools/sat/cp_model.h"
#include <cstdint>
#include <initializer_list>
#include <limits>
#include <ostream>
#include <string>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "absl/log/check.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "ortools/sat/cp_model.pb.h"
#include "ortools/sat/cp_model_utils.h"
#include "ortools/util/sorted_interval_list.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

BoolVar operations_research::sat::Not (BoolVar x)
 
std::ostream & operations_research::sat::operator<< (std::ostream &os, const BoolVar &var)
 
std::string operations_research::sat::VarDebugString (const CpModelProto &proto, int index)
 
std::ostream & operations_research::sat::operator<< (std::ostream &os, const IntVar &var)
 
std::ostream & operations_research::sat::operator<< (std::ostream &os, const LinearExpr &e)
 
std::ostream & operations_research::sat::operator<< (std::ostream &os, const DoubleLinearExpr &e)
 
std::ostream & operations_research::sat::operator<< (std::ostream &os, const IntervalVar &var)
 
int64_t operations_research::sat::SolutionIntegerValue (const CpSolverResponse &r, const LinearExpr &expr)
 Evaluates the value of an linear expression in a solver response.
 
bool operations_research::sat::SolutionBooleanValue (const CpSolverResponse &r, BoolVar x)
 Evaluates the value of a Boolean literal in a solver response.