JuliaSmoothOptimizers / JuliaSmoothOptimizers/NLPModels.jl

Improve implementation of `jtprod`

Open
#384 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
191
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Following #379 , the implementation of `jtprod` [L. 475](https://github.com/JuliaSmoothOptimizers/NLPModels.jl/blob/289b81ceea0961cb60a6e536d32311114b09405b/src/nlp/api.jl#L475) allocate by default when the problem has linear and nonlinear constraints.

The optimal way is to re-implement this method when creating a `NLPModel`, but we could think of alternatives.
For instance, having a 5-arguments `mul!` with `jtprod`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.