![]() |
OR-Tools
9.6
|
Definition at line 138 of file linear_programming_constraint.h.
Public Types | |
| typedef glop::RowIndex | ConstraintIndex |
Public Member Functions | |
| LinearProgrammingConstraint (Model *model, absl::Span< const IntegerVariable > vars) | |
| void | AddLinearConstraint (const LinearConstraint &ct) |
| void | SetObjectiveCoefficient (IntegerVariable ivar, IntegerValue coeff) |
| void | SetMainObjectiveVariable (IntegerVariable ivar) |
| IntegerVariable | ObjectiveVariable () const |
| void | AddCutGenerator (CutGenerator generator) |
| bool | HasSolution () const |
| double | SolutionObjectiveValue () const |
| double | GetSolutionValue (IntegerVariable variable) const |
| double | GetSolutionReducedCost (IntegerVariable variable) const |
| bool | SolutionIsInteger () const |
| bool | Propagate () override |
| bool | IncrementalPropagate (const std::vector< int > &watch_indices) override |
| void | RegisterWith (Model *model) |
| void | SetLevel (int level) override |
| int | NumVariables () const |
| const std::vector< IntegerVariable > & | integer_variables () const |
| std::string | DimensionString () const |
| std::function< IntegerLiteral()> | HeuristicLpMostInfeasibleBinary (Model *model) |
| std::function< IntegerLiteral()> | HeuristicLpReducedCostBinary (Model *model) |
| std::function< IntegerLiteral()> | HeuristicLpReducedCostAverageBranching () |
| double | average_degeneracy () const |
| int64_t | total_num_simplex_iterations () const |
| std::string | Statistics () const |
| IntegerSumLE * | LatestOptimalConstraintOrNull () const |
| const std::vector< std::unique_ptr< IntegerSumLE > > & | OptimalConstraints () const |
| typedef glop::RowIndex ConstraintIndex |
Definition at line 141 of file linear_programming_constraint.h.
| LinearProgrammingConstraint | ( | Model * | model, |
| absl::Span< const IntegerVariable > | vars | ||
| ) |
Definition at line 176 of file linear_programming_constraint.cc.
| void AddCutGenerator | ( | CutGenerator | generator | ) |
Definition at line 596 of file linear_programming_constraint.cc.
| void AddLinearConstraint | ( | const LinearConstraint & | ct | ) |
Definition at line 237 of file linear_programming_constraint.cc.
|
inline |
Definition at line 229 of file linear_programming_constraint.h.
|
inline |
Definition at line 188 of file linear_programming_constraint.h.
| double GetSolutionReducedCost | ( | IntegerVariable | variable | ) | const |
Definition at line 644 of file linear_programming_constraint.cc.
| double GetSolutionValue | ( | IntegerVariable | variable | ) | const |
Definition at line 639 of file linear_programming_constraint.cc.
|
inline |
Definition at line 168 of file linear_programming_constraint.h.
| std::function< IntegerLiteral()> HeuristicLpMostInfeasibleBinary | ( | Model * | model | ) |
Definition at line 2553 of file linear_programming_constraint.cc.
| std::function< IntegerLiteral()> HeuristicLpReducedCostAverageBranching | ( | ) |
Definition at line 2475 of file linear_programming_constraint.cc.
| std::function< IntegerLiteral()> HeuristicLpReducedCostBinary | ( | Model * | model | ) |
Definition at line 2599 of file linear_programming_constraint.cc.
|
overridevirtual |
Reimplemented from PropagatorInterface.
Definition at line 600 of file linear_programming_constraint.cc.
|
inline |
Definition at line 185 of file linear_programming_constraint.h.
|
inline |
Definition at line 241 of file linear_programming_constraint.h.
|
inline |
Definition at line 182 of file linear_programming_constraint.h.
|
inline |
Definition at line 158 of file linear_programming_constraint.h.
|
inline |
Definition at line 246 of file linear_programming_constraint.h.
|
overridevirtual |
Implements PropagatorInterface.
Definition at line 1584 of file linear_programming_constraint.cc.
| void RegisterWith | ( | Model * | model | ) |
Definition at line 537 of file linear_programming_constraint.cc.
|
overridevirtual |
Implements ReversibleInterface.
Definition at line 573 of file linear_programming_constraint.cc.
|
inline |
Definition at line 157 of file linear_programming_constraint.h.
| void SetObjectiveCoefficient | ( | IntegerVariable | ivar, |
| IntegerValue | coeff | ||
| ) |
Definition at line 249 of file linear_programming_constraint.cc.
|
inline |
Definition at line 172 of file linear_programming_constraint.h.
|
inline |
Definition at line 169 of file linear_programming_constraint.h.
| std::string Statistics | ( | ) | const |
Definition at line 2534 of file linear_programming_constraint.cc.
|
inline |
Definition at line 233 of file linear_programming_constraint.h.