Abhishek Bajpai
- Total activity 6
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Posts
Recent activity by Abhishek Bajpai-
Writing a Constraint using quicksum
AnsweredHi team, I am new to Gurobi. I am using it for some cost optimisation. Can someone guide me with writing this constraint? i & t are the values inside my Variable list.
-
How to use for loop for a specific or range of values in constraint formulation?
AnsweredEndresources=steel.addConstrs((gp.quicksum(Resources[res,t] for t in x)==1 for res in res_list3),name="Endresources") My Variables are: time = list()for x in range(0,int(num_t)): time.append(x)...