Ipopt  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
Ipopt::RestoIterateInitializer Class Reference

Class implementing the default initialization procedure (based on user options) for the iterates. More...

#include <IpRestoIterateInitializer.hpp>

+ Inheritance diagram for Ipopt::RestoIterateInitializer:

List of all members.

Public Member Functions

virtual bool InitializeImpl (const OptionsList &options, const std::string &prefix)
 overloaded from AlgorithmStrategyObject
virtual bool SetInitialIterates ()
 Compute the initial iterates and set the into the curr field of the ip_data object.
Constructors/Destructors
 RestoIterateInitializer (const SmartPtr< EqMultiplierCalculator > &eq_mult_calculator)
 Constructor.
virtual ~RestoIterateInitializer ()
 Default destructor.

Static Public Member Functions

static void RegisterOptions (SmartPtr< RegisteredOptions > roptions)
 Methods for IpoptType.

Private Member Functions

Default Compiler Generated Methods

(Hidden to avoid implicit creation/calling).

These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called.

 RestoIterateInitializer ()
 Default Constructor.
 RestoIterateInitializer (const RestoIterateInitializer &)
 Copy Constructor.
void operator= (const RestoIterateInitializer &)
 Overloaded Equals Operator.
Auxilliary functions
void solve_quadratic (const Vector &a, const Vector &b, Vector &v)
 Method for solving the quadratic vector equation v^2 + 2a*v - b = 0.

Private Attributes

SmartPtr< EqMultiplierCalculatorresto_eq_mult_calculator_
 object to be used for the initialization of the equality constraint multipliers.
Parameters for bumping x0
Number constr_mult_init_max_
 If max-norm of the initial equality constraint multiplier estimate is larger than this, the initial y_* variables are set to zero.

Detailed Description

Class implementing the default initialization procedure (based on user options) for the iterates.

It is used at the very beginning of the optimization for determine the starting point for all variables.

Definition at line 22 of file IpRestoIterateInitializer.hpp.


Constructor & Destructor Documentation

Constructor.

If eq_mult_calculator is not NULL, it will be used to compute the initial values for equality constraint multipliers.

Default destructor.

Definition at line 34 of file IpRestoIterateInitializer.hpp.

Default Constructor.

Copy Constructor.


Member Function Documentation

virtual bool Ipopt::RestoIterateInitializer::InitializeImpl ( const OptionsList options,
const std::string &  prefix 
) [virtual]

Compute the initial iterates and set the into the curr field of the ip_data object.

Implements Ipopt::IterateInitializer.

Methods for IpoptType.

void Ipopt::RestoIterateInitializer::operator= ( const RestoIterateInitializer ) [private]

Overloaded Equals Operator.

void Ipopt::RestoIterateInitializer::solve_quadratic ( const Vector a,
const Vector b,
Vector v 
) [private]

Method for solving the quadratic vector equation v^2 + 2a*v - b = 0.


Member Data Documentation

If max-norm of the initial equality constraint multiplier estimate is larger than this, the initial y_* variables are set to zero.

Definition at line 75 of file IpRestoIterateInitializer.hpp.

object to be used for the initialization of the equality constraint multipliers.

Definition at line 80 of file IpRestoIterateInitializer.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines