Definition at line 50 of file linear_constraint_manager.h.
|
| | LinearConstraintManager (Model *model) |
| |
| | ~LinearConstraintManager () |
| |
| | DEFINE_STRONG_INDEX_TYPE (ConstraintIndex) |
| |
| ConstraintIndex | Add (LinearConstraint ct, bool *added=nullptr) |
| |
| bool | AddCut (const 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, int *num_new_constraints=nullptr) |
| |
| void | AddAllConstraintsToLp () |
| |
| const absl::StrongVector< ConstraintIndex, ConstraintInfo > & | AllConstraints () const |
| |
| const std::vector< ConstraintIndex > & | LpConstraints () const |
| |
| int64_t | num_cuts () const |
| |
| int64_t | num_shortened_constraints () const |
| |
| int64_t | num_coeff_strenghtening () const |
| |
| bool | DebugCheckConstraint (const LinearConstraint &cut) |
| |
| std::string | Statistics () const |
| |
◆ LinearConstraintManager()
◆ ~LinearConstraintManager()
◆ Add()
| LinearConstraintManager::ConstraintIndex Add |
( |
LinearConstraint |
ct, |
|
|
bool * |
added = nullptr |
|
) |
| |
◆ AddAllConstraintsToLp()
| void AddAllConstraintsToLp |
( |
| ) |
|
◆ AddCut()
◆ AllConstraints()
◆ ChangeLp()
◆ DebugCheckConstraint()
◆ DEFINE_STRONG_INDEX_TYPE()
| DEFINE_STRONG_INDEX_TYPE |
( |
ConstraintIndex |
| ) |
|
◆ LpConstraints()
| const std::vector<ConstraintIndex>& LpConstraints |
( |
| ) |
const |
|
inline |
◆ num_coeff_strenghtening()
| int64_t num_coeff_strenghtening |
( |
| ) |
const |
|
inline |
◆ num_cuts()
| int64_t num_cuts |
( |
| ) |
const |
|
inline |
◆ num_shortened_constraints()
| int64_t num_shortened_constraints |
( |
| ) |
const |
|
inline |
◆ SetObjectiveCoefficient()
| void SetObjectiveCoefficient |
( |
IntegerVariable |
var, |
|
|
IntegerValue |
coeff |
|
) |
| |
◆ Statistics()
| std::string Statistics |
( |
| ) |
const |
The documentation for this class was generated from the following files: