Skip to content

Empty-op warning should not be printed when calling linearize #3617

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

Open
baggepinnen opened this issue May 9, 2025 · 0 comments
Open

Empty-op warning should not be printed when calling linearize #3617

baggepinnen opened this issue May 9, 2025 · 0 comments

Comments

@baggepinnen
Copy link
Contributor

julia> linearize(cs, inputs, outputs)
┌ Warning: An empty operating point was passed to `linearization_function`. An operating point containing the variables that will be changed in `linearize` should be provided. Disable this warning by passing `warn_empty_op = false`.

this warning only makes sense if the user calls the lower-level function themselves. When calling the higher-level linearize, there is no option to reuse the generated function and the warning is thus unnecessary.

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