![]() |
OR-Tools
9.6
|
Definition at line 151 of file pb_constraint.h.
Public Member Functions | |
| CanonicalBooleanLinearProblem () | |
| bool | AddLinearConstraint (bool use_lower_bound, Coefficient lower_bound, bool use_upper_bound, Coefficient upper_bound, std::vector< LiteralWithCoeff > *cst) |
| int | NumConstraints () const |
| const Coefficient | Rhs (int i) const |
| const std::vector< LiteralWithCoeff > & | Constraint (int i) const |
|
inline |
Definition at line 153 of file pb_constraint.h.
| bool AddLinearConstraint | ( | bool | use_lower_bound, |
| Coefficient | lower_bound, | ||
| bool | use_upper_bound, | ||
| Coefficient | upper_bound, | ||
| std::vector< LiteralWithCoeff > * | cst | ||
| ) |
Definition at line 213 of file pb_constraint.cc.
|
inline |
Definition at line 167 of file pb_constraint.h.
|
inline |
Definition at line 165 of file pb_constraint.h.
|
inline |
Definition at line 166 of file pb_constraint.h.