#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/flags/flag.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/base/logging.h"
#include "ortools/base/mathutil.h"
#include "ortools/base/stl_util.h"
#include "ortools/constraint_solver/constraint_solver.h"
#include "ortools/constraint_solver/constraint_solveri.h"
#include "ortools/util/bitset.h"
#include "ortools/util/piecewise_linear_function.h"
#include "ortools/util/saturated_arithmetic.h"
Go to the source code of this file.
|
| | ABSL_FLAG (bool, cp_disable_expression_optimization, false, "Disable special optimization when creating expressions.") |
| | ABSL_FLAG (bool, cp_share_int_consts, true, "Share IntConst's with the same value.") |
| void | operations_research::CleanVariableOnFail (IntVar *var) |
| Constraint * | operations_research::SetIsEqual (IntVar *const var, absl::Span< const int64_t > values, const std::vector< IntVar * > &vars) |
| Constraint * | operations_research::SetIsGreaterOrEqual (IntVar *const var, absl::Span< const int64_t > values, const std::vector< IntVar * > &vars) |
| void | operations_research::RestoreBoolValue (IntVar *var) |
| void | operations_research::LinkVarExpr (Solver *s, IntExpr *expr, IntVar *var) |
◆ ABSL_FLAG() [1/2]
| ABSL_FLAG |
( |
bool | , |
|
|
cp_disable_expression_optimization | , |
|
|
false | , |
|
|
"Disable special optimization when creating expressions." | ) |
◆ ABSL_FLAG() [2/2]
| ABSL_FLAG |
( |
bool | , |
|
|
cp_share_int_consts | , |
|
|
true | , |
|
|
"Share IntConst's with the same value." | ) |