Skip to main content

Limiting the number of activated binary variables

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Mariano,

    One thing that comes to mind is applying a multi-objective approach: First, optimizing the main model with a large \(N_{max}\) value and in the next step trying to minimize \(\sum x_i\) so you find the smallest number leading to the same solution quality.

    You can read more about multi-objective optimization here: Multiple Objectives - Gurobi Optimization

    I hope that helps!

    Cheers,
    Matthias

    0
  • Mariano Dominguez Librandi
    • Gurobi-versary
    • First Comment
    • First Question

    Dear Matthias,

    Thank you for the quick response.

    I will try that out.

    Best regards

    Mariano

    0

Post is closed for comments.