Maliheh Aramon
-
Gurobi Staff
- Total activity 746
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 305
Comments
Recent activity by Maliheh Aramon-
Hi, I think you would like to enforce if the band plays on day \(j\) at place \(i\), i.e., \(x_{ij} = 1\) and it plays on day \(k > j\) at place \(i\), i.e., \(x_{ik} = 1\), then \(x_{il} = 1, ~~ ...
-
Hi Nastaran, Yes, you are right. The default value for the Threads parameter is 0 where Gurobi uses up to all the available logical processors on the machine. There is a soft limit of 32 threads u...
-
Hi, If the model is an LP and your goal is to find the optimal basic solution, you can rely on the variable attribute VBasis, after the optimization is over, to identify whether a variable is basi...
-
Hi, I assume that you would like to build the constraint below using gurobipy-pandas: \[\sum_{t^{\prime} = t} ^{t+3} x_{e, t^{\prime}, s} \leq 3, ~~ \forall e \in E, t \in \{0, \cdots, |T| - 4\}, ...
-
Hi Jack, Gurobi offers an API for solving multi-objective optimization problems. It supports two main approaches for combining multiple objectives: blended and hierarchical. The latter approach do...
-
I would not be worried too much about the redundant constraints if they are not too many. Anyways, the script below should avoid adding the redundant constraints: total_assignments= ( df.groupb...
-
since k is pre-defined (i.e., fixed) in reality, there was no point in adding week_id to the index list I do not understand this. The number of resources and stores are also fixed. Do you have r...
-
Hi Vusal, Given your explanation, it seems to me that the decision variables should be defined as \(x_{ijk}\) being equal to 1 if resource \(i\) is assigned to store \(j\) at week \(k\). You can t...
-
Hi, In the constraint below: model.addConstrs( ( con_SCG[m,r] == gp.max_(x_SCG[m,r], min_con_SCG[m,r]) for m in range(M) for r in range(R) ), name="c_max",) ...
-
Hi Amir, It is possible to use the max_() helper function regardless of the variables dimension and there is no need for the variables to have similar dimensions. See the code snippet below: impor...