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

How to implement callback with 2 constraints

進行中

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff 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 Gurobi Staff

    Hi Niklas,

    That sounds weird, but I'm afraid without seeing any actual code, we cannot really help you out. Please try to share a minimal reproducible example.

    Cheers,
    Matthias

    0
  • Niklas Jost
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Matthias,

    thank you for having a look on my problem.

    I just noticed that the problem was on a different point where a Gurobi integer variable was 0.999 but i just tested if it is >=1. After fixing this rounding issue the program works as it should.

    Sadly this never occured on instances where I just used one callback so I thought thats the issue.

     

    Have a great day,

    Niklas

    0

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