Yali Chen
- Total activity 13
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Activity overview
Latest activity by Yali Chen-
Yali Chen created a post,
Complexity analysis
AnsweredFor the formulated optimization problem, I design an algorithm primarily based on Gurobi solving, which means that I mainly use the Gurobi to solve my optimization problem. In thi case, how to anal...
-
Yali Chen created a post,
convergence property
For the formulated optimization problem, I design an algorithm primarily based on Gurobi solving, which means that I mainly use the Gurobi to solve my optimization problem. In thi case, how to anal...
-
Yali Chen created a post,
The code runs for a particularly long time
AnsweredMy optimization problem is as follows, and optimization variables are underlined in red. The corresponding code is as follows, from gurobipy import *import gurobipy as gpfrom numpy import *import...
-
Yali Chen commented,
Hi Eli, sorry to bother you again. According to your comments about the code I showed above,the error is in the following part, constr_1 = LinExpr(0)for k in range(0,K): for km in range(0,M): ...
-
Yali Chen commented,
Hi Jaromił, sorry to bother you again. IndexError: list index out of range: constr_1.addTerms(1, b0[combination[km]]*r[combination[km]]*cov(k,combination[km])). from gurobipy import *from numpy im...
-
Yali Chen commented,
Hi Jaromił, according to your comments, we have changed the code, but there are still some problems. TypeError: unsupported operand type(s) for *: 'int' and 'tupledict':sum7=2*nu-math.log(K**2)-(ma...
-
Yali Chen commented,
Hi Jaromił, according to your comments, we have changed the code, but there are still some problems. Looking forward to your reply! Many thanks! We use Gurobi to sove the following problem. Optimiz...
-
Yali Chen commented,
Hi Jaromił, thanks for your help! All the best, Yali
-
Yali Chen commented,
Hi, thank you very much for your comments. For the optimization problem given by the above picture, optimization variables are underlined in green, and we use Gurobi to sove the problem. According ...
-
Yali Chen commented,
from gurobipy import *from numpy import *import numpy as npimport mathimport random#define global variablesglobal KK = 5global MM = 2global ATtheta1ATtheta1=0.42global ATtheta2ATtheta2=2.00global ...