Skip to content

automatically generated lagrangian allocates #133

Open
@baggepinnen

Description

@baggepinnen

The automatically generated lagrangian allocates a lot of memory, killing performance
https://github.com/SciML/OptimizationBase.jl/blob/main/src/OptimizationDISparseExt.jl#L121C2-L137C12

It would be nice if it could use a cache instead of recreating the _res = zeros(eltype(x), num_cons) on each invokation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions