Definition at line 157 of file sat/linear_constraint.h.
|
| | LinearConstraintBuilder (const Model *model) |
| |
| | LinearConstraintBuilder (const Model *model, IntegerValue lb, IntegerValue ub) |
| |
| | LinearConstraintBuilder () |
| |
| void | AddConstant (IntegerValue value) |
| |
| void | AddTerm (IntegerVariable var, IntegerValue coeff) |
| |
| void | AddTerm (AffineExpression expr, IntegerValue coeff) |
| |
| void | AddLinearExpression (const LinearExpression &expr) |
| |
| void | AddLinearExpression (const LinearExpression &expr, IntegerValue coeff) |
| |
| ABSL_MUST_USE_RESULT bool | AddDecomposedProduct (const std::vector< LiteralValueValue > &product) |
| |
| ABSL_MUST_USE_RESULT bool | AddLiteralTerm (Literal lit, IntegerValue coeff=IntegerValue(1)) |
| |
| void | AddQuadraticLowerBound (AffineExpression left, AffineExpression right, IntegerTrail *integer_trail, bool *is_quadratic=nullptr) |
| |
| void | Clear () |
| |
| void | ResetBounds (IntegerValue lb, IntegerValue ub) |
| |
| LinearConstraint | Build () |
| |
| LinearConstraint | BuildConstraint (IntegerValue lb, IntegerValue ub) |
| |
| LinearExpression | BuildExpression () |
| |
◆ LinearConstraintBuilder() [1/3]
◆ LinearConstraintBuilder() [2/3]
◆ LinearConstraintBuilder() [3/3]
◆ AddConstant()
| void AddConstant |
( |
IntegerValue |
value | ) |
|
◆ AddDecomposedProduct()
| ABSL_MUST_USE_RESULT bool AddDecomposedProduct |
( |
const std::vector< LiteralValueValue > & |
product | ) |
|
◆ AddLinearExpression() [1/2]
◆ AddLinearExpression() [2/2]
◆ AddLiteralTerm()
| ABSL_MUST_USE_RESULT bool AddLiteralTerm |
( |
Literal |
lit, |
|
|
IntegerValue |
coeff = IntegerValue(1) |
|
) |
| |
◆ AddQuadraticLowerBound()
◆ AddTerm() [1/2]
◆ AddTerm() [2/2]
| void AddTerm |
( |
IntegerVariable |
var, |
|
|
IntegerValue |
coeff |
|
) |
| |
◆ Build()
◆ BuildConstraint()
◆ BuildExpression()
◆ Clear()
◆ ResetBounds()
| void ResetBounds |
( |
IntegerValue |
lb, |
|
|
IntegerValue |
ub |
|
) |
| |
|
inline |
The documentation for this class was generated from the following files: