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

Model with EC SEI submodel takes long time to build #1225

Closed
valentinsulzer opened this issue Nov 1, 2020 · 1 comment · Fixed by #1227
Closed

Model with EC SEI submodel takes long time to build #1225

valentinsulzer opened this issue Nov 1, 2020 · 1 comment · Fixed by #1227

Comments

@valentinsulzer
Copy link
Member

There is a parameter missing, so it is calling our (slow) implementation of the levenshtein ratio. Either speed up levenshtein ratio, or write the EC submodel in such a way that it does not need to call that (e.g. bypass the levenshtein ratio, which is only used for a nicer error message)

@valentinsulzer
Copy link
Member Author

The problem is the try-except block in set_algebraic. Replacing with if ... in variables should be faster.

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

Successfully merging a pull request may close this issue.

1 participant