clearinitvals
clearinitvals |
Purpose
Synopsis
procedure clearinitvals
Example
The following copies the solution values from an optimization run to the initial values of the variables involved. Later all initial value definitions are deleted and a new initial value is set for variable
x.
uses "mmnl" declarations x,y: mpvar end-declarations ... minimize(sin(x+y)) copysoltoinit ... clearinitvals setinitval(x, -1)
Further information
This procedure deletes all previously defined initial values for decision variables.
Related topics
Module