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

Deprecate use of positional arguments in CyIpopt callbacks #3354

Open
blnicho opened this issue Aug 20, 2024 · 0 comments
Open

Deprecate use of positional arguments in CyIpopt callbacks #3354

blnicho opened this issue Aug 20, 2024 · 0 comments

Comments

@blnicho
Copy link
Member

blnicho commented Aug 20, 2024

Summary

This idea is from a discussion on PR #3289. We want to be able to support CyIpopt callbacks with either 12 or 13 arguments but it can be confusing how many arguments are required in the default case when using positional arguments. We should update our CyIpopt callback API to only support named arguments to make things clearer and more future-proof.

(See comments here: #3289 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant