Skip to main content

result not correct

Answered

Comments

2 comments

  • 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

Please sign in to leave a comment.