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

Avoid regenerating the problem if all you want to do is change the number of nodes or interval #112

Open
moorepants opened this issue Oct 25, 2023 · 1 comment

Comments

@moorepants
Copy link
Member

It isn't clear to me if it is possible (currently) to change the number of nodes and the interval without regenerating the Problem. It would be preferable if you didn't have to, so then you could try different discretization spacing easily wthen debugging.

@moorepants
Copy link
Member Author

The loop in ufuncify_matrix is specified from the shape of the matrix:

https://github.com/csu-hmc/opty/blob/master/opty/utils.py#L469

It may be possible to simply change the number of nodes on an existing Problem to try different node numbers, but there may be things in Problem that hiccup on that.

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

No branches or pull requests

1 participant