Skip to main content

Why does my VRP solve faster on the full graph than the filtered one?

Answered

Comments

1 comment

  • Riley Clement
    • Gurobi Staff

    Hi Alix,

    I'm not a VRP expert but perhaps I can offer some advice anyway.

    When making a comparison between the filtered graph and the full graph, you will want to test with many many instances, or use the Seed parameter, so that you are comparing distributions of solve times.  See How can I make accurate comparisons?

    I would also look at the size of the presolved models - this will appear in the logfile.  It may be that Gurobi's presolve routine is also effectively removing the dominated arcs.  If the presolved model size from the full graph is roughly the same size as the presolved model size from the filtered graph then this would be evidence to suggest the presolve routine is performing something similar to your filtering.

    If the presolved models look very different, and comparing distributions of solve times indicates that the full graph is faster then perhaps clues can be found in the log file.

    - Riley

    0

Please sign in to leave a comment.