Ipopt  3.12.11
IpInexactNewtonNormal.hpp
Go to the documentation of this file.
3 // This code is published under the Eclipse Public License.
4 //
5 // \$Id: IpInexactNewtonNormal.hpp 1886 2011-01-27 23:11:16Z andreasw \$
6 //
7 // Authors: Andreas Waechter IBM 2008-09-05
8
9 #ifndef __IPINEXACTNEWTONNORMAL_HPP__
10 #define __IPINEXACTNEWTONNORMAL_HPP__
11
12 #include "IpAlgStrategy.hpp"
13 #include "IpAugSystemSolver.hpp"
14 #include "IpInexactCq.hpp"
15
16 namespace Ipopt
17 {
22  {
23  public:
28
30  virtual ~InexactNewtonNormalStep();
32
34  virtual bool InitializeImpl(const OptionsList& options,
35  const std::string& prefix);
36
42  virtual bool ComputeNewtonNormalStep(Vector& newton_x, Vector& newton_s);
43
46  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
48
49  protected:
52  {
53  InexactData& inexact_data =
56  return inexact_data;
57  }
58
61  {
62  InexactCq& inexact_cq =
65  return inexact_cq;
66  }
67
68  private:
79
82
86
89  };
90
91 } // namespace Ipopt
92
93 #endif
virtual bool ComputeNewtonNormalStep(Vector &newton_x, Vector &newton_s)
Method for computing the normal step.
This is the base class for all algorithm strategy objects.
Vector Base Class.
Definition: IpVector.hpp:47
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
InexactCq & InexCq()
Method to easily access Inexact calculated quantities.
void operator=(const InexactNewtonNormalStep &)
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
SmartPtr< AugSystemSolver > aug_solver_
Object to be used to solve the augmented system.
This class stores a list of user set options.
Compute the &quot;Newton&quot; normal step from the (slack-scaled) augmented system.
#define DBG_ASSERT(test)
Definition: IpDebug.hpp:38
Class for all Chen-Goldfarb penalty method specific calculated quantities.
Definition: IpInexactCq.hpp:22
Class to organize all the additional data required by the Chen-Goldfarb penalty function algorithm...
InexactData & InexData()
Method to easily access Inexact data.
virtual ~InexactNewtonNormalStep()
Default destructor.
IpoptCalculatedQuantities & IpCq() const
InexactNewtonNormalStep()
Default onstructor.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptType.