Bill Edwall
- Total activity 31
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 11
- Subscriptions 4
Activity overview
Latest activity by Bill Edwall-
Bill Edwall commented,
I belive I've resolved my issue. I created a tupledict and stored the values in the tupledict. Its reduced the non-zeros (logs found below) signifigantly but I'll try utilising it in my bigger mode...
-
Bill Edwall commented,
I tried to utilize the .getValue() function but the problem ( I imagine?) is that since the optimization isen't completed yet it can't get the value of the expression before that since the variable...
-
Bill Edwall created a post,
Reduce expression into a single value
Hello!I'd just like to start of with saying thanks for all the help I've been getting so far. It's been imperative for my work! I'm runing into a problem where my model is significantly slowed down...
-
Bill Edwall commented,
EDIT: I made a new post and I belive I solved the issue I had. Look here if you're curious.https://support.gurobi.com/hc/en-us/community/posts/360058627091-Reduce-expression-into-a-single-value ...
-
Bill Edwall commented,
Thank you so so so much Matthias. You've helped clear this up something immensly.Have a wonderful day!Cheers, Bill
-
Bill Edwall commented,
So what you're saying is that the optimizer has made the values so small that they effectivly become 0 and the absolute value of -0 is 0?On a more hypothetical note. Would the way the code is curre...
-
Bill Edwall created a post,
Help setting up an absolute value for expressions
AnsweredHello!I have an absolute value that I need to set to be an absolute value. https://stackoverflow.com/questions/58612670/how-to-handle-absolute-value-in-gurobi-constraintsI followed the advice found...
-
Bill Edwall commented,
Thank you so much Tobias!The model now solves in around 2 minutes. Quite the improvement from my previous 45 min!
-
Bill Edwall commented,
I got this message after 10 min Do you think I should leave it in? I put it right above the for x in range(3600) for loop like you suggested?Normally the program ran for 40min - 1h before crashing ...
-
Bill Edwall commented,
That makes so much sense! What you're saying is very true! The battery constraint is the glue of the model and without it it's possible to solve like the small problems that you mentioned. You're c...