![]() |
OR-Tools
8.2
|
Definition at line 141 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 143 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 201 of file pb_constraint.cc.
|
inline |
Definition at line 157 of file pb_constraint.h.
|
inline |
Definition at line 155 of file pb_constraint.h.
|
inline |
Definition at line 156 of file pb_constraint.h.