% Object function to switch sign on the x vector

function [J] = Object_32_HXD(x,par,c0)
x = x.*par.sc.x;
UA1 = x(19);
UA2 = x(20);
UA3 = x(21);
UA4 = x(22);
UA5 = x(23);
J = (-x(1)+c0*(UA1^par.n+UA2^par.n+UA3^par.n+UA4^par.n+UA5^par.n)); % Cost function

end

