ghada ouerfelli

  • Gurobi-versary
  • Curious
  • Conversationalist
  • Total activity 30
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 8

Comments

Recent activity by ghada ouerfelli Recent activity Votes
  • My Model is infeasble import gurobipy as gpfrom gurobipy import GRBm=gp.Model("Log")weeks = range(0,4)#weeks = [0,1,2,3,4]products=range(1,2)#products=[1,2]L=10k=2a=[[0,0,10,0,0],[0,20,0,0,0],]l=[[...

  • I will send you the model to understand the default it will better 

  • S1[1,0]=1S1[2,0]=2S2[1,0]=3S2[2,0]=4it is my initial stock in two warehouses in week zero

  • thanks but I didn'i find the same result with CPLEX the right solution is // solution (optimal) with objective 106 l2 = [[0             0 0 0 0]             [0 0 0 0 0]];l3 = [[0 1 0 2 0]          ...

  • I have an other error :   m.addConstrs((S1('*',t) for t in weeks) <=L)TypeError: '<=' not supported between instances of 'generator' and 'int' import gurobipy as gpfrom gurobipy import GRBm=gp.Mode...