Benoît Legat
Benoît Legat
The release of JuMP v1.0 is quite imminent and will require MOI v1
Could this package be updated to JuMP v1.0? It's already working with JuMP v0.23 so it might be quite easy
```julia julia> x = [1, 2]; n = 1; I = 1:1; julia> x[n^2 .+ I] 1-element Vector{Int64}: 2 julia> JuliaFormatter.format_text("x[n^2 .+ I]") ERROR: Error while PARSING formatted text: 1...
Needs https://github.com/jump-dev/PolyJuMP.jl/pull/126
Closes https://github.com/jump-dev/SumOfSquares.jl/issues/344
With the rewrite on StarAlgebras in https://github.com/jump-dev/SumOfSquares.jl/pull/355, we can now use bases that are not monomial @kalmarek do you have a nice example we could use in the docs ?
If we use `SA.AlgebraElement` with sparse coefficients, it's not going to exploit the mutability of the underlying MOI expression so it will be inefficient. The advantage of https://github.com/jump-dev/SumOfSquares.jl/pull/355 where we...
Consider the constraint `@constraint(model, x^2 in SOSCone(), basis = Chebyshev)`. If we convert `x^2` to Chebyshev, we get `1/2 * x^2 + 1/2` so the newton polytope gives `[1, x]`....
See https://discourse.julialang.org/t/performance-of-primal-versus-dual-forms-in-jump/116633