メインコンテンツへスキップ

Optimality proof for MINLP

回答済み

コメント

2件のコメント

  • Byron Tasseff
    • Gurobi Staff

    Hi Marco,

    Happy (soon-to-be) new year to you, as well!

    If your model includes bilinear terms, the most impactful modeling lever is usually tight variable bounds (especially on variables participating in products). Loose bounds can lead to weak relaxations and a slow-moving dual bound. If you can derive tighter bounds using domain knowledge (and tighten any Big‑M constants), this can often reduce the amount of branching. You can also experiment with increasing the aggressiveness of optimality-based bound tightening by adjusting the OBBT parameter.

    It is often helpful to adjust parameters based on the information your logs provide. If the incumbent is weak, you can try allocating more effort to finding feasible solutions (e.g., increase Heuristics and/or NLPHeur). You may also want to try Gurobi's no-relaxation heuristic, which can be activated by setting the NoRelHeurTime parameter. If you have good incumbents but the bound is slowly improving, try shifting effort toward improving the bound (e.g., using MIPFocus=2, or MIPFocus=3). Other parameters you may want to experiment with include Presolve, PreQLinearize, and MIQCPMethod. Finally, please check model numerics (e.g., coefficient ranges and warnings in the log). Poor model numerics can sometimes have a dramatic impact on convergence.

    Two additional suggestions: first, if you're not already on the latest release, Gurobi 13.0 includes substantial speedups for nonconvex MIQCP and MINLP benchmarks, so if you haven't already, upgrading may be worthwhile. Second, if you believe parameter tuning might help for your specific problem class, Gurobi's Parameter Tuning Tool can automate the search for better settings (with the caveat that tuning complements rather than replaces good modeling and numerics).

    I'd suggest trying the above modeling and log-driven parameter changes on one of your "hard" instances first. If the large gap persists, feel free to follow up with your Gurobi version, the non-default parameters you're using, and a log excerpt. If you think sharing a model instance would be helpful, note that uploading files in the Community Forum is not possible; however, we discuss an alternative in Posting to the Community Forum.

    1
  • Marco Muttoni
    • First Question
    • First Comment

    Hi Byron, 

    Thanks a lot for the insights, really interesting and exhaustive.

    Wish you a great 2026 start, 

    Marco 

    1

サインインしてコメントを残してください。