TolGapRel (RelativeGAp) in intlinprog
Show older comments
Dear All,
I am using intlinprog for my 0-1 ILP model. Since it doesn't need to be that accurate, I can allow it to stop at a fairly high Relative Gap. However I noticed two issues using the TolGapRel option:
1. When I set it to for example 5e-1, the solver will stop when the relative gap between the upper and lower boundary is less or equal to 0.005 (0.5%) contrary to the MathWorks Documentation which says:
TolGapRel=(U-L)/(U+1) which in fact is a factor 100 smaller, since this value in the range [0, 1] I cannot set the TolGapRel at a value > 1%.
2. This second issue is for me the even more important: when I set the TolGapRel at a value for instance 5e-1 the solver will not stop the solve process if it already found values which have a TolGapRel < 5e-1 before it started with the branch and bound process and just continue in the branch and bound process until it hits the standard value of 1e-4.
Are these bugs in the TolGapRel option? Can I solve these issues?
Kind regards, R. Cornelissen
Accepted Answer
More Answers (0)
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!