Ipopt  3.11.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpRestoIterateInitializer.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: IpRestoIterateInitializer.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-09-24
8 
9 #ifndef __IPRESTOITERATEINITIALIZER_HPP__
10 #define __IPRESTOITERATEINITIALIZER_HPP__
11 
12 #include "IpIterateInitializer.hpp"
13 #include "IpEqMultCalculator.hpp"
14 
15 namespace Ipopt
16 {
23  {
24  public:
31  (const SmartPtr<EqMultiplierCalculator>& eq_mult_calculator);
32 
35  {}
37 
39  virtual bool InitializeImpl(const OptionsList& options,
40  const std::string& prefix);
41 
44  virtual bool SetInitialIterates();
45 
48  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
50 
51  private:
62 
65 
69 
77 
81 
86  void solve_quadratic(const Vector& a, const Vector& b, Vector& v);
88  };
89 
90 } // namespace Ipopt
91 
92 #endif