optimbase.hasbounds
and optimbase.hascons
query an
optimization object and determine whether bounds and nonlinear constraints
have been specified. Bounds are defined in the boundsmin
and
boundsmax
elements of the optimization object. The number of
nonlinear constraints is defined in the nbineqconst
element.
optimbase.hasconstraints
determine whether any bound or constraint
has been specified.
optimbase.hasbounds(this = NULL)
optimbase.hasnlcons(this = NULL)
optimbase.hasconstraints(this = NULL)
An optimization object.
Return TRUE if bounds or constraints are found, FALSE otherwise.