xref: /petsc/src/ts/tutorials/optimal_control/output/ex1_2.out (revision eaa7cf455101e7391ead982166c6e99faf273403)
1c4762a1bSJed Brown  0 TAO,  Function value: 1.95262,  Residual: 0.794468
2c4762a1bSJed Brown  0 TAO,  Function value: 0.970661,  Residual: 0.228227
3c4762a1bSJed Brown  1 TAO,  Function value: 0.892481,  Residual: 0.247462
4c4762a1bSJed Brown  2 TAO,  Function value: 0.853749,  Residual: 0.0215901
5c4762a1bSJed Brown  3 TAO,  Function value: 0.852106,  Residual: 0.0319342
6c4762a1bSJed Brown  4 TAO,  Function value: 0.849969,  Residual: 0.00138967
7b17ffb64SBarry Smith  5 TAO,  Function value: 0.849937,  Residual: 9.77977e-05
8b17ffb64SBarry Smith  6 TAO,  Function value: 0.849937,  Residual: 3.47414e-08
9b17ffb64SBarry Smith  7 TAO,  Function value: 0.849937,  Residual: 4.34207e-14
108cc725e6SPierre JolivetTao Object: 1 MPI process
11c4762a1bSJed Brown  type: bntr
12b17ffb64SBarry Smith    Tao Object: (tao_bnk_cg_) 1 MPI process
13b17ffb64SBarry Smith      type: bncg
14b17ffb64SBarry Smith        CG Type: ssml_bfgs
15b17ffb64SBarry Smith        Skipped Stepdirection Updates: 0
16b17ffb64SBarry Smith        Scaled gradient steps: 0
17b17ffb64SBarry Smith        Pure gradient steps: 0
18b17ffb64SBarry Smith        Not a descent direction: 0
19b17ffb64SBarry Smith        Line search fails: 0
20b17ffb64SBarry Smith        Matrix has not been preallocated yet
21b17ffb64SBarry Smith      TaoLineSearch Object: (tao_bnk_cg_) 1 MPI process
22b17ffb64SBarry Smith        type: more-thuente
23b17ffb64SBarry Smith        maximum function evaluations=30
24b17ffb64SBarry Smith        tolerances: ftol=0.0001, rtol=1e-10, gtol=0.9
25b17ffb64SBarry Smith        total number of function evaluations=0
26b17ffb64SBarry Smith        total number of gradient evaluations=0
27b17ffb64SBarry Smith        total number of function/gradient evaluations=0
281404853cSMatthew G. Knepley        Termination reason: CONTINUE_ITERATING
29b17ffb64SBarry Smith      Active Set subset type: subvec
3009cb0f53SBarry Smith      convergence tolerances: gatol=1e-08,       grtol=1e-08,  steptol=0.,       gttol=0.
31b17ffb64SBarry Smith      Residual in Function/Gradient:=0.
32b17ffb64SBarry Smith      Objective value=0.
33b17ffb64SBarry Smith      total number of iterations=0,                              (max: 2000)
3409cb0f53SBarry Smith      Solver never run
35c4762a1bSJed Brown    CG steps: 0
36c4762a1bSJed Brown    Newton steps: 7
37c4762a1bSJed Brown    Scaled gradient steps: 0
38c4762a1bSJed Brown    Gradient steps: 0
39c4762a1bSJed Brown    KSP termination reasons:
40c4762a1bSJed Brown      atol: 0
41c4762a1bSJed Brown      rtol: 4
42c4762a1bSJed Brown      ctol: 3
43c4762a1bSJed Brown      negc: 0
44c4762a1bSJed Brown      dtol: 0
45c4762a1bSJed Brown      iter: 0
46c4762a1bSJed Brown      othr: 0
478cc725e6SPierre Jolivet  TaoLineSearch Object: 1 MPI process
48c4762a1bSJed Brown    type: more-thuente
49c4762a1bSJed Brown    maximum function evaluations=30
50c4762a1bSJed Brown    tolerances: ftol=0.0001, rtol=1e-10, gtol=0.9
51c4762a1bSJed Brown    total number of function evaluations=0
52c4762a1bSJed Brown    total number of gradient evaluations=0
53c4762a1bSJed Brown    total number of function/gradient evaluations=0
54c4762a1bSJed Brown    using variable bounds
551404853cSMatthew G. Knepley    Termination reason: CONTINUE_ITERATING
568cc725e6SPierre Jolivet  KSP Object: (tao_bnk_) 1 MPI process
57c4762a1bSJed Brown    type: stcg
58c4762a1bSJed Brown    maximum iterations=10000, initial guess is zero
59c4762a1bSJed Brown    tolerances: relative=1e-05, absolute=1e-50, divergence=10000.
60c4762a1bSJed Brown    left preconditioning
61c4762a1bSJed Brown    using UNPRECONDITIONED norm type for convergence test
628cc725e6SPierre Jolivet  PC Object: (tao_bnk_) 1 MPI process
63c4762a1bSJed Brown    type: none
64*ecf3d421SBarry Smith    linear system matrix, which is also used to construct the preconditioner:
658cc725e6SPierre Jolivet    Mat Object: 1 MPI process
66c4762a1bSJed Brown      type: seqdense
67c4762a1bSJed Brown      rows=10, cols=10
68c4762a1bSJed Brown      total: nonzeros=100, allocated nonzeros=100
69c4762a1bSJed Brown      total number of mallocs used during MatSetValues calls=0
70c4762a1bSJed Brown  total KSP iterations: 48
71c4762a1bSJed Brown  Active Set subset type: subvec
7209cb0f53SBarry Smith  convergence tolerances: gatol=1e-08,   grtol=1e-08,steptol=0.,   gttol=0.
73b17ffb64SBarry Smith  Residual in Function/Gradient:=4.34207e-14
74c4762a1bSJed Brown  Objective value=0.849937
75c4762a1bSJed Brown  total number of iterations=7,                          (max: 50)
7609cb0f53SBarry Smith  total number of function/gradient evaluations=21,      (max: unlimited)
77c4762a1bSJed Brown  total number of Hessian evaluations=8
78c4762a1bSJed Brown  Solution converged:    ||g(X)|| <= gatol
798cc725e6SPierre JolivetVec Object: 1 MPI process
80c4762a1bSJed Brown  type: seq
81c4762a1bSJed Brown2.
82c4762a1bSJed Brown2.88134
83c4762a1bSJed Brown2.
84c4762a1bSJed Brown2.79477
85c4762a1bSJed Brown2.
86c4762a1bSJed Brown2.68143
87c4762a1bSJed Brown2.
88c4762a1bSJed Brown2.52676
89c4762a1bSJed Brown2.
90c4762a1bSJed Brown2.30725
91c4762a1bSJed Brown2.
92c4762a1bSJed Brown1.99477
93c4762a1bSJed Brown2.
94c4762a1bSJed Brown1.59983
95c4762a1bSJed Brown2.
96c4762a1bSJed Brown1.22992
97c4762a1bSJed Brown2.
98c4762a1bSJed Brown0.984687
99c4762a1bSJed Brown2.
100c4762a1bSJed Brown0.860197
101