Tanmoy Das
Data Scientist, currently final year in PhD at Dalhousie University. Working on a resource optimization problem
- 合計アクティビティ 80
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 14
- サブスクリプション 26
コメント
Tanmoy Dasによる最近のアクティビティ-
When I was typing this question, my brain was hinting me in your very same point. funny. I will post here if I found something useful from lp file - Latex direction,
-
Hello Jaromił Najman, appreciate your explanation. In an optimization model that I am developing right now, the objective function contains 3 terms, two of these terms would be zero depending on i...
-
Hello Jaromil, I will keep your suggestions in mind. I solved the conflict of C1 & C3 by changing comparison operator == into <= in C3 model1.addConstrs((cover.sum(c,'*') <= 1 for c in range(num_...
-
Revised formulation below: # MIP model formulationmodel1 = gp.Model('MCLP v1')# Decision variablescover = model1.addVars(pairings, vtype=GRB.BINARY, name='Cover')select = model1.addVars(num_facili...
-
num_facilities = len(facilities) num_customers = len(customers) cartesian_prod = list(product(range(num_customers), range(num_facilities)))
-
Comment outside of your question: Its better to be consistent on naming the variables e.g. all INDICES with small_loc two/few letters e.g. time, res and then associated SET with CapLock maybe. e.g....
-
It will be easier to think if you post your constraints math equation. Anyway, Endresources=steel.addConstrs((gp.quicksum(Resources[res,t] for t in x )==1 for res in res_list3),name="Endresources"...
-
you can write the model, then print the written model (possibly in rlp or lp format) in Jupyter Lab (or whatever IDE you are using)
-
Appreciate your comment Matthias Miltenberger. Such thinking process of Indicator constraints is helping me building my model
-
Jaromił Najman already gave a details answer. Thanks. I just wanted to say one little point (that I keep in mind when it comes to addConstrs vs addConstr) If you see the following model, the 3rd c...