tolsetstatus


Purpose
Return the bitmap status of an SLP tolerance set
Synopsis
function tolsetstatus(TolSet:integer) :integer
Argument
TolSet 
the number of the tolerance set whose status is to be obtained
Return value
The bitmap status of the tolerance, indicating which of the tolerances are activated. For details of these, see the Xpress-SLP Reference Manual.
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
Related topics
chgtolset, gettolset


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