function F = KBg97F(x)
%

F(1) = -0.71385 + x(1) + x(4) - x(6)*x(4);
F(2) = -0.85034 + (1-x(4)) + x(2) + x(3) - x(7)*x(3) - x(8)*x(2) - x(8)*x(3) + x(8)*x(7)*x(3);
F(3) = -0.9376 + (1-x(5)) + (1-x(4)) + x(3) - x(9)*x(3) - x(10)*(1-x(4)) - x(10)*x(3) + x(10)*x(9)*x(3);
F(4) = -0.88695 + (1-x(5)) + x(1) + x(3) - x(11)*x(3) - x(12)*x(1) - x(12)*x(3) + x(12)*x(11)*x(3);
F(5) = -0.77151 + (1-x(1)) + x(3) - x(12)*x(3);
F(6) = -0.4592 + (x(3));
F(7) = -0.81628 + (1-x(2)) + (1-x(1)) + x(4) - x(13)*x(4) - x(14)*(1-x(1)) - x(14)*x(4) + x(14)*x(13)*x(4);
F(8) = -0.87001 + (1-x(5)) + (1-x(4)) + (1-x(1)) - x(15)*(1-x(1)) - x(16)*(1-x(4)) - x(16)*(1-x(1)) + x(16)*x(15)*(1-x(1));
F(9) = -0.50632 + (1-x(5));
F(10) = -0.74179 + x(1) + x(5) - x(17)*x(5);
F(11) = -0.43859 + (x(4));
F(12) = -0.88923 + (1-x(5)) + (1-x(2)) + x(1) - x(18)*x(1) - x(19)*(1-x(2)) - x(19)*x(1) + x(19)*x(18)*x(1);
F(13) = -0.86265 + (1-x(1)) + x(2) + x(5) - x(20)*x(5) - x(21)*x(2) - x(21)*x(5) + x(21)*x(20)*x(5);
F(14) = -0.67913 + (1-x(4)) + x(2) - x(22)*x(2);
