Bounds & constraints {optimbase}R Documentation

Query for Bounds and Constraints

Description

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.

Usage

  optimbase.hasbounds(this = NULL)
  optimbase.hasnlcons(this = NULL)
  optimbase.hasconstraints(this = NULL)

Arguments

this

An optimization object.

Value

Return TRUE if bounds or constraints are found, FALSE otherwise.

Author(s)

Author of Scilab optimbase module: Michael Baudin (INRIA - Digiteo)

Author of R adaptation: Sebastien Bihorel (sb.pmlab@gmail.com)


[Package optimbase version 1.0-10 Index]