Margi Shah
- Total activity 179
- Last activity
- Member since
- Following 1 user
- Followed by 0 users
- Votes 0
- Subscriptions 11
Comments
Recent activity by Margi Shah-
To my knowledge, I haven't defined any other constraint as an empty dictionary before. Still they works. How come here it is stating that it is not defined? Also, without doing model.update() after...
-
Hi Jaromil, I tried doing this before posting it here, but I was having the same error as now:
-
Resourcebalance = {}for res in res_list1: for t in time:Is it possible to have a specific set of values for t=0 case? here in this loop?Like I want:Resourcebalance[1,0]=2,Resourcebalance[2,0]=2,...
-
Hi Jaromil, I am facing some issue with the below constraint: Constraint: End Resources: res_list3 = [res for cat, cat_res in res_cat2idx.items() if cat == 'H_B_S4' for res in cat_res] Endresourc...
-
Hi Jaromil, Give me sometime. Let me analyse the solution.
-
Hi Jaromil, You are right. The terms are stated left side. But there is a problem with variables of time. THE OUTPUT LOOKS LIKE THIS: Energyusage[174,1]: Resources[174,1] - 21.25 Tasks[1,0] - 21.2...
-
Many thanks Jaromil for your reply: Constraint: What is formulated is: res = res_cat2idx['EN'][0]Energyusage = {}for ti in range(int(num_t)): sumexpression = gp.LinExpr(0) for task_cat, ...
-
Hi Jaromil, you are probably telling the truth .I respect that. This is definitely an overwhelming experience. I have tried to look Gurobi learning materials from the website too.. Apart from exam...
-
"You can always write the LP file and inspect it to verify any change yourself. It is way easier and more convincing to start verifying things on your own."- That was a wonderful explanation Jaromil.
-
group2tasks:{1: [145, 151], 2: [146, 152],3: [147, 153], 4: [148, 154],5: [149, 155], 6: [150, 156]} This is my group2tasks dict.Hence by OUTPUT SHOULD BE: Taskexecution1[145]: Tasks[145,0] + Tasks...