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.
An optimization object.
The point estimate, i.e. a column vector of numerical values.
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.
Return a list with the following elements:
The optimization object.
The feasibility flag, either -1, 0 or 1.
Author of Scilab optimbase module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (email@example.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.