Skip to content

Update jac_lin_coord methods #501

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
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

arnavk23
Copy link
Contributor

@arnavk23 arnavk23 commented Jul 9, 2025

The linear Jacobian part is independent of x, so passing it became unnecessary.

  • jac_lin_coord(nlp, x)jac_lin_coord(nlp)
  • jac_lin_coord!(nlp, x, vals)jac_lin_coord!(nlp, vals)

Closes #404

@arnavk23
Copy link
Contributor Author

arnavk23 commented Jul 9, 2025

@amontoison @tmigot please review the changes made here.

@arnavk23
Copy link
Contributor Author

arnavk23 commented Jul 9, 2025

@amontoison @tmigot All test pass except the one breakage/upload one.

@amontoison
Copy link
Member

@arnavk23 It is a breaking change if we drop the signature with x, we should still support the old API and make it deprecated.

Copy link
Member

@tmigot tmigot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

jac_lin_coord doesn't need to know x
3 participants