OptConstrFDNewton.h

00001 #ifndef OptConstrFDNewton_h
00002 #define OptConstrFDNewton_h
00003 
00004 /*----------------------------------------------------------------------
00005  Copyright (c) 2001, Sandia Corporation.
00006  J.C. Meza, Sandia National Laboratories, meza@ca.sandia.gov
00007  ----------------------------------------------------------------------*/
00008 
00009 #ifndef OptConstrNewtonLike_h
00010 #include "OptConstrNewtonLike.h"
00011 #endif
00012 
00013 namespace OPTPP {
00014 
00025 class OptConstrFDNewton: public OptConstrNewton1Deriv {
00026  public:
00033   OptConstrFDNewton(){strcpy(method,"Constrained Finite-Difference Newton");}
00039   OptConstrFDNewton(NLP1* p): OptConstrNewton1Deriv(p)
00040     {strcpy(method,"Constrained Finite-Difference Newton");}
00047   OptConstrFDNewton(NLP1* p, UPDATEFCN u): OptConstrNewton1Deriv(p, u)
00048     {strcpy(method,"Constrained Finite-Difference Newton");}
00055   OptConstrFDNewton(NLP1* p, TOLS t): OptConstrNewton1Deriv(p,t)
00056     {strcpy(method,"Constrained Finite-Difference Newton");}
00057 
00061   virtual ~OptConstrFDNewton(){}
00062 
00063 // These are defined elsewhere
00064 
00066   NEWMAT::SymmetricMatrix updateH(NEWMAT::SymmetricMatrix& H, int k);
00067 
00069   int checkDeriv();
00070 };
00071 
00072 } // namespace OPTPP
00073 
00074 #endif
Generated on Mon Jan 24 12:04:37 2011 for FASTlib by  doxygen 1.6.3