Jonas Grundler

Gurobi-versary
Conversationalist
First Question
  • Total activity 11
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 2

Activity overview

Latest activity by Jonas Grundler
  • Jonas Grundler commented,

    Okay, I see. Thanks a lot!

  • Jonas Grundler commented,

    Yes, I tried, but unfortunately it does not work. Do I have to use the 'column' attribute here? Or is there a more convenient way?

  • Jonas Grundler commented,

    Hi Marika, thanks, this helps!However, the new variables are not forced to fulfill the following constraint: m.addConstrs(quicksum(x[i,j] for j in second_set) >= 1 for i in first_set) How can I cha...

  • Jonas Grundler created a post,

    Adding new variables to existing model

    Answered

    Dear all, I am working on the following model: m = Model('Test')first_set = list(range(3))second_set = list(range(3))x = m.addVars(first_set, second_set, vtype=GRB.CONTINUOUS) #9y = m.addVars(secon...

  • Jonas Grundler commented,

    Yes, that helps! Thanks a lot! Best wishes,Jonas

  • Jonas Grundler commented,

    And another follow-up question: I read that there is no direct way to access shadow prices (constr.Pi) using the Gurobi multi-objective optimization. Do you know any way how to circumvent this issu...

  • Jonas Grundler commented,

    Hi Marika, the objective function is of the following form: The sigmas represent the individual objective weights, whereas LB and UB are lower and upper bounds respectively. How can I know access ...

  • Jonas Grundler commented,

    Dear Marika, thanks for your quick reply! I already read about your multiple objectives feature. However, as my individual objective terms are normalized, I would have to re-calculate the 'real-siz...

  • Jonas Grundler created a post,

    Accessing objective terms

    Answered

    Dear all, I am using a Python function which returns 'm', a gurobi.Model object. In a next step, I call m.optimize(). Afterwards, I can use m.objval, m.getVars(), etc. to access my results. However...