Initializing help system before first use

XPRSchgrowtype

XPRSchgrowtype


Purpose
Used to change the type of a row in the matrix.
Synopsis
int XPRS_CC XPRSchgrowtype(XPRSprob prob, int nels, const int mindex[], const char qrtype[]);
Arguments
prob 
The current problem.
nels 
Number of rows to change.
mindex 
Integer array of length nels containing the indices of the rows.
qrtype 
Character array of length nels giving the new row types:
indicates a ≤ row;
indicates an = row;
indicates a ≥ row;
indicates a range row;
indicates a free row.
Example
Here row 4 is changed to an equality row:
mindex[0] = 4; qrtype[0] = 'E';
XPRSchgrowtype(prob,1,mindex,qrtype);
Further information
A row can be changed to a range type row by first changing the row to an R or L type row and then changing the range on the row using XPRSchgrhsrange.
Related topics