Skip to content

Commit cc3d057

Browse files
Continue even if Highs gives warnings
1 parent a2a9495 commit cc3d057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MIPSolver/MIPSolverHighs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ bool MIPSolverHighs::finalizeProblem()
299299
highsModel.lp_.col_cost_ = variableCosts;
300300
highsModel.lp_.sense_ = objectiveSense;
301301

302-
if(highsInstance.passModel(highsModel) != HighsStatus::kOk)
302+
if(highsInstance.passModel(highsModel) == HighsStatus::kError)
303303
return (false);
304304

305305
setSolutionLimit(1);

0 commit comments

Comments
 (0)