Skip to content

Commit

Permalink
Merge pull request #1799 from jens-diewald/invalid-row-names
Browse files Browse the repository at this point in the history
Correctly Report Invalid Row Names
  • Loading branch information
galabovaa authored Jun 12, 2024
2 parents 347bde4 + f7fe336 commit 718dd79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/HMPSIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ HighsStatus writeModelAsMps(const HighsOptions& options,
HighsStatus row_name_status =
normaliseNames(options.log_options, "row", lp.num_row_, local_row_names,
max_row_name_length);
if (row_name_status == HighsStatus::kError) return col_name_status;
if (row_name_status == HighsStatus::kError) return row_name_status;
warning_found = row_name_status == HighsStatus::kWarning || warning_found;

HighsInt max_name_length = std::max(max_col_name_length, max_row_name_length);
Expand Down

0 comments on commit 718dd79

Please sign in to comment.