ERGO-Code / HiGHS

Linear optimization software
MIT License
985 stars 183 forks source link

Assert in feasibilityRelaxation #1952

Closed few closed 1 month ago

few commented 1 month ago

I accidentally built a debug build of highs (git hash: b3c61c18b) and ran my test cases. One of them triggered this assert when calling feasibilityRelaxation (through highspy). In release mode, it runs just fine and gives a sensible result.

HiGHS/src/lp_data/HighsInterface.cpp:2049: HighsStatus Highs::elasticityFilter(double, double, double, const double, const double, const double*, bool, std::vector&): Assertion `this->modelstatus == HighsModelStatus::kOptimal || this->modelstatus == HighsModelStatus::kUnbounded' failed.

jajhall commented 1 month ago

Thanks, but we need the model to address this issue, please.

jajhall commented 1 month ago

Sorry, this code corresponds to WIP that was inadvertently merged into latest