Ludwig Baunach
PhD Student
- Total activity 12
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 4
Activity overview
Latest activity by Ludwig Baunach-
Ludwig Baunach created a post,
Extracting MIP Gap of my Hotstart Solution.
AnsweredHi, I use .start to use a hotstart solution in my MIP model. With the command model.MIPGap after model.optimize() I extract the best solutions's gap, but how do I get the initial solution's gap in ...
-
Ludwig Baunach created a post,
Indicator variable that depends on two other indicator variables
AnsweredHi, I want to create an indicator that is defined by two other indicators. More specifically, I have the indicators “start” and “finish”, indicating the whether a machine started working at a posit...
-
Ludwig Baunach commented,
Hi Marika, thank you very much for your response. It helped me fix the problem. Actually, I needed to add both constraints to create the correct indicator. Without the second other one I would get...
-
Ludwig Baunach created a post,
Problem with logical constraint using addGenConstrIndicator()
AnsweredHi, I want the "finish" variable to be 1 when "beet_flow" is 0. However, when my checking output I get 0 for all values of finish. I should get values of 1 for the given time periods and i's. Be...
-
Ludwig Baunach commented,
Thank you that solved the problem
-
Ludwig Baunach created a post,
TypeError when using gurobipy.Model.addGenConstrIndicator
AnsweredHi, I am encountering a problem with a logical constraint. I get the same error when trying ".addGenConstrIndicator". I posted the code below including the error message. I am grateful for any kin...