function f = objfun(x) A = x(1); B = x(2); f = -3*A - 2*B;