
Simon Hoof
- Total activity 7
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Posts
Recent activity by Simon Hoof-
m.getAttr('X', x) gives warning
AnsweredI'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, ...
-
tupledict.select() does not work as expected
AnsweredConsider 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((...
-
Is a bound a constraint?
AnsweredLet \(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...