Initializing help system before first use

XPRSaddsets, XPRSaddsets64

XPRSaddsets, XPRSaddsets64


Purpose
Allows sets to be added to the problem after passing it to the Optimizer using the input routines.
Synopsis
int XPRS_CC XPRSaddsets(XPRSprob prob, int newsets, int newnz, const char qrtype[], const int msstart[], const int mclind[], const double dref[]);

int XPRS_CC XPRSaddsets64(XPRSprob prob, int newsets, XPRSint64 newnz, const char qrtype[], const XPRSint64 msstart[], const int mclind[], const double dref[]);
Arguments
prob 
The current problem.
newsets 
Number of new sets.
newnz 
Number of new nonzeros in the added sets.
qrtype 
Character array of length newsets containing the set types:
indicates a SOS1;
indicates a SOS2;
msstart 
Integer array of length newsets containing the offsets in the mclind and dref arrays of the start of the elements for each set.
mclind 
Integer array of length newnz containing the (contiguous) column indices for the elements in each set.
dref 
Double array of length newnz containing the (contiguous) reference values.
Related topics