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

result not correct

回答済み

コメント

2件のコメント

  • Jaromił Najman
    • Gurobi Staff 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

サインインしてコメントを残してください。