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

result not correct

回答済み

コメント

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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    You packing constraint is incorrect. It should read

    m.addConstrs( quicksum(x[i,k]*a[i] for i in N) <= C*y[k]  for k in K)

    This should provide the correct answer.

    Best regards, 
    Jaromił

    0
  • ghada ouerfelli
    • Gurobi-versary
    • Conversationalist
    • First Question

    Thanks a lot Sir 

    0

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