
Magnus Mariegaard
- 合計アクティビティ 20
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 7
- サブスクリプション 3
アクティビティの概要
Magnus Mariegaardさんの最近のアクティビティ-
Magnus Mariegaardさんがコメントを作成しました:
Okay thank you a lot for the help Jaromil, it is much appreciated. Your explaination makes a lot of sense. Best regards, Magnus
-
Magnus Mariegaardさんがコメントを作成しました:
Hi Jaromil Ahh okay, sorry for the trouble then, my bad then… is there a way to start the program without the lazy constraint for maybe one branching for then to use the lazy constraint after?
-
Magnus Mariegaardさんがコメントを作成しました:
Of course, the mdl._x is used to get the relaxed values of the LP relaxation of my MIP problem, and are used as such: def sub_elim(model, where): if where == GRB.callback.MIPSOL: sol = m...
-
Magnus Mariegaardさんがコメントを作成しました:
And if it helps, the sub_elim function is in short like the following: def sub_elim(model, where): if where == GRB.callback.MIPSol: Testing and adding the lazy constraints...
-
Magnus Mariegaardさんがコメントを作成しました:
I can try to shorten it down to give an example A = list of tuplesx = {}for i,j in A: x[i,j] = mdl.addVar(vtype = GRB.BINARY, name = 'x_%d_%d' & (i,j))#multiple contraints givenmdl.addConstrs(.....
-
Magnus Mariegaardさんがコメントを作成しました:
Hi Jaromil My mistake with setting of x[i] value, that is a typo and it is iterated as you suggested. However I have tried to impliment it again, and it seems that the mdl._x = x interfeers with th...
-
Magnus Mariegaardさんが投稿を作成しました:
Using an initial solution while also using lazy constraints
回答済みI have a optimization problem where I have a variable x, I have a heuristic that give an initial solution that I have set using the x[i].start = init_x[i] To set the initial start for x. However I...
-
Magnus Mariegaardさんが投稿を作成しました:
Understanding the best bound of the MIP
回答済みHi quick question, in your description of best bound and gap you state that (for a min problem): "Somewhat less obvious is that, at any time during the branch-and-bound search we also have a valid ...
-
Magnus Mariegaardさんがコメントを作成しました:
Thank you both for the quick and precise responses, that helped a lot.
-
Magnus Mariegaardさんが投稿を作成しました:
Writing a max function for MTZ constraints for the CVRP
回答済みHi I am trying to solve some instances of the CVRP where I am trying to incorporate some Miller-Tucker-Zemlin constraints for the capacity. I have the variable \[ u_i \] denoting the load at each c...