Ipopt  3.12.10
 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
Number constr_mult_init_max_
If max-norm of the initial equality constraint multiplier estimate is larger than this...
void operator=(const RestoIterateInitializer &)
Overloaded Equals Operator.
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Vector Base Class.
Definition: IpVector.hpp:47
Base class for all methods for initializing the iterates.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
This class stores a list of user set options.
RestoIterateInitializer()
Default Constructor.
virtual ~RestoIterateInitializer()
Default destructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
Class implementing the default initialization procedure (based on user options) for the iterates...
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptType.
SmartPtr< EqMultiplierCalculator > resto_eq_mult_calculator_
object to be used for the initialization of the equality constraint multipliers.
void solve_quadratic(const Vector &a, const Vector &b, Vector &v)
Method for solving the quadratic vector equation v^2 + 2a*v - b = 0
virtual bool SetInitialIterates()
Compute the initial iterates and set the into the curr field of the ip_data object.