C++ Reference: class MPConstraint
Note: This documentation is automatically generated.
Method | |
---|---|
basis_status | Return type: |
Clear | Return type: Clears all variables and coefficients. Does not clear the bounds. |
dual_value | Return type: |
GetCoefficient | Return type: Arguments: |
index | Return type: Returns the index of the constraint in the MPSolver::constraints_. |
indicator_value | Return type: |
indicator_variable | Return type: |
is_lazy | Return type: Advanced usage: returns true if the constraint is "lazy" (see below). |
lb | Return type: Returns the lower bound. |
name | Return type: Returns the name of the constraint. |
set_is_lazy | Return type: Arguments: |
SetBounds | Return type: Arguments: Sets both the lower and upper bounds. |
SetCoefficient | Return type: Arguments: |
SetLB | Return type: Arguments: Sets the lower bound. |
SetUB | Return type: Arguments: Sets the upper bound. |
terms | Return type: |
ub | Return type: Returns the upper bound. |