sethidden


Purpose
Hide or unhide a nonlinear constraint.
Synopsis
procedure sethidden(c:nlctr, b:boolean)
Arguments
A nonlinear constraint
Constraint status:
true 
Hide the constraint
false 
Unhide the constraint
Example
The following defines a constraint and then sets it as hidden:
uses "mmnl"
declarations
 x,y,z: mpvar
end-declarations

c:= 4*cos(x) + y - z^2 <= 12
sethidden(c, true)
Further information
At its creation a constraint is added to the current problem, but using this procedure it may be hidden. This means that the constraint will not be contained in the problem that is solved by the nonlinear solver but it is not deleted from the definition of the problem in Mosel. Function ishidden can be used to test the current status of a constraint.
Related topics
ishidden.
Module
mmnl


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

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.