Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runnnig UC.py without gurobi #2

Closed
Hilbertvp opened this issue Mar 25, 2019 · 2 comments
Closed

Runnnig UC.py without gurobi #2

Hilbertvp opened this issue Mar 25, 2019 · 2 comments

Comments

@Hilbertvp
Copy link

Hey,

First of all thanks for sharing these very useful scripts. It has taken me a couple of hours this morning to get everything to work and so I just wanted to share my experience.

Everything ran quite smoothly apart from UC.py. My main issue is with the gurobi solver. This is probably a great solver if you have an academic licence, but for people like myself who do not, it is not an option. In DCOPF.py you can change over to gplk, but this fails in UC.py. Optimising with ipopt does seem to work though.

Also it seems to be important here to have the specific pyomo version that is in the requirements (5.5.1). I has an later version and that threw an error.

Cheers,

@akxen
Copy link
Owner

akxen commented Apr 4, 2019

Apologies for the late reply - thanks very much for taking an interest and sharing your experience! I recall running into issues when using GLPK to solve MILP problems in the past. Thanks for suggesting a workaround via IPOPT. I'll update the readme accordingly.

@akxen
Copy link
Owner

akxen commented Apr 5, 2019

Will close this issue for now. Have referenced it in the updated readme.

@akxen akxen closed this as completed Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants