Skip to content

Commit

Permalink
make modifyCoefficient a bit safer
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Jun 26, 2024
1 parent a913953 commit 114754d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ClpModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ class CLPLIB_EXPORT ClpModel {
bool keepZero = false)
{
matrix_->modifyCoefficient(row, column, newElement, keepZero);
// Say matrix changed
whatsChanged_ &= ~15;
}
/** Change row lower bounds */
void chgRowLower(const double *rowLower);
Expand Down

0 comments on commit 114754d

Please sign in to comment.