Open kneshat opened 2 weeks ago
Thanks, once https://github.com/jump-dev/SumOfSquares.jl/pull/355 is merged, I'll rework the symmetry reduction part and take a look that this example
@Khashayar-Neshat until then, if all you want is to solve the optimization problem and get the optimal value you may use sos_problem
(or a modification of it). The actual model is created here
Symmetry reduction does not work properly while doing SOS optimization. Here is a minimal example, which is similar to an example in the SumsOfSquares document. Here, I used
poly = sum(x) + sum(x.^4)
instead ofpoly = sum(x) + sum(x.^2)
@kalmarek has checked the problem and said "Indeed this seems to be the problem with SumOfSquares.jl formulation, as SymbolicWedderburn.jl correctly reduces the optimization problem"
For more info: https://discourse.julialang.org/t/symmetry-reduction-in-sumsofsquares/115727