chgvartolset


Purpose
Set or change the tolerance set for an SLP variable
Synopsis
procedure chgvartolset(Var:mpvar, TolSet:integer)
Arguments
Var 
The SLP variable whose tolerance set is to be changed
TolSet 
The index of the tolerance set to be used
Example
The following code fragment creates a new tolerance set, and applies it to variable Var(3):
declarations
 Var:array (1..10) of mpvar
 Tols: array(1..9) of real
 TolSet: integer
end-declarations

Tols(2) := 0.005
Tols(3) := 0.008
TolSet := chgtolset(0,6,Tols)
chgvartolset(Var(3),TolSet)
Further information
If the variable is not currently an SLP variable, it will be marked as an SLP variable
Related topics
chgtolset, gettolset, getvartolset


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