Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

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 {
22 class RestoIterateInitializer: public IterateInitializer
23 {
24 public:
30 RestoIterateInitializer
31 (const SmartPtr<EqMultiplierCalculator>& eq_mult_calculator);
32
34 virtual ~RestoIterateInitializer()
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:
61 RestoIterateInitializer();
62
64 RestoIterateInitializer(const RestoIterateInitializer&);
65
67 void operator=(const RestoIterateInitializer&);
69
75 Number constr_mult_init_max_;
77
80 SmartPtr<EqMultiplierCalculator> resto_eq_mult_calculator_;
81
86 void solve_quadratic(const Vector& a, const Vector& b, Vector& v);
88 };
89
90 } // namespace Ipopt
91
92 #endif
Ipopt::RestoIterateInitializer::constr_mult_init_max_
Number constr_mult_init_max_
If max-norm of the initial equality constraint multiplier estimate is larger than this...
Definition: IpRestoIterateInitializer.hpp:75
Ipopt::RestoIterateInitializer::operator=
void operator=(const RestoIterateInitializer &)
Overloaded Equals Operator.
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
Ipopt::Vector
Vector Base Class.
Definition: IpVector.hpp:47
Ipopt::IterateInitializer
Base class for all methods for initializing the iterates.
Definition: IpIterateInitializer.hpp:22
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::RestoIterateInitializer::RestoIterateInitializer
RestoIterateInitializer()
Default Constructor.
Ipopt::RestoIterateInitializer::~RestoIterateInitializer
virtual ~RestoIterateInitializer()
Default destructor.
Definition: IpRestoIterateInitializer.hpp:34
Ipopt::RestoIterateInitializer::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
IpEqMultCalculator.hpp
Ipopt::RestoIterateInitializer
Class implementing the default initialization procedure (based on user options) for the iterates...
Definition: IpRestoIterateInitializer.hpp:22
Ipopt::RestoIterateInitializer::RegisterOptions
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptType.
Ipopt::RestoIterateInitializer::resto_eq_mult_calculator_
SmartPtr< EqMultiplierCalculator > resto_eq_mult_calculator_
object to be used for the initialization of the equality constraint multipliers.
Definition: IpRestoIterateInitializer.hpp:80
IpIterateInitializer.hpp
Ipopt::RestoIterateInitializer::solve_quadratic
void solve_quadratic(const Vector &a, const Vector &b, Vector &v)
Method for solving the quadratic vector equation v^2 + 2a*v - b = 0
Ipopt::RestoIterateInitializer::SetInitialIterates
virtual bool SetInitialIterates()
Compute the initial iterates and set the into the curr field of the ip_data object.