optimbase.isfeasible: Check Point Estimate

Description Usage Arguments Details Value Author(s) See Also

View source: R/optimbase.isfeasible.R

Description

This function checks that the point estimate is consistent with the bounds and the non linear inequality constraints. It is usually called by optimbase.checkx0 to check initial guesses.

Usage

1

Arguments

this

An optimization object.

x

The point estimate, i.e. a column vector of numerical values.

Details

Returns 1 if the given point satisfies bounds constraints and inequality constraints.

Returns 0 if the given point is not in the bounds.

Returns -1 if the given point does not satisfies inequality constraints.

Value

Return a list with the following elements:

this

The optimization object.

isfeasible

The feasibility flag, either -1, 0 or 1.

Author(s)

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

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

See Also

optimbase.checkx0


optimbase documentation built on Jan. 27, 2022, 1:14 a.m.