SLPtime


Purpose
Get a time reference value
Synopsis
function SLPtime :real
Return value
An elapsed time reference in seconds (to two or three decimal places, depending on the accuracy of the system clock.
Example
The following code fragment prints the elapsed time for loading an SLP problem:
declarations
  StartTime: real
end-declarations
StartTime := SLPtime
SLPloadprob(OBJ)
writeln("Time to load problem = ",SLPtime-StartTime)
Further information
SLPtime returns the current value of the system clock, and is not initialized to zero at the start of model execution. It is therefore necessary to calculate all elapsed times by difference.


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