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

Dualizing ParametricOptInterface

Open matbesancon opened this issue 6 years ago • 4 comments

A model created with ParameterJuMP does not currently suppport dualization, the parameters are lost in the way. Given the form given in the manual, a parameter p such that one constraint is of the form A_i x + b_i + p in C_i ends up with an additive coefficient in the objective of the dual: y_i (b_i + p).

My intuition is that things would be smoother with ParameterJuMP.jl implemented at the MOI level and with the sets being for example MOI.EqualTo{ParamAffineExpression}, but I recognize it puts a burden on maintenance efforts.

As of now, I haven't figured out a place where the parameters appear in types of the JuMP model or constraints so it might be tricky without modifying ParameterJuMP.jl

matbesancon avatar Sep 09 '19 19:09 matbesancon

The current plan is that we can connect with ParametricOptInterface, once that is stable enough.

joaquimg avatar Apr 19 '22 03:04 joaquimg

Hello,

I was wondering if Dualization.jl supports ParametricOptInterface parameters for LPs at this point or if this is still work in progress?

dsigler1234 avatar Aug 12 '24 16:08 dsigler1234

Hi @dsigler1234 I think it still does not work but we haven`t recently tested it. I might look at it later this week but would not count on it working.

guilhermebodin avatar Aug 12 '24 17:08 guilhermebodin

@guilhermebodin thanks for your quick reply. Would a pull request with this capability for LPs be of interest?

dsigler1234 avatar Aug 15 '24 18:08 dsigler1234