XPRSgetrowrange
PurposeSynopsisint 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.ExampleThe 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 informationThe 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
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.