Home
last modified time | relevance | path

Searched refs:Hessian (Results 1 – 25 of 44) sorted by relevance

12

/petsc/src/tao/unconstrained/tutorials/output/
H A Deptorsion1_3.out6 ---------- Testing Hessian -------------
8 of hand-coded and finite difference Hessian entries greater than <threshold>.
9 Testing hand-coded Hessian, if (for double precision runs) ||J - Jfd||_F/||J||_F is
10 O(1.e-8), the hand-coded Hessian is probably correct.
13 ---------- Testing Hessian -------------
16 ---------- Testing Hessian -------------
/petsc/doc/overview/
H A Dtao_solve_table.md17 - Hessian
85 - Hessian
169 - Hessian
221 - Hessian
249 - Hessian
277 - Hessian
/petsc/src/ts/tutorials/output/
H A Dex20opt_ic_4.out10 First column of the Hessian
18 Second column of the Hessian
H A Dex20opt_ic_3.out70 total number of Hessian evaluations=6
H A Dex20opt_ic_2.out70 total number of Hessian evaluations=6
/petsc/doc/manual/
H A Dtao.md44 the code for `FormHessian`, which evaluates the Hessian matrix for
70 gradient, and perhaps the Hessian matrix. The user then invokes TAO to
205 routines that evaluate the gradient vector and Hessian matrix.
328 Hessian evaluation routines. All these routines should return the
334 #### Hessian Evaluation
336 Some optimization routines also require a Hessian matrix from the user.
337 The routine that evaluates the Hessian should have the form
344 second argument is the point at which the Hessian should be evaluated.
345 The third argument is the Hessian matrix, and the sixth argument is a
346 user-defined context. Since the Hessian matrix is usually used in
[all …]
/petsc/src/tao/leastsquares/tutorials/output/
H A Dcs1_view_l1dict.out89 total number of Hessian evaluations=19
98 total number of Hessian evaluations=19
H A Dcs1_view_l1dict_alt.out89 total number of Hessian evaluations=19
98 total number of Hessian evaluations=19
H A Dcs1_view_lm.out91 total number of Hessian evaluations=2
100 total number of Hessian evaluations=2
/petsc/src/tao/unconstrained/tutorials/
H A Dminsurf1.c303 PetscErrorCode QuadraticH(AppCtx *user, Vec X, Mat Hessian) in QuadraticH() argument
320 PetscCall(MatZeroEntries(Hessian)); in QuadraticH()
323 PetscCall(MatSetOption(Hessian, MAT_IGNORE_OFF_PROC_ENTRIES, PETSC_TRUE)); in QuadraticH()
444 PetscCall(MatSetValues(Hessian, 1, &row, k, col, v, INSERT_VALUES)); in QuadraticH()
452 PetscCall(MatAssemblyBegin(Hessian, MAT_FINAL_ASSEMBLY)); in QuadraticH()
453 PetscCall(MatAssemblyEnd(Hessian, MAT_FINAL_ASSEMBLY)); in QuadraticH()
H A Dminsurf2.c502 PetscErrorCode QuadraticH(AppCtx *user, Vec X, Mat Hessian) in QuadraticH() argument
530 PetscCall(MatAssembled(Hessian, &assembled)); in QuadraticH()
531 if (assembled) PetscCall(MatZeroEntries(Hessian)); in QuadraticH()
534 PetscCall(MatSetOption(Hessian, MAT_IGNORE_OFF_PROC_ENTRIES, PETSC_TRUE)); in QuadraticH()
662 PetscCall(MatSetValuesStencil(Hessian, 1, &row, k, col, v, INSERT_VALUES)); in QuadraticH()
669 PetscCall(MatAssemblyBegin(Hessian, MAT_FINAL_ASSEMBLY)); in QuadraticH()
670 PetscCall(MatAssemblyEnd(Hessian, MAT_FINAL_ASSEMBLY)); in QuadraticH()
/petsc/src/ml/regressor/tests/output/
H A Dex2_prefix_tao_alt.out92 total number of Hessian evaluations=1
101 total number of Hessian evaluations=1
H A Dex3_prefix_tao.out91 total number of Hessian evaluations=1
100 total number of Hessian evaluations=1
H A Dex1_prefix_tao_alt.out92 total number of Hessian evaluations=1
101 total number of Hessian evaluations=1
H A Dex2_prefix_tao.out92 total number of Hessian evaluations=1
101 total number of Hessian evaluations=1
H A Dex3_asciiview.out91 total number of Hessian evaluations=1
100 total number of Hessian evaluations=1
H A Dex1_prefix_tao.out92 total number of Hessian evaluations=1
101 total number of Hessian evaluations=1
/petsc/src/tao/bound/tutorials/
H A Dplate2f.F90293 subroutine FormHessian(ta, X, Hessian, Hpc, dummy, ierr) argument
297 Mat Hessian, Hpc
321 PetscCall(MatSetOption(Hessian, MAT_IGNORE_OFF_PROC_ENTRIES, PETSC_TRUE, ierr))
339 PetscCall(MatAssembled(Hessian, assembled, ierr))
340 if (assembled .eqv. PETSC_TRUE) PetscCall(MatZeroEntries(Hessian, ierr))
480 PetscCall(MatSetValuesLocal(Hessian, i1, [row], k, col, v, INSERT_VALUES, ierr))
493 PetscCall(MatAssemblyBegin(Hessian, MAT_FINAL_ASSEMBLY, ierr))
494 PetscCall(MatAssemblyEnd(Hessian, MAT_FINAL_ASSEMBLY, ierr))
H A Dplate2.c415 PetscErrorCode FormHessian(Tao tao, Vec X, Mat Hptr, Mat Hessian, void *ptr) in FormHessian() argument
432 PetscCall(MatSetOption(Hessian, MAT_IGNORE_OFF_PROC_ENTRIES, PETSC_TRUE)); in FormHessian()
435 PetscCall(MatAssembled(Hessian, &assembled)); in FormHessian()
436 if (assembled) PetscCall(MatZeroEntries(Hessian)); in FormHessian()
573 PetscCall(MatSetValuesLocal(Hessian, 1, &row, k, col, v, INSERT_VALUES)); in FormHessian()
585 PetscCall(MatAssemblyBegin(Hessian, MAT_FINAL_ASSEMBLY)); in FormHessian()
586 PetscCall(MatAssemblyEnd(Hessian, MAT_FINAL_ASSEMBLY)); in FormHessian()
/petsc/src/tao/bound/tutorials/output/
H A Dplate2_5.out42 total number of Hessian evaluations=3
H A Dplate2_7.out52 total number of Hessian evaluations=1
H A Dplate2_1.out54 total number of Hessian evaluations=3
/petsc/doc/changes/
H A D310.md130 `-tao_test_gradient`, `-tao_test_gradient_view`, and Hessian
132 `-tao_test_hessian_view` (also works for matrix-free Hessian).
/petsc/src/ts/tutorials/optimal_control/output/
H A Dex1_3.out75 total number of Hessian evaluations=8
H A Dex1_2.out77 total number of Hessian evaluations=8

12