-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dual inception creates more variables as we dualize #9
Comments
This seems to be due to the fact that in MOI, the primal is kind of: all variables are free and the dual is: all constraint are equalities. |
You can take inspiration from here: |
does it still happen with compact mode? |
This was fixed by #112 for conic problems at least. |
Hey guy, a thought I had after the
dualize(dualize(model)) == model
commentary by @blegat on gitter.Consider the problem
Following the convention here http://www.juliaopt.org/MathOptInterface.jl/stable/apimanual/#Advanced-1 the dual will be
Now note that if we dualize the dual problem it will have 6 variables, if I did not make any mistakes it should be
This kind of problem happens because I don't receive the model with the equality and slack variable, so I can't do this primal dual
So the question, it is important to make
dualize(dualize(model)) == model
to work?The text was updated successfully, but these errors were encountered: