Marika Karbstein

Gurobi Staff Gurobi Staff
  • Total activity 100
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 53

Activity overview

Latest activity by Marika Karbstein
  • Marika Karbstein commented,

    If you set BestObjStop, the solution process is stopped as soon as a feasible solution whose objective value is at least as good as the specified value is found. So with this parameter setting, it ...

  • Marika Karbstein commented,

    Can you please confirm whether you use an Anaconda environment?If so could you please run conda list and check whether there is an entry called krb5? You may need to install this if it's not there.

  • Marika Karbstein commented,

    We have seen this issue before when installing Gurobi from conda, this makes Gurobi not able to retrieve your username. Leading grbgetkey and grbprobe to fail. Could you please try installing the f...

  • Marika Karbstein commented,

    Please check this article How do I resolve the error "Model is infeasible or unbounded"? – Gurobi Help Center To get a continuous relaxation of your MIP model you can use model.relax() (or appropri...

  • Marika Karbstein commented,

    The line flow = m.addVars ( commodities , arcs , obj = cost , name =" flow ") defines a variable for each combination of commodities and arcs. Each such variable is added to the objective with coe...

  • Marika Karbstein commented,

    Hi Tomas, You can add an objective via the setObjective method. This is then the primary objective. You can add multiple objectives using the setObjectiveN method. If an objective was already set w...

  • Marika Karbstein commented,

    I think you need to call a model update before printing the attribute.  Model modifications (bound changes, right-hand side changes, objective changes, etc.) are placed in a queue and are applied t...

  • Marika Karbstein commented,

    Hi Marco, Your example is not reproducible, so I cannot see where exactly your problem is. So far there are only continuous variables defined. But you mentioned binary variables in your first post ...

  • Marika Karbstein commented,

    Could you share a minimum reproducible example and the error you are facing? It might be that m.update() is missing. 

  • Marika Karbstein commented,

    You can use the variable attribute Start to do this. See also How do I use MIP starts? and/or MIP starts for explanations.