Rabbitutu Yang
- Total activity 9
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Posts
Recent activity by Rabbitutu Yang-
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, ...
-
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...