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

why integer decision variables work much better than binaries?

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three 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 why not try our AI Gurobot?.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Paco,

    This sounds very strange. There should not be a difference between a 0-1 integer variable and a binary variable. You should write out the two formulations as LP files and then check for differences.

    Cheers,
    Matthias

    0
  • Francisco Garzón
    • Gurobi-versary
    • First Question
    • First Comment

    Hi Matthias,

    Thanks for your help. In fact, there were differences between the two models. I copied the initial integer definition but made typo in one of the sets that should be the reason for the lack of performances in the binary case. I have corrected it and will try now.

    Thanks again.

    Paco

    0

投稿コメントは受け付けていません。