roboptim/roboptim-shared-tests — pull request #10 by bchretien (2014-03-15 17:27:02+00:00)
Title: Fix check when multiple optimal solutions exist

Fix #9

Basically, we use the following checklist:
1. Check final objective function value `fx`.
2. Check final argument bounds `x`.
3. Check final constraints.
4. If any of the previous checks fail (i.e. solver failed): check final `x` to provide some extra information to the user.