You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I verified that the profits are in fact fractional - simply put a "printf" into the function...
Based on the comments inside CglKnapsackCover::findExactMostViolatedMinCover it looks like this can lead to weaker (as Matthew suspected) or missed cuts (if the knapsack solution is suboptimal, "oofv = (sum (1-xstar_j))- max sum (1-xstar)y_j" gets larger and the test "oofv < 1" might fail).
By the way: there some typos in CglKnapsackCover.cpp: "inequalty", "appraoch"
The text was updated successfully, but these errors were encountered:
CglKnapsackCover::exactSolveKnapsack sometimes returns suboptimal solutions. Example:
In fact Matthew Galati beat me by 6 years: https://list.coin-or.org/pipermail/cgl/2013-July/000156.html
See his post for details.
I verified that the profits are in fact fractional - simply put a "printf" into the function...
Based on the comments inside CglKnapsackCover::findExactMostViolatedMinCover it looks like this can lead to weaker (as Matthew suspected) or missed cuts (if the knapsack solution is suboptimal, "oofv = (sum (1-xstar_j))- max sum (1-xstar)y_j" gets larger and the test "oofv < 1" might fail).
By the way: there some typos in CglKnapsackCover.cpp: "inequalty", "appraoch"
The text was updated successfully, but these errors were encountered: