Ipopt Documentation  
 
Loading...
Searching...
No Matches
Ipopt::WarmStartIterateInitializer Class Reference

Class implementing an initialization procedure for warm starts. More...

#include <IpWarmStartIterateInitializer.hpp>

+ Inheritance diagram for Ipopt::WarmStartIterateInitializer:

Public Member Functions

virtual bool InitializeImpl (const OptionsList &options, const std::string &prefix)
 Implementation of the initialization method that has to be overloaded by for each derived class.
 
virtual bool SetInitialIterates ()
 Compute the initial iterates and set the into the curr field of the ip_data object.
 
Constructors/Destructors
 WarmStartIterateInitializer ()
 Constructor.
 
virtual ~WarmStartIterateInitializer ()
 Destructor.
 
- Public Member Functions inherited from Ipopt::IterateInitializer
 IterateInitializer ()
 Default Constructor.
 
virtual ~IterateInitializer ()
 Default destructor.
 
- Public Member Functions inherited from Ipopt::AlgorithmStrategyObject
bool Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix)
 This method is called every time the algorithm starts again - it is used to reset any internal state.
 
bool ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix)
 Reduced version of the Initialize method, which does not require special Ipopt information.
 
 AlgorithmStrategyObject ()
 Default Constructor.
 
virtual ~AlgorithmStrategyObject ()
 Destructor.
 
- Public Member Functions inherited from Ipopt::ReferencedObject
 ReferencedObject ()
 
virtual ~ReferencedObject ()
 
Index ReferenceCount () const
 
void AddRef (const Referencer *referencer) const
 
void ReleaseRef (const Referencer *referencer) const
 

Static Public Member Functions

static void RegisterOptions (SmartPtr< RegisteredOptions > roptions)
 

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.

 WarmStartIterateInitializer (const WarmStartIterateInitializer &)
 Copy Constructor.
 
void operator= (const WarmStartIterateInitializer &)
 Default Assignment Operator.
 
Auxiliary functions
void process_target_mu (Number factor, const Vector &curr_vars, const Vector &curr_slacks, const Vector &curr_mults, const Matrix &P, SmartPtr< const Vector > &ret_vars, SmartPtr< const Vector > &ret_mults)
 
void adapt_to_target_mu (Vector &new_s, Vector &new_z, Number target_mu)
 

Private Attributes

Algorithmic Parameters
Number warm_start_bound_push_
 Absolute parameters for bumping x0 in warm start mode.
 
Number warm_start_bound_frac_
 Relative parameters for bumping x0 in warm start mode.
 
Number warm_start_slack_bound_push_
 Absolute parameters for bumping s0 in warm start mode.
 
Number warm_start_slack_bound_frac_
 Relative parameters for bumping s0 in warm start mode.
 
Number warm_start_mult_bound_push_
 Parameters for bumping initial bound multipliers.
 
Number warm_start_mult_init_max_
 Maximal size of entries in bound and equality constraint multipliers in magnitude.
 
Number warm_start_target_mu_
 Target values for the barrier parameter in warm start option.
 
bool warm_start_entire_iterate_
 Indicator for which method in the NLP should be used to get the warm start.
 

Additional Inherited Members

- Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject
const JournalistJnlst () const
 
IpoptNLPIpNLP () const
 
IpoptDataIpData () const
 
IpoptCalculatedQuantitiesIpCq () const
 
bool HaveIpData () const
 

Detailed Description

Class implementing an initialization procedure for warm starts.

Definition at line 17 of file IpWarmStartIterateInitializer.hpp.

Constructor & Destructor Documentation

◆ WarmStartIterateInitializer() [1/2]

Ipopt::WarmStartIterateInitializer::WarmStartIterateInitializer ( )

Constructor.

◆ ~WarmStartIterateInitializer()

virtual Ipopt::WarmStartIterateInitializer::~WarmStartIterateInitializer ( )
inlinevirtual

