You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new math formulation implementation (#411) has a time penalty for very small models which slows down the tests.
To speed things up, we should reduce how much of a backend model we build on testing the validity of different constraints.
Following the approach of Oemof, we can build incomplete models and then write an LP file that we do a string comparison against. Then we don't need to solve the model each time, nor do we need (or want) to run m.build() in the tests. Instead, we should use the backend API for adding constraints/variables/expressions one at a time.
Calliope version
v0.7.0-dev
The text was updated successfully, but these errors were encountered:
Problem description
The new math formulation implementation (#411) has a time penalty for very small models which slows down the tests.
To speed things up, we should reduce how much of a backend model we build on testing the validity of different constraints.
Following the approach of Oemof, we can build incomplete models and then write an LP file that we do a string comparison against. Then we don't need to solve the model each time, nor do we need (or want) to run
m.build()
in the tests. Instead, we should use the backend API for adding constraints/variables/expressions one at a time.Calliope version
v0.7.0-dev
The text was updated successfully, but these errors were encountered: