Fri Mar 7 22:36:18 2025 test_opt_con_test(): python version: 3.10.12 numpy version: 1.26.4 Test test_opt_con(). test_opt_con_test01(): For each problem, print the title. Problem Title 1 f(x) = - exp(prod(x)) * sin(sum(x)). 2 f(x) = - exp(x(1)*x(2)^2*x(3)^3*x(4)^4) * sin(sum(x)). 3 f(x) = -1000 * product(x) * exp(-x(1)-2x(2)-3x(3)-4x(4)). 4 f(x) = -100 * product(x) * exp(-x(4)) / (1+x(1)+x(2)+x(3)). 5 f(x) = (x(1)-3/11)^2+(x(2)-6/13)^2+(x(3)-12/23)^4+(x(4)-8/37)^6 6 f(x) = - sin(1/x(1)+1/x(2)+1/x(3)+1/x(4)) 7 f(x) = Langerman2 function 8 f(x) = Langerman10 function test_opt_con_test02(): For each problem, evaluate the function at many points. Number of sample points = 100000 Problem 1 "f(x) = - exp(prod(x)) * sin(sum(x))." M = 4 I A(i) B(i) 0 0 1 1 0 1 2 0 1 3 0 1 Max(F) = 1.7481099495886738 Min(F) = -1.0260249556405416 F(X*) = [-1.02619851] Problem 2 "f(x) = - exp(x(1)*x(2)^2*x(3)^3*x(4)^4) * sin(sum(x))." M = 4 I A(i) B(i) 0 0 1 1 0 1 2 0 1 3 0 1 Max(F) = 1.2633657369174918 Min(F) = -1.0002489041798597 F(X*) = [-1.00008911] Problem 3 "f(x) = -1000 * product(x) * exp(-x(1)-2x(2)-3x(3)-4x(4))." M = 4 I A(i) B(i) 0 0 1 1 0 1 2 0 1 3 0 1 Max(F) = -4.0468065237876754e-07 Min(F) = -7.571504041512357 F(X*) = [-7.6315162] Problem 4 "f(x) = -100 * product(x) * exp(-x(4)) / (1+x(1)+x(2)+x(3))." M = 4 I A(i) B(i) 0 0 1 1 0 1 2 0 1 3 0 1 Max(F) = -1.7834397258437904e-07 Min(F) = -9.171143632695673 F(X*) = [-9.19698603] Problem 5 "f(x) = (x(1)-3/11)^2+(x(2)-6/13)^2+(x(3)-12/23)^4+(x(4)-8/37)^6" M = 4 I A(i) B(i) 0 0 1 1 0 1 2 0 1 3 0 1 Max(F) = 1.01374128612406 Min(F) = 0.0001455438054764795 F(X*) = [0.] Problem 6 "f(x) = - sin(1/x(1)+1/x(2)+1/x(3)+1/x(4))" M = 4 I A(i) B(i) 0 0 1 1 0 1 2 0 1 3 0 1 Max(F) = 0.9999999992851416 Min(F) = -0.9999999994335469 F(X*) = [-0.99999998] Problem 7 "f(x) = Langerman2 function" M = 2 I A(i) B(i) 0 0 10 1 0 10 Max(F) = 3.864911101476699 Min(F) = -4.8356136499650875 X* is not given. Problem 8 "f(x) = Langerman10 function" M = 10 I A(i) B(i) 0 0 10 1 0 10 2 0 10 3 0 10 4 0 10 5 0 10 6 0 10 7 0 10 8 0 10 9 0 10 Max(F) = 0.09929490105415446 Min(F) = -0.09277827268432434 X* is not given. test_opt_con_test(): Normal end of execution. Fri Mar 7 22:36:38 2025