Skip to main content

Tuner settings for best primal solution

Answered

Comments

2 comments

  • Riley Clement
    • Gurobi Staff Gurobi Staff

    Hi Matt,

    TuneCriterion=2 is what you after.

    The default value of this parameter doesn't necessarily attempt to minimize MIP gap.  The tuner will run a few experiments then choose a criterion based on the results.

    Including a parameter like MIPFocus=1 instructs the tuner that this parameter value is mandatory.  It doesn't directly change the focus of tuning, but if you do not set TuneCriterion then it may indirectly change the focus since it could influence the results of those initial experiments which the tuner uses to automatically decide a value for TuneCriterion.

    - Riley

    0
  • Matthew Galati
    • Gurobi-versary
    • Curious
    • First Comment

    Got it. Thanks Riley!

    0

Please sign in to leave a comment.