I’m trying to use SumOfSquares with arbitrary precision. Is this possible?
if I do
model = GenericModel{BigFloat}(COSMO.Optimizer{BigFloat}) #... @constraint(model, con1 in SOSCone())
where con1 is a
Polynomial{DynamicPolynomials.Commutative{DynamicPolynomials.CreationOrder}, Graded{LexOrder}, GenericAffExpr{BigFloat, GenericVariableRef{BigFloat}}}
Then I get a weird error
ERROR: MethodError: no method matching promote_operation(::typeof(-), ::Type{…}, ::Type{…}, ::Type{…})
Stacktrace:
[1] concrete_bridge_type(::Type{…}, F::Type{…}, ::Type{…})
Replacing BigFloat with Float64 works fine. Should this be supported? Or am I misunderstanding?