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による最近のアクティビティ-
I got the answer: write the below code between the line of model.write() & model.optimize() model2.Params.LogFile = "Outputs/model2.log"
-
How can I write the LogFile? Most documentations talks about how to read the file. I installed grblogtool
-
The solution to my previous comment is below (for future reference): print('Print Xn')k = 34model2.setParam(GRB.Param.SolutionNumber, k)[x[s, r].Xn for s in Stations for r in ResourcesD][y[s, o, ...
-
Hello Jaromil, By allowing larger gap (GRB.Param.PoolGap), I retrieved 36 solution counts based on documentation link you provided: Solution count 36: 1.6 1.4 1.3 ... 0.2 Now I want to print each ...
-
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....