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

What to do about NL

Open odow opened this issue 6 years ago • 4 comments

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

odow avatar Jan 07 '19 15:01 odow

I'd say this is blocked by the lack of first-class support for nonlinear expressions in MOI.

mlubin avatar Jan 07 '19 18:01 mlubin

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

odow avatar Jan 07 '19 18:01 odow

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?

chriscoey avatar Jan 08 '19 03:01 chriscoey

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.

odow avatar Jan 08 '19 15:01 odow