Ronald van der Velden

  • Gurobi Staff Gurobi Staff
  • Total activity 246
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 114

Activity overview

Latest activity by Ronald van der Velden
  • Ronald van der Velden commented,

    So why Gurobi reject this as a initial solution? This you can learn by fixing the solution (set the lowerbound and upperbound of each variable equal to the start solution) and asking Gurobi to op...

  • Ronald van der Velden commented,

    Hi, this problem might occur if there are constraints around the boundary between the two years (e.g. if you have 3 shifts in a workforce puzzle on Dec 29-31 and 3 shifts on Jan 1-3, but maximum fi...

  • Ronald van der Velden commented,

    Hi, You could use the ResultFile parameter to specify where Gurobi should store a logfile while solving your model. It would also contain information about the method used to solve your model (e.g....

  • Ronald van der Velden commented,

    Ah, the fact that there's a variable on the left side does not allow a quick fix. Still, you could try multiplying both sides by \[max_{j,l,k}^{box}\] to see if this improves performance. I'm assum...

  • Ronald van der Velden commented,

    Hi Eugene, You could do something like this: import gurobipy as gpfrom gurobipy import GRBH = range(3)K = [7, 13, 16]with gp.Env() as env, gp.Model(env=env) as model:    V = model.addVars(H, name='...

  • Ronald van der Velden commented,

    Hi Jaime, Instead of using Pool.map, you could look at a slightly lower-level approach where you start N processes and keep them running continuously (maintaining their own Gurobi environment objec...

  • Ronald van der Velden commented,

    Hi Lennard, My first reaction would be that you could separate (x * l)/y from y/y=1. Then the question is where this expression would be used - in a constraint or the objective function? For a cons...

  • Ronald van der Velden commented,

    Official comment

    Hi Jiakang, There are several options for this. You could use the model.copy() function. This gives you a complete, independent copy of the model. It also means any references to variables/constra...

  • Ronald van der Velden commented,

    The full puzzle is still not entirely clear now. Is the challenge now to partition the rows into four groups, where each row gets a +/- sign, and the product/sum within each group must match a cert...

  • Ronald van der Velden commented,

    The approach is roughly what I had in mind. The best way to verify if it's 100% correct, would be by testing it on several datasets. Kind regards,Ronald