ishidden
ishidden |
Purpose
Synopsis
function ishidden(c:nlctr):boolean
Argument
c
|
A nonlinear constraint
|
Return value
true if the constraint is hidden,
false otherwise.
Example
The following tests whether a nonlinear constraint is hidden.
uses "mmnl" declarations c: nlctr end-declarations if ishidden(c) then writeln("Constraint 'c' is currently hidden.") end-if
Further information
This function tests the current status of a constraint. At its creation a constraint is added to the current problem, but using the function
sethidden it may be hidden. This means, 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.
Related topics
Module