Definition at line 41 of file linear_constraint_manager.h.
|
| | LinearConstraintManager (Model *model) |
| |
| | ~LinearConstraintManager () |
| |
| | DEFINE_INT_TYPE (ConstraintIndex, int32) |
| |
| ConstraintIndex | Add (LinearConstraint ct, bool *added=nullptr) |
| |
| bool | AddCut (LinearConstraint ct, std::string type_name, const absl::StrongVector< IntegerVariable, double > &lp_solution, std::string extra_info="") |
| |
| void | SetObjectiveCoefficient (IntegerVariable var, IntegerValue coeff) |
| |
| bool | ChangeLp (const absl::StrongVector< IntegerVariable, double > &lp_solution, glop::BasisState *solution_state) |
| |
| void | AddAllConstraintsToLp () |
| |
| const absl::StrongVector< ConstraintIndex, ConstraintInfo > & | AllConstraints () const |
| |
| const std::vector< ConstraintIndex > & | LpConstraints () const |
| |
| int64 | num_cuts () const |
| |
| int64 | num_shortened_constraints () const |
| |
| int64 | num_coeff_strenghtening () const |
| |
| bool | DebugCheckConstraint (const LinearConstraint &cut) |
| |
◆ LinearConstraintManager()
◆ ~LinearConstraintManager()
◆ Add()
| LinearConstraintManager::ConstraintIndex Add |
( |
LinearConstraint |
ct, |
|
|
bool * |
added = nullptr |
|
) |
| |
◆ AddAllConstraintsToLp()
| void AddAllConstraintsToLp |
( |
| ) |
|
◆ AddCut()
◆ AllConstraints()
◆ ChangeLp()
◆ DebugCheckConstraint()
◆ DEFINE_INT_TYPE()
| DEFINE_INT_TYPE |
( |
ConstraintIndex |
, |
|
|
int32 |
|
|
) |
| |
◆ LpConstraints()
| const std::vector< ConstraintIndex > & LpConstraints |
( |
| ) |
const |
|
inline |
◆ num_coeff_strenghtening()
| int64 num_coeff_strenghtening |
( |
| ) |
const |
|
inline |
◆ num_cuts()
◆ num_shortened_constraints()
| int64 num_shortened_constraints |
( |
| ) |
const |
|
inline |
◆ SetObjectiveCoefficient()
| void SetObjectiveCoefficient |
( |
IntegerVariable |
var, |
|
|
IntegerValue |
coeff |
|
) |
| |
The documentation for this class was generated from the following files: