Actual source code: tao_solver.h

  2: /*
  3:     User interface for the TAO unconstrained minimization solvers
  4: */
  7: #include "tao_general.h"
  8: #include "taovec.h"
  9: #include "taois.h"
 10: #include "taomat.h"
 11: #include "taolinearsolver.h"
 12: #include "taoappobject.h"
 13: #include "src/appobject/abcapp/taoabcapp.h"
 14: #include "src/lsolver/taomatselfsolver.h"


 17: /*  Convergence flags.
 18:     Be sure to check that these match the flags in 
 19:     $TAO_DIR/include/finclude/tao_solver.h  
 20: */
 21: typedef enum {/* converged */
 22:               TAO_CONVERGED_ATOL          =  2, /* F < F_minabs */
 23:               TAO_CONVERGED_RTOL          =  3, /* F < F_mintol*F_initial */
 24:               TAO_CONVERGED_TRTOL         =  4, /* step size small */
 25:               TAO_CONVERGED_MINF          =  5, /* grad F < grad F_min */
 26:               TAO_CONVERGED_USER          =  6, /* User defined */
 27:               /* diverged */
 28:               TAO_DIVERGED_MAXITS         = -2,  
 29:               TAO_DIVERGED_NAN            = -4, 
 30:               TAO_DIVERGED_MAXFCN         = -5,
 31:               TAO_DIVERGED_LS_FAILURE     = -6,
 32:               TAO_DIVERGED_TR_REDUCTION   = -7,
 33:               TAO_DIVERGED_USER           = -8, /* User defined */
 34:               TAO_CONTINUE_ITERATING      =  0} TaoTerminateReason;

 36: /* Initialization of TAO */

 41: /* TAO Solvers */









116: #define    TaoGetIterationData(a,b,c,d,e,f,g)      TaoGetSolutionStatus(a,b,c,d,e,f,g)















193: #endif