You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using JuMP, PolyJuMP, Gurobi
model =Model(() -> PolyJuMP.QCQP.Optimizer(Gurobi.Optimizer()))
@variable(model, 0<= x <=1)
@constraint(model, (0+ x) * (x * x) ==0)
optimize!(model)
results in
LoadError: PolyJuMP.InvalidNLExpression("Unexpected expression type `MathOptInterface.ScalarAffineFunction{Float64}` of `0.0 + 1.0 MOI.VariableIndex(1)`")
P.S. I am so sorry @blegat and thank you for your time on developing this package.
The text was updated successfully, but these errors were encountered:
p.s., as you can probably tell @votroto, the QCQP solver is still a little under development. No one has tested the rough edges yet 😄 but that's for finding these issues!
Running
results in
P.S. I am so sorry @blegat and thank you for your time on developing this package.
The text was updated successfully, but these errors were encountered: