Actual source code: bqpipimpl.h

petsc-3.14.6 2021-03-30
Report Typos and Errors
  1: /*
  2:   Private data structure used for bqpip method
  3: */


  8: #include <petsc/private/taoimpl.h>

 10: typedef struct {
 11:   /* Parameters */
 12:   PetscInt predcorr;

 14:   /* Problem variables, vectors and index sets */
 15:   PetscInt n;   /* Dimension of the Problem */
 16:   PetscInt m;   /* Number of constraints */

 18:   /* Problem statistics */
 19:   PetscReal dinfeas;
 20:   PetscReal pinfeas;
 21:   PetscReal pobj;
 22:   PetscReal dobj;
 23:   PetscReal gap;
 24:   PetscReal rgap;
 25:   PetscReal mu;
 26:   PetscReal pathnorm;
 27:   PetscReal psteplength;
 28:   PetscReal dsteplength;
 29:   PetscReal rnorm;

 31:   /* Variable Vectors */
 32:   Vec G;
 33:   Vec DG;
 34:   Vec T;
 35:   Vec DT;
 36:   Vec Z;
 37:   Vec DZ;
 38:   Vec S;
 39:   Vec DS;
 40:   Vec GZwork;
 41:   Vec TSwork;
 42:   Vec XL,XU;

 44:   /* Work Vectors */
 45:   Vec R3;
 46:   Vec R5;
 47:   Vec HDiag;
 48:   Vec Work;

 50:   Vec DiagAxpy;
 51:   Vec RHS;
 52:   Vec RHS2;

 54:   /* Data */
 55:   Vec C;
 56:   PetscReal d;
 57: } TAO_BQPIP;

 59: #endif  /* if !defined(__TAO_BQPIP_H) */