![]() |
OR-Tools
8.0
|
Definition at line 79 of file linear_programming_constraint.h.
Public Types | |
| typedef glop::RowIndex | ConstraintIndex |
Public Member Functions | |
| LinearProgrammingConstraint (Model *model) | |
| ~LinearProgrammingConstraint () override | |
| void | AddLinearConstraint (const LinearConstraint &ct) |
| void | SetObjectiveCoefficient (IntegerVariable ivar, IntegerValue coeff) |
| void | SetMainObjectiveVariable (IntegerVariable ivar) |
| 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< LiteralIndex()> | HeuristicLPMostInfeasibleBinary (Model *model) |
| std::function< LiteralIndex()> | HeuristicLPPseudoCostBinary (Model *model) |
| std::function< LiteralIndex()> | LPReducedCostAverageBranching () |
| double | average_degeneracy () const |
| typedef glop::RowIndex ConstraintIndex |
Definition at line 82 of file linear_programming_constraint.h.
|
explicit |
Definition at line 54 of file linear_programming_constraint.cc.
|
override |
Definition at line 82 of file linear_programming_constraint.cc.
| void AddCutGenerator | ( | CutGenerator | generator | ) |
Definition at line 443 of file linear_programming_constraint.cc.
| void AddLinearConstraint | ( | const LinearConstraint & | ct | ) |
Definition at line 87 of file linear_programming_constraint.cc.
|
inline |
Definition at line 162 of file linear_programming_constraint.h.
|
inline |
Definition at line 124 of file linear_programming_constraint.h.
| double GetSolutionReducedCost | ( | IntegerVariable | variable | ) | const |
Definition at line 492 of file linear_programming_constraint.cc.
| double GetSolutionValue | ( | IntegerVariable | variable | ) | const |
Definition at line 487 of file linear_programming_constraint.cc.
|
inline |
Definition at line 106 of file linear_programming_constraint.h.
| std::function< LiteralIndex()> HeuristicLPMostInfeasibleBinary | ( | Model * | model | ) |
Definition at line 2357 of file linear_programming_constraint.cc.
| std::function< LiteralIndex()> HeuristicLPPseudoCostBinary | ( | Model * | model | ) |
Definition at line 2408 of file linear_programming_constraint.cc.
|
overridevirtual |
Reimplemented from PropagatorInterface.
Definition at line 450 of file linear_programming_constraint.cc.
|
inline |
Definition at line 121 of file linear_programming_constraint.h.
| std::function< LiteralIndex()> LPReducedCostAverageBranching | ( | ) |
Definition at line 2566 of file linear_programming_constraint.cc.
|
inline |
Definition at line 120 of file linear_programming_constraint.h.
|
overridevirtual |
Implements PropagatorInterface.
Definition at line 1171 of file linear_programming_constraint.cc.
| void RegisterWith | ( | Model * | model | ) |
Definition at line 378 of file linear_programming_constraint.cc.
|
overridevirtual |
Implements ReversibleInterface.
Definition at line 420 of file linear_programming_constraint.cc.
|
inline |
Definition at line 96 of file linear_programming_constraint.h.
| void SetObjectiveCoefficient | ( | IntegerVariable | ivar, |
| IntegerValue | coeff | ||
| ) |
Definition at line 125 of file linear_programming_constraint.cc.
|
inline |
Definition at line 110 of file linear_programming_constraint.h.
|
inline |
Definition at line 107 of file linear_programming_constraint.h.