Skip to content

Add a buffer in NLPModelMeta for jtprod! #496

@amontoison

Description

@amontoison

@tmigot
I just remarked that jtprod! allocates if nlin > 0 and nnln > 0.
I think we should allocate a buffer of size nvar in NLPModelMeta to store an additional Jtv (linear or nonlinear) and then do the sum.
-> https://github.com/JuliaSmoothOptimizers/NLPModels.jl/blob/main/src/nlp/api.jl#L503-L523

cc @frapac

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions