Yali Chen
 Total activity 42
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 0
 Subscriptions 5
Activity overview
Latest activity by Yali Chen
Yali Chen commented,
Hi, Jaromił Thanks for your reply! In the above code, we did not fix b or q, but optimized b and q simultaneously. For this code, if we fix b to optimize q, the simulation time will be faster, whil...

Yali Chen commented,
Hi, Jaromił, the code is shown as follows. from gurobipy import *import gurobipy as gpfrom numpy import *import numpy as npimport mathimport random#define global variablesglobal KK = 10global MM =...

Yali Chen commented,
Hi，Jaromił I want to know why the code runs very slowly when solving variable b with fixed variable q, but solving q with fixed variable b is faster？These two variables have similar forms in the ...

Yali Chen commented,
Hi, Jaromił Thanks for your reply! In gurobi, if I want the solver to output the results when the Incumbent remains unchanged for N times and the Incumbent is not infeasible, instead of waiting unt...

Yali Chen commented,
Hi, Jaromił, I provide the results of the code interruption obj and the output variables q and b. Set parameter NonConvex to value 2Set parameter ScaleFlag to value 2Set parameter Aggregate to valu...

Yali Chen commented,
Hi, Jaromił My original optimization objective is as follows, with optimization variables highlighted in red underline. In order to meet the solving requirements of gurobi, we have introduced many...

Yali Chen commented,
Hi, Jaromił The main problem I want to solve is the alternating iteration of the following two problems. The first one is to solve q with fixed b, and the second one is to solve b with fixed q. Opt...

Yali Chen created a post,
Slow growth of best bound
AnsweredMy code runs as follows, Set parameter NonConvex to value 2Set parameter NumericFocus to value 2Set parameter ScaleFlag to value 2Set parameter Aggregate to value 0Set parameter MIPFocus to value 1...

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, Maliheh, Connect to the previous post, Although scaling variables and "multiply both sides of the equation by 1e3" can avoid some warnings, they greatly prolong the simulation time, resulting ...