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

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.