Skip to content

Conversation

@andrewrosemberg
Copy link

@andrewrosemberg andrewrosemberg commented Dec 12, 2025

Comment on lines +87 to +97
"""
NonLinearStructure
Structure containing Jacobian and Hessian structures of nonlinear constraints:
- jac_rows: row indices of the Jacobian in Coordinate format (COO) format
- jac_cols: column indices of the Jacobian in COO format
- nnzj: number of non-zero entries in the Jacobian
- hess_rows: row indices of the Hessian in COO format
- hess_cols: column indices of the Hessian in COO format
- nnzh: number of non-zero entries in the Hessian
"""
Copy link
Author

Choose a reason for hiding this comment

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

added to help me remember easily

@amontoison
Copy link
Owner

@andrewrosemberg Should we store the constraints for the oracle before or after the other nonlinear constraints?
If we add the new "oracle constraints" after, we may reduce the "diff code" and maybe do less errors with the indices but the question is opened.

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.

2 participants