Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <integer.h>
Public Attributes | |
std::vector< int64_t > | proto_values |
util_intops::StrongVector< IntegerVariable, bool > | ivar_has_value |
util_intops::StrongVector< IntegerVariable, IntegerValue > | ivar_values |
A model singleton used for debugging. If this is set in the model, then we can check that various derived constraint do not exclude this solution (if it is a known optimal solution for instance).
util_intops::StrongVector<IntegerVariable, bool> operations_research::sat::DebugSolution::ivar_has_value |
This is filled from proto_values at load-time, and using the cp_model_mapping, we cache the solution of the integer variables that are mapped. Note that it is possible that not all integer variable are mapped.
util_intops::StrongVector<IntegerVariable, IntegerValue> operations_research::sat::DebugSolution::ivar_values |
std::vector<int64_t> operations_research::sat::DebugSolution::proto_values |