#include <IpCGPenaltyCq.hpp>
Inheritance diagram for Ipopt::CGPenaltyCq:
Public Member Functions | |
bool | Initialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix) |
This method must be called to initialize the global algorithmic parameters. | |
Constructors/Destructors | |
CGPenaltyCq (IpoptNLP *ip_nlp, IpoptData *ip_data, IpoptCalculatedQuantities *ip_cg) | |
Constructor. | |
virtual | ~CGPenaltyCq () |
Default destructor. | |
Methods for the Chen-Goldfarb line search | |
Number | curr_penalty_function () |
Method for the penalty function at current point. | |
Number | trial_penalty_function () |
Method for the penalty function at trial point. | |
Number | curr_direct_deriv_penalty_function () |
Method for the directional derivative of the penalty function at current point with current step in delta. | |
Number | curr_fast_direct_deriv_penalty_function () |
Method for the directional derivative of the penalty function at current point with current "fast" step in delta_cgpen. | |
Number | curr_cg_pert_fact () |
Method for the current value for the perturbation factor for the Chen-Goldfarb method. | |
Static Public Member Functions | |
static void | RegisterOptions (const 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. | |
CGPenaltyCq () | |
Default Constructor. | |
CGPenaltyCq (const CGPenaltyCq &) | |
Copy Constructor. | |
void | operator= (const CGPenaltyCq &) |
Overloaded Equals Operator. | |
Private Attributes | |
bool | initialize_called_ |
flag indicating if Initialize method has been called (for debugging) | |
Pointers for easy access to data and NLP information. To | |
avoid circular references of Smart Pointers, we use a regular pointer here. | |
IpoptNLP * | ip_nlp_ |
IpoptData * | ip_data_ |
IpoptCalculatedQuantities * | ip_cq_ |
Caches for the Chen-Goldfarb line search | |
CachedResults< Number > | curr_penalty_function_cache_ |
Cache for the penalty function at current point. | |
CachedResults< Number > | trial_penalty_function_cache_ |
Cache for the penalty function at trial point. | |
CachedResults< Number > | curr_direct_deriv_penalty_function_cache_ |
Cache for the directional derivative of the penalty function at current point with step in delta. | |
CachedResults< Number > | curr_fast_direct_deriv_penalty_function_cache_ |
Cache for the directional derivative of the penalty function at current point with fast step in delta_cgpen. | |
CachedResults< Number > | curr_cg_pert_fact_cache_ |
Cache for Chen-Goldfarb perturbation factor. |
Definition at line 21 of file IpCGPenaltyCq.hpp.
Ipopt::CGPenaltyCq::CGPenaltyCq | ( | IpoptNLP * | ip_nlp, | |
IpoptData * | ip_data, | |||
IpoptCalculatedQuantities * | ip_cg | |||
) |
Constructor.
virtual Ipopt::CGPenaltyCq::~CGPenaltyCq | ( | ) | [virtual] |
Default destructor.
Ipopt::CGPenaltyCq::CGPenaltyCq | ( | ) | [private] |
Default Constructor.
Ipopt::CGPenaltyCq::CGPenaltyCq | ( | const CGPenaltyCq & | ) | [private] |
Copy Constructor.
bool Ipopt::CGPenaltyCq::Initialize | ( | const Journalist & | jnlst, | |
const OptionsList & | options, | |||
const std::string & | prefix | |||
) |
This method must be called to initialize the global algorithmic parameters.
The parameters are taken from the OptionsList object.
Number Ipopt::CGPenaltyCq::curr_penalty_function | ( | ) |
Method for the penalty function at current point.
Number Ipopt::CGPenaltyCq::trial_penalty_function | ( | ) |
Method for the penalty function at trial point.
Number Ipopt::CGPenaltyCq::curr_direct_deriv_penalty_function | ( | ) |
Method for the directional derivative of the penalty function at current point with current step in delta.
Number Ipopt::CGPenaltyCq::curr_fast_direct_deriv_penalty_function | ( | ) |
Method for the directional derivative of the penalty function at current point with current "fast" step in delta_cgpen.
Number Ipopt::CGPenaltyCq::curr_cg_pert_fact | ( | ) |
Method for the current value for the perturbation factor for the Chen-Goldfarb method.
The factor is computed as 2-norm of the constraints devided by the current penbalty parameter
static void Ipopt::CGPenaltyCq::RegisterOptions | ( | const SmartPtr< RegisteredOptions > & | roptions | ) | [static] |
Methods for IpoptType.
void Ipopt::CGPenaltyCq::operator= | ( | const CGPenaltyCq & | ) | [private] |
Overloaded Equals Operator.
IpoptNLP* Ipopt::CGPenaltyCq::ip_nlp_ [private] |
Definition at line 89 of file IpCGPenaltyCq.hpp.
IpoptData* Ipopt::CGPenaltyCq::ip_data_ [private] |
Definition at line 90 of file IpCGPenaltyCq.hpp.
Definition at line 91 of file IpCGPenaltyCq.hpp.
Cache for the directional derivative of the penalty function at current point with step in delta.
Definition at line 102 of file IpCGPenaltyCq.hpp.
Cache for the directional derivative of the penalty function at current point with fast step in delta_cgpen.
Definition at line 105 of file IpCGPenaltyCq.hpp.
bool Ipopt::CGPenaltyCq::initialize_called_ [private] |
flag indicating if Initialize method has been called (for debugging)
Definition at line 112 of file IpCGPenaltyCq.hpp.