Shahrzad Valizadeh
- Total activity 38
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 11
Comments
Recent activity by Shahrzad Valizadeh-
What if I have defined the variable "y" within the loop over days of the week. I mean:for day in days_of_week: y = {} for r in blood_types: for i in num_hospitals: ...
-
Let's consider the constraint only for the variable "y". As I mentioned before, I have: days_of_week = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] and: constraint...
-
Thank you for your quick response. There is no more constraint linking y and yy, and by the wrong result I mean, Tuesday which is in constraint_days_Loc, is a non order day. Definitely, by the foll...
-
Thank you so much Marika for your time and suggestions. That was so valuable to me.
-
import sysimport gurobipy as gpfrom gurobipy import Model, GRBfrom datetime import datetimefrom gurobipy import quicksumfrom gurobipy import max_from gurobipy import LinExpr next_demands_OPM is a ...
-
Thank you Marika for your time. In fact, I'm trying to write the constraint provided in the inserted image. I tried your suggestion and defined auxiliary variable to the model, but the problem stay...