Check bounds.

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)