problem.getlb
problem.getlb |
Purpose
Returns the lower bounds on the columns in a given range.
Synopsis
problem.getlb(lb, first, last)
Arguments
lb
|
Array where the lower bounds are to be placed.
|
first
|
(optional, default 0) First column in the range.
|
last
|
(optional, default COLS - 1) Last column in the range.
|
Example
The following example retrieves the lower bounds for the columns of the current problem:
newlb = [] p.getlb(newlb, 0, 4) print("lb: ", newlb)
Further information
Values greater than or equal to
xpress.infinity should be interpreted as infinite; values less than or equal to
- xpress.infinity should be interpreted as negative infinite.
Related topics