XPRSchgrowtype
XPRSchgrowtype |
Purpose
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:
|
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
XPRSaddrows,
XPRSchgcoltype,
XPRSchgrhs,
XPRSchgrhsrange,
XPRSdelrows,
XPRSgetrowrange,
XPRSgetrowtype.