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 (firstname.lastname@example.org)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.