More specifically,
model = Model()
@variable(model, x[1:2])
@objective(model, Min, sum(x .^ 4))
@constraint(model, sum(x .^ 2) == 1)
nlp = MathOptNLPModel(model)
warns with
┌ Warning: Function MathOptInterface.ScalarQuadraticFunction{Float64} is not supported.
└ @ NLPModelsJuMP ~/.julia/packages/NLPModelsJuMP/1KSlI/src/utils.jl:219
And indeed, there are no constraints in the model. Solving the problem via JuMP using NLPModels.Optimizer works.
cc. @blegat, if you can help us again.
More specifically,
warns with
And indeed, there are no constraints in the model. Solving the problem via JuMP using
NLPModels.Optimizerworks.cc. @blegat, if you can help us again.