function F = KBg1F(x)
%

F(1) = -0.83214 + (1-x(4)) + (1-x(2)) - x(6)*(1-x(2));
F(2) = -0.47548 + (1-x(1));
F(3) = -0.55266 + (x(5));
F(4) = -0.89792 + (1-x(4)) + (1-x(1)) + x(5) - x(7)*x(5) - x(8)*(1-x(1)) - x(8)*x(5) + x(8)*x(7)*x(5);
F(5) = -0.9204 + (1-x(4)) + (1-x(2)) + x(5) - x(9)*x(5) - x(10)*(1-x(2)) - x(10)*x(5) + x(10)*x(9)*x(5);
F(6) = -0.38497 + (x(2));
F(7) = -0.74405 + x(2) + x(3) - x(11)*x(3);
F(8) = -0.86897 + (1-x(2)) + x(5) - x(11)*x(5);
F(9) = -0.53009 + (x(3));
F(10) = -0.88252 + (1-x(5)) + x(3) + x(4) - x(12)*x(4) - x(13)*x(3) - x(13)*x(4) + x(13)*x(12)*x(4);
F(11) = -0.8014 + x(3) + x(5) - x(14)*x(5);
F(12) = -0.86298 + x(1) + x(3) + x(5) - x(15)*x(5) - x(16)*x(3) - x(16)*x(5) + x(16)*x(15)*x(5);
F(13) = -0.88252 + (1-x(4)) + x(3) + x(5) - x(17)*x(5) - x(18)*x(3) - x(18)*x(5) + x(18)*x(17)*x(5);
