Skip to content

Commit

Permalink
fix bug when fastdual goes to primal
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Jul 25, 2024
1 parent b5428d2 commit 7f60778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClpSimplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12952,7 +12952,7 @@ int ClpSimplex::fastDual2(ClpNodeStuff *info)
perturbation_ = savePerturbation;
baseIteration_ = numberIterations_;
goodWeights = false;
status = static_cast< ClpSimplexPrimal * >(this)->primal(0);
status = static_cast< ClpSimplexPrimal * >(this)->primal(0,1);
baseIteration_ = 0;
computeObjectiveValue();
// can't rely on djs either
Expand Down

0 comments on commit 7f60778

Please sign in to comment.