JuMP & SumOfSquares generate SDPs with ~18x more constraints than YALMIP

As discussed in YALMIP vs JuMP - #10 by blegat, YALMIP automatically dualizes the problem before giving it to Mosek. To have the same behavior with JuMP or SumOfSquares, use https://github.com/jump-dev/Dualization.jl/ and model = Model(dual_optimizer(Mosek.Optimizer)).

2 Likes