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

Remove lambda function from BaseProblem to avoid error in multiprocessing #61

Closed
jwhhh opened this issue Sep 9, 2022 · 0 comments · Fixed by #62
Closed

Remove lambda function from BaseProblem to avoid error in multiprocessing #61

jwhhh opened this issue Sep 9, 2022 · 0 comments · Fixed by #62
Assignees
Labels
cofi core New feature or refactoring for core api WIP Work in progress

Comments

@jwhhh
Copy link
Member

jwhhh commented Sep 9, 2022

To enable multiprocessing, we need all functions to be pickleable.

Most auto-generated functions in BaseProblem have been fixed, but there are still some lambda functions. Search lambda in cofi/base_problem.py file.

@jwhhh jwhhh added the cofi core New feature or refactoring for core api label Sep 9, 2022
@jwhhh jwhhh self-assigned this Sep 13, 2022
@jwhhh jwhhh added the WIP Work in progress label Sep 13, 2022
@jwhhh jwhhh closed this as completed in #62 Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cofi core New feature or refactoring for core api WIP Work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant