Query for Bounds and Constraints
optimbase.hascons query an
optimization object and determine whether bounds and nonlinear constraints
have been specified. Bounds are defined in the
boundsmax elements of the optimization object. The number of
nonlinear constraints is defined in the
optimbase.hasconstraints determine whether any bound or constraint
has been specified.
1 2 3
An optimization object.
Return TRUE if bounds or constraints are found, FALSE otherwise.
Author of Scilab optimbase module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (email@example.com)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.