Purpose
Delete sets from a
problem.
Synopsis
int XPRS_CC XPRSdelsets(XPRSprob prob, int ndelsets, const int mindex[]);
Arguments
prob
|
The current problem.
|
ndelsets
|
Number of sets to delete.
|
mindex
|
An integer array of length ndelsets containing the sets to delete.
|
Example
In this example, sets
0 and 2 are deleted from the problem:
mindex[0] = 0; mindex[1] = 2;
XPRSdelsets(prob,2,mindex);
Further information
After sets have been deleted from a problem, the numbers of the remaining sets
are moved down so that the sets are always numbered from
0 to
SETS-1 where
SETS is the problem attribute containing the number of non-deleted
sets in the problem.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.