sethidden


Purpose
Hide or unhide a general constraint
Synopsis
procedure sethidden(cName:genctr, tf:boolean)
Arguments
cName 
name of a genctr
tf 
constraint status
true 
Hide the constraint
false 
Unhide the constraint
Example
The following example hides Constraint(1) to Constraint(10) so that they will not appear in the generated problem, and then unhides Constraint(5) so that it will appear in the generated problem.
forall (i in 1..10) sethidden(Constraint(i),true)
sethidden(Constraint(5),false)
Further information
This procedure hides (tf=true) or unhides (tf=false) a genctr. A hidden genctr still exists in the model, but will be omitted from the SLP problem which is loaded and solved.
Related topics
ishidden


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