![]() |
OR-Tools
9.6
|
Definition at line 41 of file sat/linear_constraint.h.
Public Member Functions | |
| LinearConstraint () | |
| LinearConstraint (IntegerValue _lb, IntegerValue _ub) | |
| void | AddTerm (IntegerVariable var, IntegerValue coeff) |
| void | Clear () |
| 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 47 of file sat/linear_constraint.h.
|
inline |
Definition at line 48 of file sat/linear_constraint.h.
|
inline |
Definition at line 50 of file sat/linear_constraint.h.
|
inline |
Definition at line 55 of file sat/linear_constraint.h.
|
inline |
Definition at line 60 of file sat/linear_constraint.h.
|
inline |
Definition at line 65 of file sat/linear_constraint.h.
|
inline |
Definition at line 80 of file sat/linear_constraint.h.
| std::vector<IntegerValue> coeffs |
Definition at line 45 of file sat/linear_constraint.h.
| IntegerValue lb |
Definition at line 42 of file sat/linear_constraint.h.
| IntegerValue ub |
Definition at line 43 of file sat/linear_constraint.h.
| std::vector<IntegerVariable> vars |
Definition at line 44 of file sat/linear_constraint.h.