We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16105cb commit 56b92ebCopy full SHA for 56b92eb
1 file changed
src/simplex.cc
@@ -265,7 +265,8 @@ void SimplexDecoder::decode_to_errors(const std::vector<uint64_t>& detections) {
265
if (model_status != HighsModelStatus::kOptimal) {
266
std::cerr << "Error: Model did not reach an optimal solution. Status: "
267
<< highs->modelStatusToString(model_status) << std::endl;
268
- throw std::runtime_error("HighsModelStatus::kOptimal expected.");
+ throw std::runtime_error("HighsModelStatus::kOptimal expected, got " +
269
+ highs->modelStatusToString(model_status) + ".");
270
}
271
272
// Extract the used errors
0 commit comments