-
Notifications
You must be signed in to change notification settings - Fork 7
/
opt01_output.txt
30 lines (22 loc) · 979 Bytes
/
opt01_output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
>> opt01_run
---------------------------------------------------------
Running testcase_1: exact solution (2,-1)
---------------------------------------------------------
Newton method:
Gradient is within tolerance, x likely a local optimum.
Optimization required 8 function/gradient evaluations
Newton method produced (2.0000000e+00,-1.0000000e+00)
Value of F(X) = 1.9714253e-24
Secant method:
Gradient is within tolerance, x likely a local optimum.
Optimization required 13 function/gradient evaluations
BFGS method produced (2.0000000e+00,-1.0000000e+00)
Value of F(X) = 3.9936083e-30
---------------------------------------------------------
Running testcase_1 as least squares problem:
Exact solution (2,-1)
---------------------------------------------------------
Gradient is within tolerance, x likely a local optimum.
Optimization required 6 function/gradient evaluations
Gauss-Newton produced (2.0000000e+00, -1.0000000e+00)
Norm of RES(X) = 2.5337512e-12