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:
L
|
indicates a  row;
|
E
|
indicates an = row;
|
G
|
indicates a  row;
|
R
|
indicates a range row;
|
N
|
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
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.