Skip to content

Commit

Permalink
fix a bug in HiGHS support
Browse files Browse the repository at this point in the history
  • Loading branch information
satoken committed Mar 1, 2023
1 parent aa1f2ac commit dcaa369
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class IPimpl
case IP::UP: bnd_[row]='L'; rhs_[row]=u; break;
case IP::DB: bnd_[row]='R'; rhs_[row]=l; rngval_[row]=u-l; break;
case IP::FX: bnd_[row]='E'; rhs_[row]=l; break;
case IP::FR: bnd_[row]='R'; rhs_[row]=DBL_MIN; rngval_[row]=DBL_MAX; break;
case IP::FR: bnd_[row]='R'; rhs_[row]=-DBL_MAX; rngval_[row]=DBL_MAX; break;
}
return row;
}
Expand Down Expand Up @@ -523,10 +523,10 @@ class IPimpl
switch (bnd)
{
case IP::LO: u=DBL_MAX; break;
case IP::UP: l=DBL_MIN; break;
case IP::UP: l=-DBL_MAX; break;
case IP::DB: break;
case IP::FX: u=l; break;
case IP::FR: l=DBL_MIN; u=DBL_MAX; break;
case IP::FR: l=-DBL_MAX; u=DBL_MAX; break;
}
row_lower_.push_back(l);
row_upper_.push_back(u);
Expand Down

0 comments on commit dcaa369

Please sign in to comment.