XPRSgetcolrange
XPRSgetcolrange |
Purpose
Synopsis
int XPRS_CC XPRSgetcolrange(XPRSprob prob, double upact[], double loact[], double uup[], double udn[], double ucost[], double lcost[]);
Arguments
|
prob
|
The current problem.
|
|
upact
|
Double array of length
COLS for upper column activities.
|
|
loact
|
Double array of length
COLS for lower column activities.
|
|
uup
|
Double array of length
COLS for upper column unit costs.
|
|
udn
|
Double array of length
COLS for lower column unit costs.
|
|
ucost
|
Double array of length
COLS for upper costs.
|
|
lcost
|
Double array of length
COLS for lower costs.
|
Example
Here the column ranges are retrieved into arrays as in the synopsis:
int cols; double *upact, *loact, *uup, *udn, *ucost, *lcost; ... XPRSgetintattrib(prob,XPRS_COLS,&cols); upact = malloc(cols*(sizeof(double))); loact = malloc(cols*(sizeof(double))); uup = malloc(cols*(sizeof(double))); udn = malloc(cols*(sizeof(double))); ucost = malloc(cols*(sizeof(double))); lcost = malloc(cols*(sizeof(double))); XPRSrange(prob); XPRSgetcolrange(prob,upact,loact,uup,udn,ucost,lcost);
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.
