problem.getrhs
problem.getrhs |
Purpose
Returns the right hand side elements for the rows in a given range.
Synopsis
problem.getrhs(rhs, first, last)
Arguments
rhs
|
Array where the
(last - first + 1) right hand side elements are to be placed.
|
first
|
First row in the range.
|
last
|
Last row in the range.
|
Example
The following example retrieves the right hand side values of the problem:
b = [] p.getrhs(b, 0, p.attributes.rows - 1)
Related topics