xref: /petsc/src/ts/tutorials/optimal_control/output/ex1_2.out (revision ccfb0f9f40a0131988d7995ed9679700dae2a75a)
1  0 TAO,  Function value: 1.95262,  Residual: 0.794468
2  0 TAO,  Function value: 0.970661,  Residual: 0.228227
3  1 TAO,  Function value: 0.892481,  Residual: 0.247462
4  2 TAO,  Function value: 0.853749,  Residual: 0.0215901
5  3 TAO,  Function value: 0.852106,  Residual: 0.0319342
6  4 TAO,  Function value: 0.849969,  Residual: 0.00138967
7  5 TAO,  Function value: 0.849937,  Residual: 9.77977e-05
8  6 TAO,  Function value: 0.849937,  Residual: 3.47414e-08
9  7 TAO,  Function value: 0.849937,  Residual: 4.34207e-14
10Tao Object: 1 MPI process
11  type: bntr
12    Tao Object: (tao_bnk_cg_) 1 MPI process
13      type: bncg
14        CG Type: ssml_bfgs
15        Skipped Stepdirection Updates: 0
16        Scaled gradient steps: 0
17        Pure gradient steps: 0
18        Not a descent direction: 0
19        Line search fails: 0
20        Matrix has not been preallocated yet
21      TaoLineSearch Object: (tao_bnk_cg_) 1 MPI process
22        type: more-thuente
23        maximum function evaluations=30
24        tolerances: ftol=0.0001, rtol=1e-10, gtol=0.9
25        total number of function evaluations=0
26        total number of gradient evaluations=0
27        total number of function/gradient evaluations=0
28        Termination reason: CONTINUE_ITERATING
29      Active Set subset type: subvec
30      convergence tolerances: gatol=1e-08,       grtol=1e-08,  steptol=0.,       gttol=0.
31      Residual in Function/Gradient:=0.
32      Objective value=0.
33      total number of iterations=0,                              (max: 2000)
34      Solver never run
35    CG steps: 0
36    Newton steps: 7
37    Scaled gradient steps: 0
38    Gradient steps: 0
39    KSP termination reasons:
40      atol: 0
41      rtol: 4
42      ctol: 3
43      negc: 0
44      dtol: 0
45      iter: 0
46      othr: 0
47  TaoLineSearch Object: 1 MPI process
48    type: more-thuente
49    maximum function evaluations=30
50    tolerances: ftol=0.0001, rtol=1e-10, gtol=0.9
51    total number of function evaluations=0
52    total number of gradient evaluations=0
53    total number of function/gradient evaluations=0
54    using variable bounds
55    Termination reason: CONTINUE_ITERATING
56  KSP Object: (tao_bnk_) 1 MPI process
57    type: stcg
58    maximum iterations=10000, initial guess is zero
59    tolerances: relative=1e-05, absolute=1e-50, divergence=10000.
60    left preconditioning
61    using UNPRECONDITIONED norm type for convergence test
62  PC Object: (tao_bnk_) 1 MPI process
63    type: none
64    linear system matrix = precond matrix:
65    Mat Object: 1 MPI process
66      type: seqdense
67      rows=10, cols=10
68      total: nonzeros=100, allocated nonzeros=100
69      total number of mallocs used during MatSetValues calls=0
70  total KSP iterations: 48
71  Active Set subset type: subvec
72  convergence tolerances: gatol=1e-08,   grtol=1e-08,steptol=0.,   gttol=0.
73  Residual in Function/Gradient:=4.34207e-14
74  Objective value=0.849937
75  total number of iterations=7,                          (max: 50)
76  total number of function/gradient evaluations=21,      (max: unlimited)
77  total number of Hessian evaluations=8
78  Solution converged:    ||g(X)|| <= gatol
79Vec Object: 1 MPI process
80  type: seq
812.
822.88134
832.
842.79477
852.
862.68143
872.
882.52676
892.
902.30725
912.
921.99477
932.
941.59983
952.
961.22992
972.
980.984687
992.
1000.860197
101