![]() |
OR-Tools
9.3
|
Go to the source code of this file.
Namespaces | |
| namespace | operations_research |
| Collection of objects used to extend the Constraint Solver library. | |
| namespace | operations_research::sat |
Macros | |
| #define | APPLY_TO_SINGULAR_FIELD(ct_name, field_name) |
| #define | APPLY_TO_REPEATED_FIELD(ct_name, field_name) |
Functions | |
| void | SetToNegatedLinearExpression (const LinearExpressionProto &input_expr, LinearExpressionProto *output_negated_expr) |
| IndexReferences | GetReferencesUsedByConstraint (const ConstraintProto &ct) |
| void | ApplyToAllLiteralIndices (const std::function< void(int *)> &f, ConstraintProto *ct) |
| void | ApplyToAllVariableIndices (const std::function< void(int *)> &f, ConstraintProto *ct) |
| void | ApplyToAllIntervalIndices (const std::function< void(int *)> &f, ConstraintProto *ct) |
| std::string | ConstraintCaseName (ConstraintProto::ConstraintCase constraint_case) |
| std::vector< int > | UsedVariables (const ConstraintProto &ct) |
| std::vector< int > | UsedIntervals (const ConstraintProto &ct) |
| int64_t | ComputeInnerObjective (const CpObjectiveProto &objective, const CpSolverResponse &response) |
| bool | ExpressionContainsSingleRef (const LinearExpressionProto &expr) |
| bool | ExpressionIsAffine (const LinearExpressionProto &expr) |
| int | GetSingleRefFromExpression (const LinearExpressionProto &expr) |
| void | AddLinearExpressionToLinearConstraint (const LinearExpressionProto &expr, int64_t coefficient, LinearConstraintProto *linear) |
| bool | LinearExpressionProtosAreEqual (const LinearExpressionProto &a, const LinearExpressionProto &b, int64_t b_scaling) |
| #define APPLY_TO_REPEATED_FIELD | ( | ct_name, | |
| field_name | |||
| ) |
Definition at line 159 of file cp_model_utils.cc.
| #define APPLY_TO_SINGULAR_FIELD | ( | ct_name, | |
| field_name | |||
| ) |
Definition at line 152 of file cp_model_utils.cc.