function J = objfun(x, Prob)
J = x(end-1);
