Skip to content

Commit

Permalink
do not execute test if column information if not available
Browse files Browse the repository at this point in the history
  • Loading branch information
h-g-s committed Mar 20, 2020
1 parent e4cc081 commit 5c401b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Osi/OsiColCut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ bool OsiColCut::feasible(const OsiSolverInterface &im) const

bool OsiColCut::infeasible(const OsiSolverInterface &im) const
{
if (im.getColLower()==NULL)
return false;
const double *oldColLb = im.getColLower();
const double *oldColUb = im.getColUpper();
const CoinPackedVector &cutLbs = lbs();
Expand Down

0 comments on commit 5c401b5

Please sign in to comment.