#include <IpInexactData.hpp>
Inheritance diagram for Ipopt::InexactData:
Public Member Functions | |
Constructors/Destructors | |
InexactData () | |
Constructor. | |
~InexactData () | |
Default destructor. | |
Methods overloaded from IpoptAdditionalData | |
bool | Initialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix) |
This method must be called to initialize the global algorithmic parameters. | |
bool | InitializeDataStructures () |
Initialize Data Structures at the beginning. | |
void | AcceptTrialPoint () |
Do whatever is necessary to accept a trial point as current iterate. | |
Normal step set and accessor methods | |
void | set_normal_x (SmartPtr< Vector > &normal_x) |
void | set_normal_s (SmartPtr< Vector > &normal_s) |
SmartPtr< const Vector > | normal_x () |
SmartPtr< const Vector > | normal_s () |
Tangential step set and accessor methods | |
void | set_tangential_x (SmartPtr< Vector > &tangential_x) |
void | set_tangential_s (SmartPtr< Vector > &tangential_s) |
SmartPtr< const Vector > | tangential_x () |
SmartPtr< const Vector > | tangential_s () |
Flag indicating if most recent step has been fully | |
accepted. This is used to determine if the trust region radius should be increased. | |
void | set_full_step_accepted (bool full_step_accepted) |
bool | full_step_accepted () |
Current value of penalty parameter | |
void | set_curr_nu (Number nu) |
Number | curr_nu () |
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. | |
InexactData (const InexactData &) | |
Copy Constructor. | |
void | operator= (const InexactData &) |
Overloaded Equals Operator. | |
Private Attributes | |
bool | full_step_accepted_ |
Flag indicating if most recent step has been fully accepted. | |
Number | curr_nu_ |
current value of penalty parameter | |
Normal step | |
SmartPtr< const Vector > | normal_x_ |
SmartPtr< const Vector > | normal_s_ |
Tangential step | |
SmartPtr< const Vector > | tangential_x_ |
SmartPtr< const Vector > | tangential_s_ |
Definition at line 19 of file IpInexactData.hpp.
Ipopt::InexactData::InexactData | ( | ) |
Constructor.
Ipopt::InexactData::~InexactData | ( | ) |
Default destructor.
Ipopt::InexactData::InexactData | ( | const InexactData & | ) | [private] |
Copy Constructor.
bool Ipopt::InexactData::Initialize | ( | const Journalist & | jnlst, | |
const OptionsList & | options, | |||
const std::string & | prefix | |||
) | [virtual] |
This method must be called to initialize the global algorithmic parameters.
The parameters are taken from the OptionsList object.
Implements Ipopt::IpoptAdditionalData.
bool Ipopt::InexactData::InitializeDataStructures | ( | ) | [virtual] |
void Ipopt::InexactData::AcceptTrialPoint | ( | ) | [virtual] |
Do whatever is necessary to accept a trial point as current iterate.
This is also used to finish an iteration, i.e., to release memory, and to reset any flags for a new iteration.
Implements Ipopt::IpoptAdditionalData.
Definition at line 51 of file IpInexactData.hpp.
References Ipopt::ConstPtr(), normal_x(), and normal_x_.
Definition at line 56 of file IpInexactData.hpp.
References Ipopt::ConstPtr(), normal_s(), and normal_s_.
Definition at line 61 of file IpInexactData.hpp.
References normal_x_.
Referenced by set_normal_x().
Definition at line 65 of file IpInexactData.hpp.
References normal_s_.
Referenced by set_normal_s().
Definition at line 73 of file IpInexactData.hpp.
References Ipopt::ConstPtr(), tangential_x(), and tangential_x_.
Definition at line 78 of file IpInexactData.hpp.
References Ipopt::ConstPtr(), tangential_s(), and tangential_s_.
Definition at line 83 of file IpInexactData.hpp.
References tangential_x_.
Referenced by set_tangential_x().
Definition at line 87 of file IpInexactData.hpp.
References tangential_s_.
Referenced by set_tangential_s().
void Ipopt::InexactData::set_full_step_accepted | ( | bool | full_step_accepted | ) | [inline] |
bool Ipopt::InexactData::full_step_accepted | ( | ) | [inline] |
void Ipopt::InexactData::set_curr_nu | ( | Number | nu | ) | [inline] |
Number Ipopt::InexactData::curr_nu | ( | ) | [inline] |
void Ipopt::InexactData::operator= | ( | const InexactData & | ) | [private] |
Overloaded Equals Operator.
SmartPtr<const Vector> Ipopt::InexactData::normal_x_ [private] |
SmartPtr<const Vector> Ipopt::InexactData::normal_s_ [private] |
SmartPtr<const Vector> Ipopt::InexactData::tangential_x_ [private] |
Definition at line 143 of file IpInexactData.hpp.
Referenced by set_tangential_x(), and tangential_x().
SmartPtr<const Vector> Ipopt::InexactData::tangential_s_ [private] |
Definition at line 144 of file IpInexactData.hpp.
Referenced by set_tangential_s(), and tangential_s().
bool Ipopt::InexactData::full_step_accepted_ [private] |
Flag indicating if most recent step has been fully accepted.
Definition at line 148 of file IpInexactData.hpp.
Referenced by full_step_accepted(), and set_full_step_accepted().
Number Ipopt::InexactData::curr_nu_ [private] |
current value of penalty parameter
Definition at line 151 of file IpInexactData.hpp.
Referenced by curr_nu(), and set_curr_nu().