Rehearse icon indicating copy to clipboard operation
Rehearse copied to clipboard

Get wrong answer when no valid solution

Open csbo opened this issue 6 years ago • 1 comments

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: demo Obviously, the x need to be larger or equal than 0. Thanks!

csbo avatar Mar 06 '18 11:03 csbo

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

Celebio avatar Mar 07 '18 21:03 Celebio