Johan van Haperen
- Total activity 12
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Activity overview
Latest activity by Johan van Haperen-
Johan van Haperen commented,
Hi Jonasz, I figured it out! The approach for the divison variable worked. Thanks for the help Regards
-
Johan van Haperen commented,
Hi Jonasz, Yea the NonConvex parameter is set to 2. Fortunately, there are nog values between 0 and 1 for a. Therefore, this approach should work in my opinion. However, I still encounter the in...
-
Johan van Haperen created a post,
How do I divide by a variable in Gurobi?
AnsweredHi there, I got a question regarding adding a constraint in which one variable is divided by the other. I read through the community posts and already read the : "How do I divide by a variable in G...
-
Johan van Haperen commented,
Thank you very much Jaromil! Hoping the Support Portal can trace back what is going wrong.You helped me enormously already. Happy hollidays! Even though I cant leave an official review, you still ...
-
Johan van Haperen commented,
Dear Jaromil, First of all I would like to state I am very pleased by the why you are helping me, world class! Can I leave a review somewhere to state this satisfaction? Secondly, I double checked ...
-
Johan van Haperen commented,
Hi Jaromil, What I tried to visualize in the screen shot, is that until jan 10, the code does what it should do. Since auxVar2 picks the lowest value of the variable and the constant, namely everyt...
-
Johan van Haperen commented,
Hi Jaromil, Appologies for the unclearity. So what I currently have: My variables: auxVar1 = m.addVars(T,lb=-GRB.INFINITY, vtype=GRB.CONTINUOUS, name="auxVar1")auxVar2 = m.addVars(T,lb=-GRB.INFINI...
-
Johan van Haperen commented,
ps: I managed to solve the GRB values, so they are now defined as: auxVar1 = m.addVars(T,lb=-GRB.INFINITY, vtype=GRB.CONTINUOUS, name="auxVar1")auxVar2 = m.addVars(T,lb=-GRB.INFINITY, vtype=GRB.CON...
-
Johan van Haperen commented,
Hi Jaromil, Thank you for your answer, and I think this is precicely the solution I am looking for. However, I do encounter some difficulties in applying. I made these two variables: auxVar1 = m.ad...
-
Johan van Haperen created a post,
TypeError: object of type 'gurobipy.QuadExpr' has no len()
AnsweredHey there! I am currently building a model that analyses power flows for a system consisting of a grid connection, demand, production and storage in the form of a battery. Im am currently trying to...