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

eliminate min up/down time constraints for units with min up/down = 1 #18

Open
rdzman opened this issue Sep 24, 2020 · 1 comment
Open
Assignees

Comments

@rdzman
Copy link
Member

rdzman commented Sep 24, 2020

From https://www.mail-archive.com/[email protected]/msg06940.html ...

It looks like this would be a good place for some optimization of the code. I believe it’s true that the min up and down time constraints are essentially unnecessary when the min up and down time values are 1. It seems to me that the only difference is that it becomes feasible to have a startup and shutdown event (v = w = 1) for a given unit at a given period, resulting in no change in state. However, this should have no impact unless the startup and shutdown costs are non-zero, in which case that solution would not be optimal. So, I believe, simply eliminating these constraints when the min up/down times are 1 should result in an equivalent optimization problem.

To optimize this code to handle the general case more efficiently for large systems, it seems like maybe we should be indexing these constraints by (t, tau) instead of (t, i).

@rdzman rdzman self-assigned this Sep 24, 2020
@rdzman
Copy link
Member Author

rdzman commented Apr 16, 2024

Building of min up/down time constraints was optimized significantly in 7923b99 (single constraint set per period, not per period per generator). So the setup time should no longer be the bottleneck it was previously.

However, the unnecessary min up/down time constraints for units with min up/down time of 1 have not yet been eliminated, so they may still affect solve times.

@rdzman rdzman changed the title optimize handling of min up/down time constraints eliminate min up/down time constraints for units with min up/down = 1 Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant