optimbase.hasbounds: Query for Bounds and Constraints

Description Usage Arguments Value Author(s)

View source: R/optimbase.hasbounds.R

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

1
2
3

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)


sbihorel/optimbase documentation built on Jan. 31, 2022, 1:34 a.m.