Margi Shah
- 合計アクティビティ 179
- 前回のアクティビティ
- メンバー登録日
- フォロー 1ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 11
コメント
Margi Shahによる最近のアクティビティ-
I am writing next constraint (which has a issue) for further discussion : Constraint: Taskexecution1=steel.addConstrs((gp.quicksum(Tasks[task,t] for t in time)==1 for task in group2tasks for group ...
-
I understand what you are trying to say : but: YOUR OUTPUT SAYS: your loop runs FIRST for t THEN for res But, your code says : loop is running for res first & t later... Just for understanding.
-
Yes Jaromil, It works now. THANKS. Lets move to second one. 2) Transfer time constraint: y={}for res_cat, resources in res_cat2idx.items(): if 'H_A_' not in res_cat: continue ...
-
Okay, Lets do step by step... I will share my ".lp" file also.So it is very clear: 1)Task Excecution Constraint: Taskexecution=steel.addConstrs((gp.quicksum(Tasks[task,t] for t in time)==1 for task...
-
Variables:res_list = [res for cat, cat_res in res_cat2idx.items() for res in cat_res]task_list=[task for cat, cat_task in tasks.items() for task in cat_task][res_cat2idx,tasks ,time- already provid...
-
I opened the file in Jupyter notebook. I am working with my University machine, I am unsure about the permissions.
-
Ok Jaromil but can you please elaborate why the constraints are looking thus? Do you want me to provide my queries here in a single post? Just to make it very clear !
-
I just wrote steel.lp like this What do you mean by permissions?
-
This is the reason why from time to time you definitely should write a steel.lp file and have a look at what you actually constructed. Can we write steel.lp before optimising it?
-
As you can see My variables looks like: Reources(res_cat,time) instead It should look like: Resources(resources,time)