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

Cost Model Refactoring #778

Closed
ccoffrin opened this issue Jun 10, 2021 · 1 comment
Closed

Cost Model Refactoring #778

ccoffrin opened this issue Jun 10, 2021 · 1 comment

Comments

@ccoffrin
Copy link
Member

Explore if adding support for polynomial costs into objective_variable_pg_cost (and similar functions) can be used to simplify the implementation of the objective functions.

Adding special cases in the PWL logic in objective_variable_pg_cost for the constant and linear functions (without the introduction of lambda variables) can also improve performance in some cases.

ccoffrin added a commit that referenced this issue Aug 7, 2022
ccoffrin added a commit that referenced this issue Aug 7, 2022
* objective building  rewrite
* tests passing, closes #778, closes #829
* add test for mixed mode cost data
* note to change log
@ccoffrin ccoffrin added this to the v0.20.0 milestone Aug 14, 2022
@ccoffrin
Copy link
Member Author

This refactoring should also support mixing the types of cost models per component. Some generator should be able to be polynomial while others are pwl. Mixing should also work across generator and dcline components.

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

1 participant