Class to organize all the additional data required by the Chen-Goldfarb penalty function algorithm. More...
#include <IpCGPenaltyData.hpp>
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. | |
CGPenaltyData (const CGPenaltyData &) | |
Copy Constructor. | |
void | operator= (const CGPenaltyData &) |
Default Assignment Operator. | |
Private Attributes | |
bool | initialize_called_ |
flag indicating if Initialize method has been called (for debugging) | |
Pure Chen-Goldfarb step for the penalty function. | |
This used to transfer the information about the step from the computation of the overall search direction to the line search. | |
SmartPtr< const IteratesVector > | delta_cgpen_ |
bool | have_cgpen_deltas_ |
The following flag is set to true, if some other part of the algorithm has already computed the Chen-Goldfarb step. | |
Fast Chen-Goldfarb step for the penalty function. | |
This used to transfer the information about the step from the computation of the overall search direction to the line search. | |
SmartPtr< const IteratesVector > | delta_cgfast_ |
bool | have_cgfast_deltas_ |
The following flag is set to true, if some other part of the algorithm has already computed the fast Chen-Goldfarb step. | |
penalty method | |
bool | never_try_pure_Newton_ |
Flag indicating whether the pure Newton method is used. | |
Index | restor_iter_ |
The iteration at which pure Newton method is given up. | |
Number | restor_counter_ |
penalty parameters | |
Number | curr_penalty_ |
bool | penalty_initialized_ |
Number | curr_kkt_penalty_ |
bool | kkt_penalty_initialized_ |
Number | curr_penalty_pert_ |
Number | max_alpha_x_ |
Class to organize all the additional data required by the Chen-Goldfarb penalty function algorithm.
Definition at line 21 of file IpCGPenaltyData.hpp.
Ipopt::CGPenaltyData::CGPenaltyData | ( | ) |
Constructor.
Ipopt::CGPenaltyData::~CGPenaltyData | ( | ) |
Destructor.
|
private |
Copy Constructor.
|
virtual |
This method must be called to initialize the global algorithmic parameters.
The parameters are taken from the OptionsList object.
Implements Ipopt::IpoptAdditionalData.
|
virtual |
Initialize Data Structures.
Implements Ipopt::IpoptAdditionalData.
|
inline |
Delta for the Chen-Goldfarb search direction.
Definition at line 321 of file IpCGPenaltyData.hpp.
|
inline |
Set the delta_cgpen.
Like the trial point, this method copies the pointer for efficiency (no copy and to keep cache tags the same) so after you call set, you cannot modify the data.
Definition at line 336 of file IpCGPenaltyData.hpp.
|
inline |
Set the delta_cgpen.
Like the trial point, this method copies the pointer for efficiency (no copy and to keep cache tags the same) so after you call set, you cannot modify the data. This is the version that is happy with a pointer to const IteratesVector.
Definition at line 359 of file IpCGPenaltyData.hpp.
|
inline |
Delta for the fast Chen-Goldfarb search direction.
Definition at line 328 of file IpCGPenaltyData.hpp.
|
inline |
Set the delta_cgfast.
Like the trial point, this method copies the pointer for efficiency (no copy and to keep cache tags the same) so after you call set, you cannot modify the data.
Definition at line 382 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 90 of file IpCGPenaltyData.hpp.
Definition at line 95 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 102 of file IpCGPenaltyData.hpp.
Definition at line 107 of file IpCGPenaltyData.hpp.
|
virtual |
Set the current iterate values from the trial values.
Implements Ipopt::IpoptAdditionalData.
|
inline |
Definition at line 121 of file IpCGPenaltyData.hpp.
Definition at line 126 of file IpCGPenaltyData.hpp.
Definition at line 132 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 139 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 144 of file IpCGPenaltyData.hpp.
Definition at line 149 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 156 of file IpCGPenaltyData.hpp.
Definition at line 161 of file IpCGPenaltyData.hpp.
Definition at line 168 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 175 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 180 of file IpCGPenaltyData.hpp.
Definition at line 186 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 194 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 199 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 204 of file IpCGPenaltyData.hpp.
Definition at line 210 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 218 of file IpCGPenaltyData.hpp.
|
inline |
Definition at line 223 of file IpCGPenaltyData.hpp.
|
private |
Default Assignment Operator.
|
private |
Definition at line 237 of file IpCGPenaltyData.hpp.
|
private |
The following flag is set to true, if some other part of the algorithm has already computed the Chen-Goldfarb step.
This flag is reset when the AcceptTrialPoint method is called.
Definition at line 244 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 254 of file IpCGPenaltyData.hpp.
|
private |
The following flag is set to true, if some other part of the algorithm has already computed the fast Chen-Goldfarb step.
This flag is reset when the AcceptTrialPoint method is called.
Definition at line 262 of file IpCGPenaltyData.hpp.
|
private |
Flag indicating whether the pure Newton method is used.
Definition at line 268 of file IpCGPenaltyData.hpp.
|
private |
The iteration at which pure Newton method is given up.
Definition at line 271 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 272 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 275 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 276 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 277 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 278 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 279 of file IpCGPenaltyData.hpp.
|
private |
Definition at line 280 of file IpCGPenaltyData.hpp.
|
private |
flag indicating if Initialize method has been called (for debugging)
Definition at line 284 of file IpCGPenaltyData.hpp.