Initializing help system before first use

XPRSchgrhs

XPRSchgrhs


Purpose
Used to change right–hand side values of the problem.
Synopsis
int XPRS_CC XPRSchgrhs(XPRSprob prob, int nels, const int mindex[], const double rhs[]);
Arguments
prob 
The current problem.
nels 
Number of right hand side values to change.
mindex 
Integer array of length nels containing the indices of the rows on which the right hand side values will change.
rhs 
Double array of length nels giving the right hand side values.
Example
Here we change the three right hand sides in rows 2, 6, and 8 to new values:
mindex[0] = 2; mindex[1] = 8; mindex[2] = 6;
rhs[0] = 5.0; rhs[1] = 3.8; rhs[2] = 5.7;
XPRSchgrhs(prob,3,mindex,rhs);
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.