XPRSdelsets
XPRSdelsets |
Purpose
Synopsis
int XPRS_CC XPRSdelsets(XPRSprob prob, int nsets, const int mindex[]);
Arguments
prob
|
The current problem.
|
nsets
|
Number of sets to delete.
|
mindex
|
An integer array of length
nsets 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