Initializing help system before first use

XPRSgetrowrange

XPRSgetrowrange


Purpose
Returns the row ranges computed by XPRSrange.
Synopsis
int XPRS_CC XPRSgetrowrange(XPRSprob prob, double upact[], double loact[], double uup[], double udn[]);
Arguments
prob 
The current problem.
upact 
Double array of length ROWS for the upper row activities.
loact 
Double array of length ROWS for the lower row activities.
uup 
Double array of length ROWS for the upper row unit costs.
udn 
Double array of length ROWS for the lower row unit costs.
Example
The following computes row ranges and returns them:
int rows;
double *upact, *loact, *uup, *udn;
...
XPRSrange(prob);
XPRSgetintattrib(prob,XPRS_ROWS,&rows);
upact = malloc(rows*sizeof(double));
loact = malloc(rows*sizeof(double));
uup   = malloc(rows*sizeof(double));
udn   = malloc(rows*sizeof(double));
...
XPRSgetrowrange(prob,upact,loact,uup,udn);
Further information
The activities and unit costs are obtained from the range file ( problem_name .rng). The meaning of the upper and lower column activities and upper and lower unit costs in the ASCII range files is described in Appendix Log and File Formats.
Related topics

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.