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

Add serialization/deserialization for rules #799

Open
khurram-ghani opened this issue Dec 6, 2023 · 0 comments
Open

Add serialization/deserialization for rules #799

khurram-ghani opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@khurram-ghani
Copy link
Collaborator

Describe the feature you'd like
Rules cannot currently be pickled. This will be useful, especially for BatchTrustRegion rules.

Is your feature request related to a problem? Please describe.
In order to continue an optimization from a previous run with BatchTrustRegion rules, one method to is to re-use a previous instance of the rule. Hence, the ability to serialize/deserialize the rule will be useful here.

Describe alternatives you've considered
The alternative method to continue an optimization is to create a new instance of the rule with the subspaces from a previous state.

Additional context
Related to #791.

@uri-granta uri-granta added the enhancement New feature or request label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants