Initializing help system before first use

copysoltoinit

copysoltoinit


Purpose
Copy solution values to initial values of an NL problem.
Synopsis
procedure copysoltoinit(ms:mpsol)
Argument
ms 
A solution object
Further information
1. This procedure copies the solution values of decision variables from the provided solution ms 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 are not included in the solution ms remain unchanged.
2. This operation can only be performed on a non-linear problem described using the module mmnl.
Related topics
Module