Closed odow closed 4 months ago
This is effectively a duplicate of #146.
The default_copy_to
method hacks around the fact that the NLPBlock models do not support re-ordering parameters by permuting the variable order. So if we remove NLPBlock support (#147), then this method isn't needed.
See https://github.com/jump-dev/ParametricOptInterface.jl/blob/4ec565acdac480a19e772deb3274636ceef2b3b7/src/MOI_wrapper.jl#L1390-L1428
x-ref https://github.com/jump-dev/MathOptInterface.jl/pull/2520