
Nico T
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 5
Activity overview
Latest activity by Nico T-
Nico T created a post,
Implementation of sub-problem aggregation makes the problem unfeasible
Awaiting user inputI am facing a weird problem. I am currently implementing a column generation heuristic with aggregated sub-problems (for those that are identical). I use this model decomposition and this aggregati...
-
Nico T commented,
Matthias Miltenberger Thanks for clarification. What exactly do you mean by tightening the bounds? How would i accomplish that?
-
Nico T commented,
Matthias Miltenberger Would this be the correct way? I am not able to test it right now? for i in I: breakpoints = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] slopes = [0] + [-math.exp(-(5-x)) for x...
-
Nico T commented,
Matthias Miltenberger Thank you for your answer. That helped me a lot. I am also trying to implement this function, but am currently failing. Could you possibly help me here again? \(c_i = 1 - 1/(1...
-
Nico T commented,
Ed Rothberg Thanks for your answer. How exactly would the code for the latter approach look like in my case?
-
Nico T created a post,
How to implement a linear approximation?
AnsweredHello, I have the following question. I would like to implement a non-linear relationship in my model as a linear approximation. I want to approximate this function linearly. \(c_{i} = \exp^{-0.5\t...
-
Nico T commented,
Ronald van der Velden No worries. I tried your approach and initially it didnt work. But updating the model with "model.update()" after assigning names to the constraints did the trick. Thanks
-
Nico T commented,
Ronald van der Velden Thank you for your help. Sadly it does return this error "gurobipy.GurobiError: Constr not in model". How do i fix that?
-
Nico T created a post,
Separate access to the dual values of various constraints
AnsweredHello, I have the following model. from gurobipy import *model = Model()I = [1,2,3]J = [1,2,3]D = [1,2,3]# Variablesx = model.addVars(I, J, D, vtype=GRB.BINARY, name="x")y = model.addVars(J, D, vt...