XSLPchgvar
Define a column as an SLP variable or change the characteristics and values of an existing SLP variable.
int XPRS_CC XSLPchgvar(XSLPprob prob, int col, int *detrow, double *initstepbound, double *stepbound, double *penalty, double *damp, double *initial, double *value, int *tolset, int *history, int *converged, int *vartype);
 | 
     prob 
     | 
     The current SLP problem.
     | ||||||
| 
     col 
     | 
     The index of the matrix column.
     | ||||||
| 
     detrow 
     | 
     Address of an integer holding the index of the determining row. Use -1 if there is no determining row. May be
     NULL if not required.
     | ||||||
| 
     initstepbound 
     | 
     Address of a double precision variable holding the initial step bound size. May be
     NULL if not required.
     | ||||||
| 
     stepbound 
     | 
     Address of a double precision variable holding the current step bound size. Use zero to disable the step bounds. May be
     NULL if not required.
     | ||||||
| 
     penalty 
     | 
     Address of a double precision variable holding the weighting of the penalty cost for exceeding the step bounds. May be
     NULL if not required.
     | ||||||
| 
     damp 
     | 
     Address of a double precision variable holding the damping factor for the variable. May be
     NULL if not required.
     | ||||||
| 
     initial 
     | 
     Address of a double precision variable holding the initial value for the variable. May be
     NULL if not required.
     | ||||||
| 
     value 
     | 
     Address of a double precision variable holding the current value for the variable. May be
     NULL if not required.
     | ||||||
| 
     tolset 
     | 
     Address of an integer holding the index of the tolerance set for this variable. Use zero if there is no specific tolerance set. May be
     NULL if not required.
     | ||||||
| 
     history 
     | 
     Address of an integer holding the history value for this variable. May be
     NULL if not required.
     | ||||||
| 
     converged 
     | 
     Address of an integer holding the convergence status for this variable. May be
     NULL if not required.
     | ||||||
| 
     vartype 
     | 
     Address of an integer holding a bitmap defining the existence of certain properties for this variable:
     
 
     May be
     NULL if not required.
     | 
double InitialValue; int vartype, tolset; InitialValue = 1.42; tolset = 2; vartype = 1<<1 | 1<<2; XSLPchgvar(prob, 25, NULL, NULL, NULL, NULL, NULL, &InitialValue, NULL, &tolset, NULL, NULL, &vartype);
© 2001-2025 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.
 
