Skip to content

Commit

Permalink
Merge pull request #2137 from ERGO-Code/add-clear-names
Browse files Browse the repository at this point in the history
Added Highs::clearModelNames()
  • Loading branch information
jajhall authored Jan 16, 2025
2 parents 4c07e5d + 817d8aa commit 16d7c6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Highs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,11 @@ class Highs {
return this->timer_.clock_def(name);
}
void writeAllClocks() { this->timer_.writeAllClocks(); }
HighsStatus clearModelNames() {
this->model_.lp_.col_names_.clear();
this->model_.lp_.row_names_.clear();
return HighsStatus::kOk;
}

// Start of deprecated methods

Expand Down

0 comments on commit 16d7c6b

Please sign in to comment.