function y = PrG5c(x)
% Matlab Code by A. Hedar (Nov. 23, 2005).
% Constraints
y(1) = x(3)-x(4)-0.55;
y(2) = x(4)-x(3)-0.55;
y(3) = abs(1000*(sin(-x(3)-0.25)+sin(-x(4)-0.25))+894.8-x(1))-1e-4;
y(4) = abs(1000*(sin(x(3)-0.25)+sin(x(3)-x(4)-0.25))+894.8-x(2))-1e-4;
y(5) = abs(1000*(sin(x(4)-0.25)+sin(x(4)-x(3)-0.25))+1294.8)-1e-4;
% Variable lower bounds
for j=1:2; y(j+5) = -x(j); end
for j=1:2; y(j+7) = -x(j+2)-0.55; end
% Variable upper bounds
for j=1:2; y(j+9) = x(j)-1200; end
for j=1:2; y(j+11) = x(j+2)-0.55; end
% *************************************************************************
y=y';