Trying to use quadprog function from MathProgBase, has error "no method matching"

Hi there! Here is an example for how to use quadprog (Unless it’s super necessary, I recommend using JuMP directly over the lower-level MathProgBase; then you won’t have issues like this):

using MathProgBase, Ipopt
c = [0, 0]  # Vector
Q = [1 0; 0 1]  # Matrix
A = [1 1]  # Matrix
sense = ['=']  # Vector
b = [1]  # Vector
l = [0, 0]  # Vector
u = [1, 1]  # Vector

MathProgBase.quadprog(c, Q, A, sense, b, l, u, Ipopt.IpoptSolver())

You should also have a read of: