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

record_from_solution shoud have acces to the entire set of parameters #143

Open
Azercoco opened this issue Feb 28, 2024 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@Azercoco
Copy link

I am encountering an issue with record_from_solution on a custom problem state with a large amount of parameters I want to continue. I would like to write a common record_from_solution function which is independant on the parameter I chose to continue which save the full state of the problem. It would also make it more convenient when switching to codim2 continuation.

@rveltz
Copy link
Member

rveltz commented Feb 28, 2024

I see. Perhaps the best way would be for BK to pass the ContIterable and ContState like done with finalizer

It would also make it more convenient when switching to codim2 continuation.

Right

@rveltz
Copy link
Member

rveltz commented Mar 1, 2024

It would also make it more convenient when switching to codim2 continuation.

Note that you can pass the new record function to continuation for codim 2

@rveltz rveltz self-assigned this Mar 27, 2024
@rveltz rveltz added the enhancement New feature or request label Mar 27, 2024
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