Destructor.

Definition at line 26 of file IpWarmStartIterateInitializer.hpp.

◆ WarmStartIterateInitializer() [2/2]

Ipopt::WarmStartIterateInitializer::WarmStartIterateInitializer ( const WarmStartIterateInitializer )
private

Copy Constructor.

Member Function Documentation

◆ InitializeImpl()

virtual bool Ipopt::WarmStartIterateInitializer::InitializeImpl ( const OptionsList options,
const std::string &  prefix 
)
virtual

Implementation of the initialization method that has to be overloaded by for each derived class.

Implements Ipopt::IterateInitializer.

◆ SetInitialIterates()

virtual bool Ipopt::WarmStartIterateInitializer::SetInitialIterates ( )
virtual

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

Implements Ipopt::IterateInitializer.

◆ RegisterOptions()

static void Ipopt::WarmStartIterateInitializer::RegisterOptions ( SmartPtr< RegisteredOptions roptions)
static

◆ operator=()

void Ipopt::WarmStartIterateInitializer::operator= ( const WarmStartIterateInitializer )
private

Default Assignment Operator.

◆ process_target_mu()

void Ipopt::WarmStartIterateInitializer::process_target_mu ( Number  factor,
const Vector curr_vars,
const Vector curr_slacks,
const Vector curr_mults,
const Matrix P,
SmartPtr< const Vector > &  ret_vars,
SmartPtr< const Vector > &  ret_mults 
)
private

◆ adapt_to_target_mu()

void Ipopt::WarmStartIterateInitializer::adapt_to_target_mu ( Vector new_s,
Vector new_z,
Number  target_mu 
)
private

Member Data Documentation

◆ warm_start_bound_push_

Number Ipopt::WarmStartIterateInitializer::warm_start_bound_push_
private

Absolute parameters for bumping x0 in warm start mode.

Definition at line 69 of file IpWarmStartIterateInitializer.hpp.

◆ warm_start_bound_frac_

Number Ipopt::WarmStartIterateInitializer::warm_start_bound_frac_
private

Relative parameters for bumping x0 in warm start mode.

Definition at line 72 of file IpWarmStartIterateInitializer.hpp.

◆ warm_start_slack_bound_push_

Number Ipopt::WarmStartIterateInitializer::warm_start_slack_bound_push_
private

Absolute parameters for bumping s0 in warm start mode.

Definition at line 75 of file IpWarmStartIterateInitializer.hpp.

◆ warm_start_slack_bound_frac_

Number Ipopt::WarmStartIterateInitializer::warm_start_slack_bound_frac_
private

Relative parameters for bumping s0 in warm start mode.

Definition at line 78 of file IpWarmStartIterateInitializer.hpp.

◆ warm_start_mult_bound_push_

Number Ipopt::WarmStartIterateInitializer::warm_start_mult_bound_push_
private

Parameters for bumping initial bound multipliers.

Definition at line 81 of file IpWarmStartIterateInitializer.hpp.

◆ warm_start_mult_init_max_

Number Ipopt::WarmStartIterateInitializer::warm_start_mult_init_max_
private

Maximal size of entries in bound and equality constraint multipliers in magnitude.

If chosen less of equal to zero, no upper limit is imposed. Otherwise, the entries exceeding the given limit are set to the value closest to the limit.

Definition at line 90 of file IpWarmStartIterateInitializer.hpp.

◆ warm_start_target_mu_

Number Ipopt::WarmStartIterateInitializer::warm_start_target_mu_
private

Target values for the barrier parameter in warm start option.

Definition at line 93 of file IpWarmStartIterateInitializer.hpp.

◆ warm_start_entire_iterate_

bool Ipopt::WarmStartIterateInitializer::warm_start_entire_iterate_
private

Indicator for which method in the NLP should be used to get the warm start.

Definition at line 98 of file IpWarmStartIterateInitializer.hpp.


The documentation for this class was generated from the following file: