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.
An optimization object.
Return a list with the following list:
The optimization object.
TRUE if the bounds are consistent, FALSE otherwise.
An error message if the bounds are not consistent.
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.