Closed maxchendt closed 2 years ago
Isn't HiGHS a linear solver? "HiGHS.jl is a wrapper for the HiGHS linear solver."
The product w * x
isn't defined. You need w' * x
. You'll run into numerical issues scaling the V matrix by 1e-5. Do this instead:
using JuMP
import HiGHS
V = [146 187 145; 187 854 104; 145 104 289]
w = [1.0, 1.0, 1.0]
EV = Model(HiGHS.Optimizer)
@variable(EV, x[1:3] >= 0)
@constraint(EV, w' * x .== 1)
@objective(EV, Min, x' * V * x)
optimize!(EV)
If you have further questions, please post on the community forum: https://discourse.julialang.org/c/domain/opt/13. We try to keep the GitHub issues for bug reports.
"HiGHS.jl is a wrapper for the HiGHS linear solver."
It supports QPs. I updated the README.
How to solve a QP?
the following error message was thrown