Skip to content

Commit

Permalink
Merge branch 'fix-changebounds-issue' into 'bugfix-60'
Browse files Browse the repository at this point in the history
fix the bug

See merge request integer/soplex!397
  • Loading branch information
leoneifler committed Mar 15, 2023
2 parents b63e59b + f173edc commit a5eed0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/soplex/changesoplex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,7 @@ template <class R>
void SPxSolverBase<R>::changeBounds(int i, const R& newLower, const R& newUpper, bool scale)
{
changeLower(i, newLower, scale);

if(EQ(newLower, newUpper))
changeUpper(i, newLower, scale);
else
changeUpper(i, newUpper, scale);

changeUpper(i, newUpper, scale);
}

template <class R>
Expand Down

0 comments on commit a5eed0f

Please sign in to comment.