-
Notifications
You must be signed in to change notification settings - Fork 32
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
Fixing the ACOPF rectangular formulation and updating datasets #153
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some comments. Happy to help with the changes, just let me know. The main issue is that the tests do not pass. Have you run them locally?
@simonbowly I finished cleaning up the tests and I added the
we get:
Not sure why the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hhijazi I added a lot of comments.
My main concern is that so many of the tests are deleted or overwritten. It makes it impossible to tell whether any of the old cases would still work. The new version should be able to work with data that the old version handled.
@hhijazi when going through these comments (and the old ones) can you please mark them as resolved (if they are resolved). Also, I don't think the description or title of this PR is accurate any more. This isn't just a fix. Can you update these to better describe the new functionality? |
Adding back old files and tests Minor coding style updates
@hhijazi this looks good, thanks. I added some tests for the "aclocal" mode. It's expected that these do not find solutions with Gurobi 10 or 11, right? What should we do there? Error out if a user chooses aclocal with gurobi<12? Or take our chances but print a better warning message if/when it fails? |
I'll merge this and figure it out afterwards. |
Description
This PR fixes #123 and corrects the rectangular ACOPF formulation as follows:
Warning
The pstart initialization does not work with Gurobi 11, only with Gurobi 12. Therefore the performance on ACOPF will be bad until Gurobi 12. For instance, Gurobi 11.0.2 cannot find a feasible solution on network IEEE69.mat (from #123) after 600 seconds.