copysoltoinit
| copysoltoinit | 
  Purpose
 
  Synopsis
 
procedure copysoltoinit
 
  Example
 
 The following copies the solution values of all variables in an optimization run to their initial values and then sets a different initial value for variable
 x(1).
 
uses "mmnl" declarations x: array(1..10) of mpvar y,z: mpvar end-declarations ... maximize(x(1)*x(3) + ln(y+z)) copysoltoinit setinitval(x(1), 0)
  Further information
 
 This procedure copies the solution values of decision variables in the immediately preceding optimization run to their initial values for the next run. Doing so it overrides any previously set initial values for the involved variables. However, the settings for decision variables that did not occur in the previously solved problem remain unchanged.
 
  Related topics
 
  Module
 
 
