#include <linear_constraint_manager.h>
|
| | LinearConstraintManager (Model *model) |
| | ~LinearConstraintManager () |
| | DEFINE_STRONG_INDEX_TYPE (ConstraintIndex) |
| ConstraintIndex | Add (LinearConstraint ct, bool *added=nullptr, bool *folded=nullptr) |
| bool | AddCut (LinearConstraint ct, std::string type_name, std::string extra_info="") |
| bool | UpdateConstraintLb (glop::RowIndex index_in_lp, IntegerValue new_lb) |
| bool | UpdateConstraintUb (glop::RowIndex index_in_lp, IntegerValue new_ub) |
| void | SetObjectiveCoefficient (IntegerVariable var, IntegerValue coeff) |
| bool | ChangeLp (glop::BasisState *solution_state, int *num_new_constraints=nullptr) |
| void | AddAllConstraintsToLp () |
| const util_intops::StrongVector< ConstraintIndex, ConstraintInfo > & | AllConstraints () const |
| const std::vector< ConstraintIndex > & | LpConstraints () const |
| const util_intops::StrongVector< IntegerVariable, double > & | LpValues () |
| const util_intops::StrongVector< IntegerVariable, double > & | ReducedCosts () |
| int64_t | num_constraints () const |
| int64_t | num_constraint_updates () const |
| int64_t | num_simplifications () const |
| int64_t | num_merged_constraints () const |
| int64_t | num_shortened_constraints () const |
| int64_t | num_split_constraints () const |
| int64_t | num_coeff_strenghtening () const |
| int64_t | num_cuts () const |
| int64_t | num_add_cut_calls () const |
| const absl::btree_map< std::string, int > & | type_to_num_cuts () const |
| bool | DebugCheckConstraint (const LinearConstraint &cut) |
| void | CacheReducedCostsInfo () |
| absl::int128 | ReducedCostsGap () const |
| absl::int128 | GetLiteralReducedCost (Literal l) const |
| void | SetReducedCostsAsLinearConstraint (const LinearConstraint &ct) |
◆ LinearConstraintManager()
| operations_research::sat::LinearConstraintManager::LinearConstraintManager |
( |
Model * | model | ) |
|
|
inlineexplicit |
◆ ~LinearConstraintManager()
| operations_research::sat::LinearConstraintManager::~LinearConstraintManager |
( |
| ) |
|
◆ Add()
| LinearConstraintManager::ConstraintIndex operations_research::sat::LinearConstraintManager::Add |
( |
LinearConstraint | ct, |
|
|
bool * | added = nullptr, |
|
|
bool * | folded = nullptr ) |
◆ AddAllConstraintsToLp()
| void operations_research::sat::LinearConstraintManager::AddAllConstraintsToLp |
( |
| ) |
|
◆ AddCut()
| bool operations_research::sat::LinearConstraintManager::AddCut |
( |
LinearConstraint | ct, |
|
|
std::string | type_name, |
|
|
std::string | extra_info = "" ) |
◆ AllConstraints()
◆ CacheReducedCostsInfo()
| void operations_research::sat::LinearConstraintManager::CacheReducedCostsInfo |
( |
| ) |
|
◆ ChangeLp()
| bool operations_research::sat::LinearConstraintManager::ChangeLp |
( |
glop::BasisState * | solution_state, |
|
|
int * | num_new_constraints = nullptr ) |
◆ DebugCheckConstraint()
| bool operations_research::sat::LinearConstraintManager::DebugCheckConstraint |
( |
const LinearConstraint & | cut | ) |
|
◆ DEFINE_STRONG_INDEX_TYPE()
| operations_research::sat::LinearConstraintManager::DEFINE_STRONG_INDEX_TYPE |
( |
ConstraintIndex | | ) |
|
◆ GetLiteralReducedCost()
| absl::int128 operations_research::sat::LinearConstraintManager::GetLiteralReducedCost |
( |
Literal | l | ) |
const |
|
inline |
◆ LpConstraints()
| const std::vector< ConstraintIndex > & operations_research::sat::LinearConstraintManager::LpConstraints |
( |
| ) |
const |
|
inline |
◆ LpValues()
◆ num_add_cut_calls()
| int64_t operations_research::sat::LinearConstraintManager::num_add_cut_calls |
( |
| ) |
const |
|
inline |
◆ num_coeff_strenghtening()
| int64_t operations_research::sat::LinearConstraintManager::num_coeff_strenghtening |
( |
| ) |
const |
|
inline |
◆ num_constraint_updates()
| int64_t operations_research::sat::LinearConstraintManager::num_constraint_updates |
( |
| ) |
const |
|
inline |
◆ num_constraints()
| int64_t operations_research::sat::LinearConstraintManager::num_constraints |
( |
| ) |
const |
|
inline |
◆ num_cuts()
| int64_t operations_research::sat::LinearConstraintManager::num_cuts |
( |
| ) |
const |
|
inline |
◆ num_merged_constraints()
| int64_t operations_research::sat::LinearConstraintManager::num_merged_constraints |
( |
| ) |
const |
|
inline |
◆ num_shortened_constraints()
| int64_t operations_research::sat::LinearConstraintManager::num_shortened_constraints |
( |
| ) |
const |
|
inline |
◆ num_simplifications()
| int64_t operations_research::sat::LinearConstraintManager::num_simplifications |
( |
| ) |
const |
|
inline |
◆ num_split_constraints()
| int64_t operations_research::sat::LinearConstraintManager::num_split_constraints |
( |
| ) |
const |
|
inline |
◆ ReducedCosts()
| const util_intops::StrongVector< IntegerVariable, double > & operations_research::sat::LinearConstraintManager::ReducedCosts |
( |
| ) |
|
|
inline |
◆ ReducedCostsGap()
| absl::int128 operations_research::sat::LinearConstraintManager::ReducedCostsGap |
( |
| ) |
const |
|
inline |
◆ SetObjectiveCoefficient()
| void operations_research::sat::LinearConstraintManager::SetObjectiveCoefficient |
( |
IntegerVariable | var, |
|
|
IntegerValue | coeff ) |
◆ SetReducedCostsAsLinearConstraint()
| void operations_research::sat::LinearConstraintManager::SetReducedCostsAsLinearConstraint |
( |
const LinearConstraint & | ct | ) |
|
|
inline |
◆ type_to_num_cuts()
| const absl::btree_map< std::string, int > & operations_research::sat::LinearConstraintManager::type_to_num_cuts |
( |
| ) |
const |
|
inline |
◆ UpdateConstraintLb()
| bool operations_research::sat::LinearConstraintManager::UpdateConstraintLb |
( |
glop::RowIndex | index_in_lp, |
|
|
IntegerValue | new_lb ) |
◆ UpdateConstraintUb()
| bool operations_research::sat::LinearConstraintManager::UpdateConstraintUb |
( |
glop::RowIndex | index_in_lp, |
|
|
IntegerValue | new_ub ) |
The documentation for this class was generated from the following files: