07-Jan-2022 20:09:53 fmincon_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test fmincon(). FMINCON_TEST01 Minimize the negative Niederreiter-McCurley #1 function Initial data: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.500000 0.500000 0.500000 0.500000 9.679421e-01 Local minimum found that satisfies the constraints. Optimization completed because the objective function is non-decreasing in feasible directions, to within the value of the optimality tolerance, and constraints are satisfied to within the value of the constraint tolerance. Computed optimum after 35 function evaluations: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.409888 0.409888 0.409888 0.409888 1.026199e+00 FMINCON_TEST02 Minimize the negative Niederreiter-McCurley #2 function Initial data: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.500000 0.500000 0.500000 0.500000 9.101858e-01 Local minimum found that satisfies the constraints. Optimization completed because the objective function is non-decreasing in feasible directions, to within the value of the optimality tolerance, and constraints are satisfied to within the value of the constraint tolerance. Computed optimum after 176 function evaluations: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.157266 0.314594 0.471760 0.628801 1.000254e+00 FMINCON_TEST03 Minimize the negative Niederreiter-McCurley #3 function Initial data: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.500000 0.500000 0.500000 0.500000 4.211217e+00 Local minimum found that satisfies the constraints. Optimization completed because the objective function is non-decreasing in feasible directions, to within the value of the optimality tolerance, and constraints are satisfied to within the value of the constraint tolerance. Computed optimum after 118 function evaluations: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.999839 0.500000 0.333333 0.250000 7.631516e+00 FMINCON_TEST04 Minimize the negative Niederreiter-McCurley #4 function Initial data: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.500000 0.500000 0.500000 0.500000 2.995213e+00 Local minimum found that satisfies the constraints. Optimization completed because the objective function is non-decreasing in feasible directions, to within the value of the optimality tolerance, and constraints are satisfied to within the value of the constraint tolerance. Computed optimum after 110 function evaluations: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.999882 0.999882 0.999882 0.999856 9.196986e+00 FMINCON_TEST05 Minimize the negative Niederreiter-McCurley #5 function Initial data: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.500000 0.500000 0.500000 0.500000 -5.365471e-02 Local minimum found that satisfies the constraints. Optimization completed because the objective function is non-decreasing in feasible directions, to within the value of the optimality tolerance, and constraints are satisfied to within the value of the constraint tolerance. Computed optimum after 145 function evaluations: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.272728 0.461538 0.516067 0.260365 -8.440078e-09 FMINCON_TEST06 Minimize the negative Niederreiter-McCurley #6 function Initial data: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.500000 0.500000 0.500000 0.500000 9.893582e-01 Local minimum found that satisfies the constraints. Optimization completed because the objective function is non-decreasing in feasible directions, to within the value of the optimality tolerance, and constraints are satisfied to within the value of the constraint tolerance. Computed optimum after 38 function evaluations: ---X(1)--- ---X(2)--- ---X(3)--- ---X(4)--- ----F(X)---- 0.509296 0.509296 0.509296 0.509296 1.000000e+00 fmincon_test(): Normal end of execution. 07-Jan-2022 20:09:56