sujana islam

  • Gurobi-versary
  • Conversationalist
  • First Question
  • Total activity 4
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 3

Activity overview

Latest activity by sujana islam
  • sujana islam created a post,

    i dont know why my code is not taking a constraint into account

    Answered

    from gurobipy import Model, GRBm = Model()# Define decision variables p[i, j] and pjv2vp = {}pjv2v = []piv2i=[]for O in range(5):  for j in range(10):       p[O+1, j+1] = m.addVar(lb=0, vtype=GRB.B...