Hypatia.jl
Hypatia.jl copied to clipboard
Add support for SumOfSquares cone
With this PR, when the user uses the sampling basis, e.g. with
@constraint(model, p in SOSCone(), zero_basis = BoxSampling(-ones(nvariables(p)), ones(nvariables(p))))
the constraint will be transformed to Hypatia.WSOSInterpNonnegativeCone
and not all the way to PSD constraints!
A few things still need to happen before this can be part of a release. To use this, one needs the development version of StarAlgebras
, MultivariateMoments
and PolyJuMP
as well as
- [ ] https://github.com/JuliaAlgebra/MultivariateBases.jl/pull/47
- [ ] https://github.com/jump-dev/SumOfSquares.jl/pull/378