pyomo icon indicating copy to clipboard operation
pyomo copied to clipboard

Deprecate use of positional arguments in CyIpopt callbacks

Open blnicho opened this issue 6 months ago • 0 comments

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: https://github.com/Pyomo/pyomo/pull/3289#discussion_r1718531487)

blnicho avatar Aug 20 '24 05:08 blnicho