GurobiUser

  • Gurobi-versary
  • First Comment
  • First Question
  • Total activity 8
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 3

Activity overview

Latest activity by GurobiUser
  • GurobiUser created a post,

    Setting IntegralityFocus=1 accelerates solution?

    Answered

    I am solving a series of linear integer programming problems with gurobipy. The solutions I originally got weren't exactly integral, so I set the IntegralityFocus parameter to be 1. Now I get integ...

  • GurobiUser created a post,

    tupledict copy

    I am trying to create a shallow copy of a tupledict d. d.copy() returns it as a regular dictionary, whereas I would like the copy to be a tupledict as well. The best way I found to do this is to wr...

  • GurobiUser commented,

    Thank you Jaromil, this resolves my issue.

  • GurobiUser commented,

    Hi Jonasz and Jaromil, Thank you both for your input. Jonasz suggestion of using quicksum in this fashion worked and solved my immediate problem. However, I still want to gain a deeper understandin...

  • GurobiUser created a post,

    Input type to tupledict.sum() in gurobipy

    Answered

    For a tupledict x, I am trying to sum all entries which include y as one of their indices: x.sum(y,'*','*',...,'*')+x.sum('*',y,'*',....,'*')+x.sum('*','*',y,...,'*')+...+x.sum('*','*','*',...,y) T...