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

Add meta for linear API #283

Merged
merged 2 commits into from
Jul 11, 2022
Merged

Add meta for linear API #283

merged 2 commits into from
Jul 11, 2022

Conversation

tmigot
Copy link
Member

@tmigot tmigot commented Jul 11, 2022

Add lin_nnzj and nln_nnzj in the meta.
There is no specific API to get the linear jacobian in CUTEst, so I used nnzj as an upper bound.

The tests break in this branch, the working one is here: https://github.com/JuliaSmoothOptimizers/CUTEst.jl/tree/add-linear-API

@tmigot tmigot requested a review from dpo July 11, 2022 08:10
@dpo
Copy link
Member

dpo commented Jul 11, 2022

Nick Gould's recommendation was to evaluate the gradient of each linear constraint individually.

@tmigot
Copy link
Member Author

tmigot commented Jul 11, 2022

Nick Gould's recommendation was to evaluate the gradient of each linear constraint individually.

That's what I planned for the jacobian structure/values

function NLPModels.jac_lin_structure!(
, but I wanted to skip evaluating it for the number of nonzeros.

@tmigot tmigot merged commit 464d610 into main Jul 11, 2022
@tmigot tmigot deleted the add-linear-meta branch July 11, 2022 21:32
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