Ipopt  3.12.12
 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
Specialized CompoundVector class specifically for the algorithm iterates.
This is the base class for all algorithm strategy objects.
Pure Primal Dual System Solver Base Class.
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
virtual ~PDSystemSolver()
Default destructor.
PDSystemSolver()
Default Constructor.
PDSystemSolver & operator=(const PDSystemSolver &)
Overloaded Equals Operator.
This class stores a list of user set options.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
virtual bool Solve(Number alpha, Number beta, const IteratesVector &rhs, IteratesVector &res, bool allow_inexact=false, bool improve_solution=false)=0
Solve the primal dual system, given one right hand side.