Rabbitutu Yang
- Total activity 9
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Activity overview
Latest activity by Rabbitutu Yang-
Rabbitutu Yang commented,
Dear Matthias, I'm sorry that I overlooked the other solution is infeasible. Thanks for your help!
-
Rabbitutu Yang created a post,
Cannot find the optimal solution for linear programming problem
AnsweredHello I want to solve the following linear programming problem: Here is my code: from gurobipy import *# define the modelM_LP = Model("LP_Exam")N = 5F_e = 160 * 10 **7t = 1H_t = [0, 46410792960, ...
-
Rabbitutu Yang commented,
Hi Maliheh, The reason you guessed that the model is not feasible is completely correct. Based on this, I first reduced the value of v by a certain multiple, and then increased the value of y by th...
-
Rabbitutu Yang commented,
Hi Maliheh, Sorry to disturb you again. I met a new bug for the above mentioned problem. During the assignment process, and the constraint with respect to v_n can be written as: W_LP.addConstrs((v...
-
Rabbitutu Yang commented,
Your reply helps me a lot, thank you very much!! Best regards, Huan
-
Rabbitutu Yang commented,
Hi Maliheh, your comment helps me a lot, thank you very much! However, I have a new problem. The problem can be modeled as follows: For the problem, only b_n and w_n are decision variables, other ...
-
Rabbitutu Yang created a post,
TypeError: 1.0 + 0.0007 <gurobi.Var *Awaiting Model Update*> is not a variable
AnsweredI want to construct the following constraint: b_n<=(w_nWtlog2(1+c/w_n))/D_n, where b_n and w_n are decision variables, other notations, such as W, t, are constant. Considering that the above constr...