XPRSgetrowrange
 XPRSgetrowrange | 
   
  Purpose
 
  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
 
