![]() |
OR-Tools
8.2
|
Definition at line 40 of file linear_constraint.h.
Public Member Functions | |
| LinearConstraint () | |
| LinearConstraint (IntegerValue _lb, IntegerValue _ub) | |
| void | AddTerm (IntegerVariable var, IntegerValue coeff) |
| void | ClearTerms () |
| std::string | DebugString () const |
| bool | operator== (const LinearConstraint other) const |
Public Attributes | |
| IntegerValue | lb |
| IntegerValue | ub |
| std::vector< IntegerVariable > | vars |
| std::vector< IntegerValue > | coeffs |
|
inline |
Definition at line 46 of file linear_constraint.h.
|
inline |
Definition at line 47 of file linear_constraint.h.
|
inline |
Definition at line 49 of file linear_constraint.h.
|
inline |
Definition at line 54 of file linear_constraint.h.
|
inline |
Definition at line 59 of file linear_constraint.h.
|
inline |
Definition at line 76 of file linear_constraint.h.
| std::vector<IntegerValue> coeffs |
Definition at line 44 of file linear_constraint.h.
| IntegerValue lb |
Definition at line 41 of file linear_constraint.h.
| IntegerValue ub |
Definition at line 42 of file linear_constraint.h.
| std::vector<IntegerVariable> vars |
Definition at line 43 of file linear_constraint.h.