Simon Hoof

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

Activity overview

Latest activity by Simon Hoof
  • Simon Hoof created a post,

    m.getAttr('X', x) gives warning

    Answered

    I'm solving the following MWE:  import gurobipy as gpfrom gurobipy import GRB# ParameterN = (1, 2)M = (1, 2)c = {'x': {1:  2, 2:  1},     'y': {1:  3, 2: -1},}A = {'x': {(1, 1):  1, (1, 2):  2,    ...

  • Simon Hoof created a post,

    tupledict.select() does not work as expected

    Answered

    Consider the following MWE: import gurobipy as gpd = gp.tupledict([    ((('AT','CH'),('BE','AT')), 1),    ((('AT','CH'),('BE','DE')), 2),    ((('AT','DE'),('BE','DE')), 3),   ])   print(d.select((...

  • Simon Hoof commented,

    Dear Jaromił, I was assuming that it does not matter. To provide perspective: I was wondering whether tolerance \(\varepsilon\) is one-sided w.r.t. bounds in the sense that Variant 1 is satiesfied ...

  • Simon Hoof created a post,

    Is a bound a constraint?

    Answered

    Let \(T \subset \mathbb N\) denote time, and \(x : T \to \mathbb R\) a function (the variable). For some subset  \(T_0 \subseteq T\), I require \(x(t) = 0\) for all \(t \in T_0\). I was wondering i...