Ipopt.jl icon indicating copy to clipboard operation
Ipopt.jl copied to clipboard

Callbacks allocate due to type instability

Open odow opened this issue 1 month ago • 0 comments

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

https://github.com/jump-dev/Ipopt.jl/blob/077843b3b77b5946011c7656c267fc272a0427f0/ext/IpoptMathOptInterfaceExt/MOI_wrapper.jl#L1033

odow avatar Nov 19 '25 21:11 odow