Amir Fayaz Heidari
- Total activity 9
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Activity overview
Latest activity by Amir Fayaz Heidari-
Amir Fayaz Heidari commented,
Thanks Maliheh.
-
Amir Fayaz Heidari commented,
Thanks for your response.Could you please check the code below? It works correctly without the constraint regarding the max function." model.addConstrs((con_SCG[m,r] == gp.max_(x_SCG[m,r], min_con_...
-
Amir Fayaz Heidari created a post,
How to Define a Constraint for Calculating the Maximum of Two Multi-Dimensional Variables in Gurobi
AnsweredHi team, The max_ function for the 1-dimension variable works. However, I need to add the constraint below:model.addConstrs(X_3[m,r] == max_( X_1[m,r] , X_2[m,r] ) for m in range(M) for r in rang...
-
Amir Fayaz Heidari commented,
M=6 R=5 Y=20 Variable_1 = model.addVars(M , R , Y , vtype=GRB.CONTINUOUS) Output_1 = np.zeros((M,R,Y)) for m in range(M): for r in range(R): for y in range(Y): ...
-
Amir Fayaz Heidari commented,
Mario, could you please address my problem? Thanks in advance
-
Amir Fayaz Heidari commented,
Thanks for your response. My model is quadratic, continuous, and convex. I use the barrier method to solve the optimization problem.I set the parameters below for solving the optimization problem: ...
-
Amir Fayaz Heidari created a post,
Delayed Result Printing in Gurobi Optimization (Python)
AnsweredDear Support Team, I hope this message finds you well. I am writing to seek assistance with an issue I've encountered while running an optimization problem using Gurobi for Python. The optimization...