% Object function to switch sign on the x vector

function [J] = Object_21_HXD(x,par,c0)
x = x.*par.sc.x;
UA1 = x(13);
UA2 = x(14);
UA3 = x(15);
J = (-x(1)+c0*(UA1^par.n+UA2^par.n+UA3^par.n)); % Cost function

end

