Vusal Babashov
- Total activity 21
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Comments
Recent activity by Vusal Babashov-
x[D,485] <= 1.0 x[A,27] + x[A,42] <= 1.0 x[B,31] <= 1.0 x[C,185] <= 1.0 x[E,52] <= 1.0 In reality, I only need to add this one x[A,27] + x[A,42] <= 1.0 and the rest of the constraints are redundant...
-
What I mean is that the model is useful for assigning resources to stores. Each store has a pre-defined week for the assignment. If we know, which store a resource is assigned to, we will know what...
-
Hi Maliheh, Not really, since k is pre-defined (i.e., fixed) in reality, there was no point in adding week_id to the index list. So, I defined the variables as x_ik for specific i and k pairs and s...
-
Hi Riley Thanks for the approaches. Variable definition is fine for i, k and n but constrain is applied to certain subset of i,k and n. To clarify, the index i is the same on both sides of the cons...
-
For example, below is a filtered Pandas df for one set of i, k', k, n after data manipulation and wrangling. i k' k n 0 1 287 32 ...