![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 47 of file cp_model_search.h.
#include <cp_model_search.h>
Public Member Functions | |
| CpModelView (Model *model) | |
| int | NumVariables () const |
| bool | IsFixed (int var) const |
| int64_t | Min (int var) const |
| int64_t | Max (int var) const |
| BooleanOrIntegerLiteral | GreaterOrEqual (int var, int64_t value) const |
| BooleanOrIntegerLiteral | LowerOrEqual (int var, int64_t value) const |
| BooleanOrIntegerLiteral | MedianValue (int var) const |
| BooleanOrIntegerLiteral | RandomSplit (int var, int64_t lb, int64_t ub) const |
|
explicit |
Definition at line 50 of file cp_model_search.cc.
| BooleanOrIntegerLiteral operations_research::sat::CpModelView::GreaterOrEqual | ( | int | var, |
| int64_t | value ) const |
Definition at line 89 of file cp_model_search.cc.
| bool operations_research::sat::CpModelView::IsFixed | ( | int | var | ) | const |
Definition at line 59 of file cp_model_search.cc.
| BooleanOrIntegerLiteral operations_research::sat::CpModelView::LowerOrEqual | ( | int | var, |
| int64_t | value ) const |
Definition at line 105 of file cp_model_search.cc.
| int64_t operations_research::sat::CpModelView::Max | ( | int | var | ) | const |
Definition at line 79 of file cp_model_search.cc.
| BooleanOrIntegerLiteral operations_research::sat::CpModelView::MedianValue | ( | int | var | ) | const |
Definition at line 121 of file cp_model_search.cc.
| int64_t operations_research::sat::CpModelView::Min | ( | int | var | ) | const |
Definition at line 69 of file cp_model_search.cc.
| int operations_research::sat::CpModelView::NumVariables | ( | ) | const |
Definition at line 57 of file cp_model_search.cc.
| BooleanOrIntegerLiteral operations_research::sat::CpModelView::RandomSplit | ( | int | var, |
| int64_t | lb, | ||
| int64_t | ub ) const |
Definition at line 140 of file cp_model_search.cc.