Skip to main content

Gurobi combine two constraints

Answered

Comments

1 comment

  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    It may not be possible to combine such constraints into one. It may also not be beneficial for performance.

    If you have parallel constraints in your model, you can combine them, but the same is not necessarily true for arbitrary constraints - even if they contain the same set of variables.

    In any case, you can rely on Gurobi's presolving techniques to reduce the problem in a way that is both numerical stable and improves performance.

    If you want us to inspect a specific model instance, please open a Support ticket so we can handle this internally.

    Cheers,
    Matthias

    0

Please sign in to leave a comment.