Roos Vahrmeijer

Gurobi-versary
First Comment
First Question
  • Total activity 6
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1

Activity overview

Latest activity by Roos Vahrmeijer
  • Roos Vahrmeijer commented,

    Output is as follows: Solved in 0.028 secs. OPTIMALObjective value: 24.075000000000003Used edges:0 1 10 4 21 6 12 5 13 7 24 3 25 7 16 2 1   Now delivery takes place before picking up

  • Roos Vahrmeijer commented,

    n= 3n2 = 3 P = [i for i in range (1, n+1)]D = [i for i in range (n+1,n+n2+1)]Ck = {1:6, 2:6}K = [i for i in range (1, len(Ck)+1)]N = P + Dqi = {0:0, 1:6, 2:3, 3:6, 4:-6, 5:-3, 6:-6, 7:0}di = {0:0, ...

  • Roos Vahrmeijer commented,

    Can share my full code with you   

  • Roos Vahrmeijer commented,

    Yes qi can be negative because by delivery the demand is negative and for pick up it is positive  

  • Roos Vahrmeijer created a post,

    max and min constraints

    Ongoing

    Hello! I'm trying to formulate the following constraint in python:  max{0,qi}<= Qik <= min{Ck, Ck + qi} I tried to do this with the following formulation:  m.addConstrs(Q[(i,k)] >= 0 for i in V for...