The TomSym ezsolve engine will automatically detect that the problem is a convex QP problem and assign the most suitable solver:
toms x y
solution = ezsolve(3*x-4*y+4*(x^2+y^2)+x*y, ...
{x+y<=5, x==y, x>=0, y>=0});
The TomSym ezsolve engine will automatically detect that the problem is a convex QP problem and assign the most suitable solver:
toms x y
solution = ezsolve(3*x-4*y+4*(x^2+y^2)+x*y, ...
{x+y<=5, x==y, x>=0, y>=0});