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...
-
Hi Riley: I have a following constraint which I am trying to implement. I am having a problem with aligning the indices. What would be the right approach to align LHS and RHS here? I am a bit conf...
-
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 ...
-
Thanks very much!
-
Thanks, Riley. This is indeed a cleaner solution. This is the math programming I am trying to implement. As you can see, I have several misaligned constraints. However, when I try the constraint...
-
Below are the dtypes for y_is and u_ikn i int64s objectdtype: objecti int64k int64n int64dtype: object
-
INSTALLED VERSIONS------------------python : 3.9.9.final.0pandas : 2.0.0numpy : 1.24.2pytz : 2023.3dateutil : 2.8.2setuptools : 67.6.1pip ...