Yali Chen

  • Gurobi-versary
  • Conversationalist
  • First Question
  • Total activity 13
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 2

Posts

Recent activity by Yali Chen Recent activity Votes
  • Complexity analysis

    Answered

    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...

  • 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...

  • The code runs for a particularly long time

    Answered

    My 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...

  • KeyError: 0. sum1=sum1+b0[combination[km]][0]*math.sqrt(beta0/(H**2+a[combination[km]][0]))*cov(k,combination[km])

    Answered

    We use Gurobi to sove the following problem.  Optimization variables are underlined in green. #initialized variables b0=math.sqrt(Pmax)*np.mat(ones((K,1))) q0=np.mat([250,250])   #create model...