NewtonProblem.h
00001 #ifndef NewtonPROBLEM_H
00002 #define NewtonPROBLEM_H
00003
00004 #include "xercesc/dom/DOM.hpp"
00005 #include "xercesc/util/PlatformUtils.hpp"
00006
00007 #include "OptNewton.h"
00008 #include "OptQNewton.h"
00009 #include "OptBCNewton.h"
00010 #include "OptBCQNewton.h"
00011 #include "Problem.h"
00012
00013 namespace OPTPP {
00014
00015 class NewtonProblem:public Problem
00016 {
00017 private:
00018 int searchType_;
00019 static const int lineSearch;
00020 static const int trustRegion;
00021 static const int trustPDS;
00022
00023 virtual DOMElement* FindParameterXML();
00024
00025 virtual OptError CreateFunctionOptimizer(OptimizeClass * &objfcn, NLP0* &func);
00026 virtual OptError CreateApplicationOptimizer(OptimizeClass * &objfcn, NLP0* &func);
00027
00028 virtual void SetParameters(OptimizeClass* objfcn);
00029
00030 public:
00031 NewtonProblem(DOMElement* solverXML):Problem(solverXML){;}
00032 };
00033
00034 }
00035 #endif
00036