optimbase.checkbounds: Check bounds.

Description Usage Arguments Value Author(s)

View source: R/optimbase.checkbounds.R

Description

This function checks if the bounds defined in the optimization object are consistent (same number of minimal and maximal bounds as the number of variables, minimal bounds lower than maximal bounds) and puts an error message in the returned object if not.

Usage

1

Arguments

this

An optimization object.

Value

Return a list with the following list:

this

The optimization object.

isok

TRUE if the bounds are consistent, FALSE otherwise.

errmsg

An error message if the bounds are not consistent.

Author(s)

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

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


optimbase documentation built on May 29, 2017, 10:54 a.m.

Search within the optimbase package
Search all R packages, documentation and source code