clear all;
close all;
clc;

%generate objective function
Q = 2*eye(2);
c = [-14;-6];
gamma = -7;

%generate (linear) inequality constraints
A = [1 1; 1 2];
alpha = [2;3];

%set sufficient initial value
x = [-2;0];
mu = [1;1];

%solve quadric programm using ASS
[x,lambda,mu,fx,nit] = qp(Q,c,gamma,A,alpha,[],[],x,[],mu)
