Initializing help system before first use

problem.cascade

problem.cascade


Purpose
Re-calculate consistent values for SLP variables. based on the current values of the remaining variables
Synopsis
problem.cascade ()
Example

The following example changes the solution value for column 91, and then re-calculates the values of those dependent on it.


colnum = 91
(a,b,c,d,e,f,value,h,i,j,k,l,m,n,o) = p.getvar (colnum)

value += 1.42

p.chgvar (colnum, None, None, None, None,
  None, None, value, None, None, None,
  None)

p.cascade ()

problem.getvar and problem.chgvar are being used to get and change the current value of a single variable.

Provided no other values have been changed since the last execution of cascade, values will be changed only for variables which depend on column 91.


Further information

See the section on cascading for an extended discussion of the types of cascading which can be performed.

cascade is called automatically during the SLP iteration process and so it is not normally necessary to perform an explicit cascade calculation.

The variables are re-calculated in accordance with the order generated by problem.cascadeorder.


Related topics