1: #ifndef __TAO_BLMVM_H
3: #include <petsc/private/taoimpl.h>
5: /*
6: Context for limited memory variable metric method for bound constrained
7: optimization.
8: */
9: typedef struct {
11: Mat M;
13: Vec unprojected_gradient;
14: Vec Xold;
15: Vec Gold;
17: PetscInt n_free;
18: PetscInt n_bind;
20: PetscInt grad;
21: PetscInt reset;
22: Mat H0;
23: } TAO_BLMVM;
25: #endif /* ifndef __TAO_BLMVM_H */