Ipopt  3.11.9
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
This is the base class for all algorithm strategy objects.
Specialized CompoundVector class specifically for the algorithm iterates.
This class stores a list of user set options.
Pure Primal Dual System Solver Base Class.
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.
PDSystemSolver()
Default Constructor.
PDSystemSolver & operator=(const PDSystemSolver &)
Overloaded Equals Operator.
virtual ~PDSystemSolver()
Default destructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
double Number
Type of all numbers.
Definition: IpTypes.hpp:17