Ruixuan Liu

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

Activity overview

Latest activity by Ruixuan Liu
  • Ruixuan Liu commented,

    Thanks! This is really helpful!  Is there a way I can retrieve the constr obj (ie absconstr)? Cuz I'm trying to update the abs constraint on the fly, it would be nice if I can retrieve the abs cons...

  • Ruixuan Liu commented,

    If I copy the model by model.copy, will the copied model utilize the previously computed solution?

  • Ruixuan Liu created a post,

    Trouble using gp.abs_()

    Answered

    Hi, I'm trying to add a constraint using the abs_() function. I'm just doing a very simple example a = model.addVar(name="a")b = model.addVar(lb=-1, name="b")model.addConstr(a == gp.abs_(b), name="...

  • Ruixuan Liu commented,

    Thanks! This makes sense now. And one more question. If a few more new variables and constraints are added to the model for the second run, will the solver use the previous result to warm start by ...

  • Ruixuan Liu commented,

    Thank you so much for the prompt reply. Can I interpret it as the bottleneck in this particular problem is proving the solution is optimal rather than finding the solution?  Cuz in my case, the sol...

  • Ruixuan Liu created a post,

    Reuse a previously optimized model for warm start

    Answered

    Hi, I'm trying to reuse a previously optimized model as a warm start for the next run. But I'm not sure if I'm doing this correctly. The issue I'm having now is after solving the model, if I direct...