![]() |
OR-Tools
8.2
|
Definition at line 65 of file linear_programming_constraint.h.
Public Member Functions | |
| void | ClearAndResize (int size) |
| bool | Add (glop::ColIndex col, IntegerValue value) |
| bool | AddLinearExpressionMultiple (IntegerValue multiplier, const std::vector< std::pair< glop::ColIndex, IntegerValue > > &terms) |
| void | ConvertToLinearConstraint (const std::vector< IntegerVariable > &integer_variables, IntegerValue upper_bound, LinearConstraint *result) |
| std::vector< std::pair< glop::ColIndex, IntegerValue > > | GetTerms () |
| IntegerValue | operator[] (glop::ColIndex col) const |
| bool Add | ( | glop::ColIndex | col, |
| IntegerValue | value | ||
| ) |
Definition at line 67 of file linear_programming_constraint.cc.
| bool AddLinearExpressionMultiple | ( | IntegerValue | multiplier, |
| const std::vector< std::pair< glop::ColIndex, IntegerValue > > & | terms | ||
| ) |
Definition at line 78 of file linear_programming_constraint.cc.
| void ClearAndResize | ( | int | size | ) |
Definition at line 50 of file linear_programming_constraint.cc.
| void ConvertToLinearConstraint | ( | const std::vector< IntegerVariable > & | integer_variables, |
| IntegerValue | upper_bound, | ||
| LinearConstraint * | result | ||
| ) |
Definition at line 106 of file linear_programming_constraint.cc.
| std::vector< std::pair< glop::ColIndex, IntegerValue > > GetTerms | ( | ) |
Definition at line 133 of file linear_programming_constraint.cc.
|
inline |
Definition at line 94 of file linear_programming_constraint.h.