Ipopt  3.11.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpPDSystemSolver.hpp
Go to the documentation of this file.
1 // Copyright (C) 2004, 2006 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpPDSystemSolver.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8 
9 #ifndef __IPPDSYSTEMSOLVER_HPP__
10 #define __IPPDSYSTEMSOLVER_HPP__
11 
12 #include "IpUtils.hpp"
13 #include "IpSymMatrix.hpp"
14 #include "IpAlgStrategy.hpp"
15 #include "IpIteratesVector.hpp"
16 
17 namespace Ipopt
18 {
19 
77  {
78  public:
83  {}
84 
86  virtual ~PDSystemSolver()
87  {}
89 
91  virtual bool InitializeImpl(const OptionsList& options,
92  const std::string& prefix) = 0;
93 
106  virtual bool Solve(Number alpha,
107  Number beta,
108  const IteratesVector& rhs,
109  IteratesVector& res,
110  bool allow_inexact=false,
111  bool improve_solution=false) =0;
112 
113  private:
125  };
126 
127 
128 } // namespace Ipopt
129 
130 #endif