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.
optimbase.checkbounds(this = NULL)
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.