Ipopt Documentation  
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 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6 
7 #ifndef __IPPDSYSTEMSOLVER_HPP__
8 #define __IPPDSYSTEMSOLVER_HPP__
9 
10 #include "IpUtils.hpp"
11 #include "IpSymMatrix.hpp"
12 #include "IpAlgStrategy.hpp"
13 #include "IpIteratesVector.hpp"
14 
15 namespace Ipopt
16 {
17 
75 {
76 public:
81  { }
82 
84  virtual ~PDSystemSolver()
85  { }
87 
89  virtual bool InitializeImpl(
90  const OptionsList& options,
91  const std::string& prefix
92  ) = 0;
93 
108  virtual bool Solve(
109  Number alpha,
110  Number beta,
111  const IteratesVector& rhs,
112  IteratesVector& res,
113  bool allow_inexact = false,
114  bool improve_solution = false
115  ) = 0;
116 
117 private:
130  const PDSystemSolver&
131  );
133 };
134 
135 } // namespace Ipopt
136 
137 #endif
IpUtils.hpp
Ipopt::PDSystemSolver::operator=
PDSystemSolver & operator=(const PDSystemSolver &)
Default Assignment Operator.
Ipopt::PDSystemSolver::~PDSystemSolver
virtual ~PDSystemSolver()
Destructor.
Definition: IpPDSystemSolver.hpp:84
Ipopt::PDSystemSolver::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:14
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
IpIteratesVector.hpp
IPOPTLIB_EXPORT
#define IPOPTLIB_EXPORT
Definition: config_default.h:16
Ipopt::PDSystemSolver::PDSystemSolver
PDSystemSolver()
Default Constructor.
Definition: IpPDSystemSolver.hpp:80
IpSymMatrix.hpp
Ipopt::PDSystemSolver::Solve
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.
Ipopt::PDSystemSolver
Pure Primal Dual System Solver Base Class.
Definition: IpPDSystemSolver.hpp:75
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
IpAlgStrategy.hpp
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:33
Ipopt::IteratesVector
Specialized CompoundVector class specifically for the algorithm iterates.
Definition: IpIteratesVector.hpp:26