Skip to content

Callbacks allocate due to type instability #518

@odow

Description

@odow

These calls to nlp_data are not type stable, so every callback allocates. Can we fix this? One option is something like #514

return MOI.eval_objective(model.nlp_data.evaluator, x)::Float64

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