jump-dev / MathOptInterface.jl

A data structure for mathematical optimization problems
http://jump.dev/MathOptInterface.jl/
Other
380 stars 86 forks source link

[FileFormats.CBF] read functions as VectorOfVariables if possible #2477

Closed odow closed 3 months ago

odow commented 3 months ago

x-ref https://github.com/jump-dev/MathOptInterface.jl/issues/2457#issuecomment-2048784730

@blegat can decide whether this is an idea worth pursuing.

blegat commented 3 months ago

I'm not a fan of the idea, it's quite orthogonal to the way the rest of JuMP works: no magic unless there is a MOI layer explicitly doing that. I can see myself showcasing difference between standard and geometric conic form and then not understanding why there is actually no difference having to dig in to understand that the CBF file changed it. The fact that JuMP is consistent is what makes it adequate for advanced users to get a good understanding of it and use it as lower-level building block for their tools so I think we should try to stay consistent

odow commented 3 months ago

Fine by me