Rehearse
Rehearse copied to clipboard
Get wrong answer when no valid solution
Hi, the interface is so great and straightforward, I am very happy to use it.
Now I have a question, if the input just has no valid answer, can I get noticed?
For now, when I input some constraint with no valid answer, the output just give me some invalid answer with no information, like the picture shows:
Obviously, the x need to be larger or equal than 0.
Thanks!
Hi, I think you have to call one of these methods on the solver itself to check how it terminated : https://www.coin-or.org/Doxygen/CoinAll/class_osi_clp_solver_interface.html#3e8cc1b75826ad9483c0f5f1eddb20e4
Regards. Onur