Yutian He

Gurobi-versary
Curious
Conversationalist
  • Total activity 25
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 2
  • Subscriptions 7

Posts

Recent activity by Yutian He Recent activity Votes
  • Gurobi solving SOCP problem

    Awaiting user input

    Hi, I'm using Gurobi to solve an SOCP problem and have tried two different formulations. In the first approach, I define the constraint directly as follows: m.addConstrs(v[k,q,i,h]**2- (4*(1 + 1) *...

  • Gurobi Constraints - 'gurobipy.LinExpr' object has no attribute 'shape'

    Answered

    Hi, I'm working on an optimization problem in Gurobi where x and pi are the only variables. However, when defining the following constraints, I encountered the error: "'gurobipy.LinExpr' object has...

  • Model too large for size-limited license

    Answered

    Hi, Thank you so much for your continued help. I tried to solve a large model with Gurobi and I got the error said the model is too large. Then I applied for a WLS license and click the link https:...

  • Define a matrix as a variable and write it in constraint

    Ongoing

    Hi, I have a quick question about the matrix variable, when I defined the variable and tried to write it in constraint, I got an error for expr1_3:"numpy.core.multiarray failed to import", I tried ...

  • Invalid argument to Model.addConstr

    Answered

    Dear, I am getting the following error: Invalid argument to Model.addConstr. I put my code downstairs, could you please help me to fix this error? Thank you! Here is my code: import randomimport nu...

  • Find the global solution for QCQP question

    Answered

    Dear Gurobi Community, I'm trying to solve a QCQP question using Python. And hope to find a global solution. I added m.Params.NonConvex = 2 in my code, but the result cannot get a global solution, ...