C++ Reference: class MPVariable
Note: This documentation is automatically generated.
The class for variables of a Mathematical Programming (MP) model.Method | |
---|---|
basis_status | Return type: |
branching_priority | Return type: |
index | Return type: Returns the index of the variable in the MPSolver::variables_. |
integer | Return type: Returns the integrality requirement of the variable. |
lb | Return type: Returns the lower bound. |
name | Return type: Returns the name of the variable. |
reduced_cost | Return type: |
SetBounds | Return type: Arguments: Sets both the lower and upper bounds. |
SetBranchingPriority | Return type: Arguments: |
SetInteger | Return type: Arguments: Sets the integrality requirement of the variable. |
SetLB | Return type: Arguments: Sets the lower bound. |
SetUB | Return type: Arguments: Sets the upper bound. |
solution_value | Return type: |
ub | Return type: Returns the upper bound. |
unrounded_solution_value | Return type: |