Hi.
I just started to use gurobi and python.
I want to implement the constraint equation, but I'm not sure whether this is correct way.
I attached the equation figure that I want to implement and i put my python code for the equation.
Could you please look at these figure and equation and give some feedback?
Any suggestion will be helpful to me
Thank you.
----- Python code -------------------------------------------------------------------------------------------------
for i in I:
for p in P[i]:
model.addConstr( quicksum(t*x[p,t] for t in T ) + tau(p) <= quicksum(t*x[i,t] for t in T ) )
------------------------------------------------------------------------------------------------------------------------