clearinitvals


Purpose
Clear initial value settings for all SLP variables
Synopsis
procedure clearinitvals
Example
The following code fragment assigns the initial values 1, 1.1, 1.2 etc to the variables V(i), solves the problem, clears the initial values and solves again:
declarations
  V: array(1..10) of mpvar
end-declarations

forall (i in 1..10) setinitval(V(i),1+(i-1)/10)
...
SLPmaximize
...
clearinitvals
SLPmaximize
Further information
This function clears any initial values already set, so that a future optimization uses default values or any that are set subsequently.
Related topics
setinitval, copysoltoinit, SLPDATA("IV")


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.