Purpose
Get the values for an SLP tolerance set.
Synopsis
procedure gettolset(TolSet:integer, Tols:array of real)
Arguments
TolSet
|
the number of the SLP tolerance set to be obtained
|
Tols
|
an array of 9 real values to contain the tolerance values
|
Example
The following example obtains the values and status for tolerance set number
1 and prints the tolerance values which have been set:
declarations
Tols: array(1..9) of real
Status: integer
end-declarations
gettolset(1,Tols)
Status := tolsetstatus(1)
forall (i in 1..9) do
if bittest(Status,1) <> 0 then
writeln("Tolerance ",i," = ",Tol(i))
end-if
Status := Status / 2
end-do
Further information
Use
tolsetstatus to determine which values in
Tols are activated.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.