XSLPcascadeorder
XSLPcascadeorder |
Purpose
Establish a re-calculation sequence for SLP variables with determining rows.
Synopsis
int XPRS_CC XSLPcascadeorder(XSLPprob Prob);
Argument
|
Prob
|
The current SLP problem.
|
Example
Assuming that all variables are SLP variables, the following example sets default values for the variables, creates the re-calculation order and then calls
XSLPcascade to calculate consistent values for the dependent variables.
int ColNum;
for (ColNum=1;ColNum<=nCol;ColNum++)
XSLPchgvar(Prob, ColNum, NULL, NULL, NULL, NULL,
NULL, NULL, &DefaultValue[ColNum], NULL, NULL, NULL,
NULL);
XSLPcascadeorder(Prob);
XSLPcascade(Prob);
Further information
XSLPcascadeorder is called automatically at the start of the SLP iteration process and so it is not normally necessary to perform an explicit cascade ordering.
Related topics
