MathOptFormat.jl
MathOptFormat.jl copied to clipboard
What to do about NL
It's an open question whether we should move the reading/writing of NL files from AMPLNLWriter over here. Thoughts?
https://github.com/JuliaOpt/AmplNLWriter.jl
I'd say this is blocked by the lack of first-class support for nonlinear expressions in MOI.
At the moment I just get the :expr_graph out of the NLPBlock
https://github.com/odow/MathOptFormat.jl/blob/26157101d05698d9d542808a0a1a106727fd65a2/src/MOF/nonlinear.jl#L62-L69
And then query the expressions
https://github.com/odow/MathOptFormat.jl/blob/26157101d05698d9d542808a0a1a106727fd65a2/src/MOF/nonlinear.jl#L72
I'd say this is blocked by the lack of first-class support for nonlinear expressions in MOI.
has there been any recent discussion on/proposals for this?
Don't think so. Let's push 0.19 out the door first. However, first-class support could look like something very similar to how we store things in MOF.