Class for all Chen-Goldfarb penalty method specific calculated quantities. More...
#include <IpInexactCq.hpp>
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. | |
SmartPtr< const Vector > | curr_jac_cdT_times_curr_cdminuss () |
Gradient of infeasibility w.r.t. | |
SmartPtr< const Vector > | curr_scaling_slacks () |
Vector of all inequality slacks for doing the slack-based scaling. | |
SmartPtr< const Vector > | curr_slack_scaled_d_minus_s () |
Vector with the slack-scaled d minus s inequalities. | |
Number | curr_scaled_Ac_norm () |
Scaled norm of Ac. | |
Number | curr_scaled_A_norm2 () |
Scaled, squared norm of A. | |
Number | slack_scaled_norm (const Vector &x, const Vector &s) |
Compute the 2-norm of a slack-scaled vector with x and s component. | |
SmartPtr< const Vector > | curr_W_times_vec_x (const Vector &vec_x) |
Compute x component of the W*vec product for the current Hessian and a vector. | |
SmartPtr< const Vector > | curr_W_times_vec_s (const Vector &vec_s) |
Compute s component of the W*vec product for the current Hessian and a vector. | |
SmartPtr< const Vector > | curr_Wu_x () |
Compute x component of the W*u product for the current values. | |
SmartPtr< const Vector > | curr_Wu_s () |
Compute s component of the W*u product for the current values. | |
Number | curr_uWu () |
Compute the u^T*W*u product for the current values. | |
SmartPtr< const Vector > | curr_jac_times_normal_c () |
Compute the c-component of the product of the current constraint Jacobian with the current normal step. | |
SmartPtr< const Vector > | curr_jac_times_normal_d () |
Compute the d-component of the product of the current constraint Jacobian with the current normal step. | |
Constructors/Destructors | |
InexactCq (IpoptNLP *ip_nlp, IpoptData *ip_data, IpoptCalculatedQuantities *ip_cq) | |
Constructor. | |
virtual | ~InexactCq () |
Destructor. | |
Public Member Functions inherited from Ipopt::IpoptAdditionalCq | |
IpoptAdditionalCq () | |
Default Constructor. | |
virtual | ~IpoptAdditionalCq () |
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 (const SmartPtr< RegisteredOptions > &roptions) |
Private Member Functions | |
InexactData & | InexData () |
Method to easily access Inexact data. | |
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. | |
InexactCq () | |
Default Constructor. | |
InexactCq (const InexactCq &) | |
Copy Constructor. | |
void | operator= (const InexactCq &) |
Overloaded Assignment Operator. | |
Class for all Chen-Goldfarb penalty method specific calculated quantities.
Definition at line 20 of file IpInexactCq.hpp.
Ipopt::InexactCq::InexactCq | ( | IpoptNLP * | ip_nlp, |
IpoptData * | ip_data, | ||
IpoptCalculatedQuantities * | ip_cq | ||
) |
Constructor.
|
virtual |
Destructor.
|
private |
Default Constructor.
|
virtual |
This method must be called to initialize the global algorithmic parameters.
The parameters are taken from the OptionsList object.
Implements Ipopt::IpoptAdditionalCq.
|
static |
Gradient of infeasibility w.r.t.
x.
Jacobian of equality constraints transpose times the equality constraints plus Jacobian of the inequality constraints transpose times the inequality constraints (including slacks).
Vector of all inequality slacks for doing the slack-based scaling.
Vector with the slack-scaled d minus s inequalities.
Number Ipopt::InexactCq::curr_scaled_Ac_norm | ( | ) |
Scaled norm of Ac.
Number Ipopt::InexactCq::curr_scaled_A_norm2 | ( | ) |
Scaled, squared norm of A.
Compute the 2-norm of a slack-scaled vector with x and s component.
Compute x component of the W*vec product for the current Hessian and a vector.
Compute s component of the W*vec product for the current Hessian and a vector.
Compute x component of the W*u product for the current values.
u here is the tangential step.
Compute s component of the W*u product for the current values.
u here is the tangential step.
Number Ipopt::InexactCq::curr_uWu | ( | ) |
Compute the u^T*W*u product for the current values.
u here is the tangential step.
Compute the c-component of the product of the current constraint Jacobian with the current normal step.
Compute the d-component of the product of the current constraint Jacobian with the current normal step.
|
inlineprivate |
Method to easily access Inexact data.
Definition at line 158 of file IpInexactCq.hpp.
|
private |
Definition at line 152 of file IpInexactCq.hpp.
|
private |
Definition at line 153 of file IpInexactCq.hpp.
|
private |
Definition at line 154 of file IpInexactCq.hpp.
|
private |
Definition at line 168 of file IpInexactCq.hpp.
|
private |
Definition at line 169 of file IpInexactCq.hpp.
|
private |
Definition at line 170 of file IpInexactCq.hpp.
|
private |
Definition at line 171 of file IpInexactCq.hpp.
|
private |
Definition at line 172 of file IpInexactCq.hpp.
|
private |
Definition at line 173 of file IpInexactCq.hpp.
|
private |
Definition at line 174 of file IpInexactCq.hpp.
|
private |
Definition at line 175 of file IpInexactCq.hpp.
|
private |
Definition at line 176 of file IpInexactCq.hpp.
|
private |
Definition at line 177 of file IpInexactCq.hpp.
|
private |
Definition at line 178 of file IpInexactCq.hpp.
|
private |
Definition at line 179 of file IpInexactCq.hpp.
|
private |
Upper bound on slack-based scaling factors.
Definition at line 183 of file IpInexactCq.hpp.