Yangyi Li

First Question
  • Total activity 4
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 2

Activity overview

Latest activity by Yangyi Li
  • Yangyi Li created a post,

    MIP using R

    Answered

    Hi, I was solving an MIP using R Gurobi, this was my original code and it can solve it. Then I changed the inputs from Xi being (0,1) to Zi being(-1,0,1), I added a quadratic constraint Sum of Zi^<...

  • Yangyi Li created a post,

    Programming

    Answered

    So I have a minimization problem, my Zi are (-1,0,1), originally I'm trying to minimize ZTWZ, it works fine, and now I want to add an additional constraint, the sum of Zi^2 is less than a number m....