XPRSgetlb
XPRSgetlb |
Purpose
Synopsis
int XPRS_CC XPRSgetlb(XPRSprob prob, double lb[], int first, int last);
Arguments
prob
|
The current problem.
|
lb
|
Double array of length
last-first+1 where the lower bounds are to be placed.
|
first
|
First column in the range.
|
last
|
Last column in the range.
|
Example
The following example retrieves the lower bounds for the columns of the current problem:
int cols; double *lb; ... XPRSgetintattrib(prob,XPRS_COLS,&cols); lb = (double *) malloc(sizeof(double)*cols); XPRSgetlb(prob,lb,0,cols-1);
Further information
Values greater than or equal to
XPRS_PLUSINFINITY should be interpreted as infinite; values less than or equal to
XPRS_MINUSINFINITY should be interpreted as infinite and negative.
Related topics