Ipopt
3.12.12
|
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. More... | |
SmartPtr< const Vector > | curr_jac_cdT_times_curr_cdminuss () |
Gradient of infeasibility w.r.t. More... | |
SmartPtr< const Vector > | curr_scaling_slacks () |
Vector of all inequality slacks for doing the slack-based scaling. More... | |
SmartPtr< const Vector > | curr_slack_scaled_d_minus_s () |
Vector with the slack-scaled d minus s inequalities. More... | |
Number | curr_scaled_Ac_norm () |
Scaled norm of Ac. More... | |
Number | curr_scaled_A_norm2 () |
Scaled, squared norm of A. More... | |
Number | slack_scaled_norm (const Vector &x, const Vector &s) |
Compute the 2-norm of a slack-scaled vector with x and s component. More... | |
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. More... | |
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. More... | |
SmartPtr< const Vector > | curr_Wu_x () |
Compute x component of the W*u product for the current values. More... | |
SmartPtr< const Vector > | curr_Wu_s () |
Compute s component of the W*u product for the current values. More... | |
Number | curr_uWu () |
Compute the u^T*W*u product for the current values. More... | |
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. More... | |
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. More... | |
Constructors/Destructors | |
InexactCq (IpoptNLP *ip_nlp, IpoptData *ip_data, IpoptCalculatedQuantities *ip_cq) | |
Constructor. More... | |
virtual | ~InexactCq () |
Default destructor. More... | |
![]() | |
IpoptAdditionalCq () | |
Default Constructor. More... | |
virtual | ~IpoptAdditionalCq () |
Default destructor. More... | |
![]() | |
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) |
Methods for IpoptType. More... | |
Private Member Functions | |
InexactData & | InexData () |
Method to easily access Inexact data. More... | |
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. More... | |
InexactCq (const InexactCq &) | |
Copy Constructor. More... | |
void | operator= (const InexactCq &) |
Overloaded Equals Operator. More... | |
Class for all Chen-Goldfarb penalty method specific calculated quantities.
Definition at line 22 of file IpInexactCq.hpp.
Ipopt::InexactCq::InexactCq | ( | IpoptNLP * | ip_nlp, |
IpoptData * | ip_data, | ||
IpoptCalculatedQuantities * | ip_cq | ||
) |
Constructor.
|
virtual |
Default destructor.
|
private |
Default Constructor.
|
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::IpoptAdditionalCq.
|
static |
Methods for IpoptType.
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.
|
private |
Overloaded Equals Operator.
|
inlineprivate |
Method to easily access Inexact data.
Definition at line 128 of file IpInexactCq.hpp.
|
private |
Definition at line 122 of file IpInexactCq.hpp.
|
private |
Definition at line 123 of file IpInexactCq.hpp.
|
private |
Definition at line 124 of file IpInexactCq.hpp.
|
private |
Definition at line 138 of file IpInexactCq.hpp.
|
private |
Definition at line 139 of file IpInexactCq.hpp.
|
private |
Definition at line 140 of file IpInexactCq.hpp.
|
private |
Definition at line 141 of file IpInexactCq.hpp.
|
private |
Definition at line 142 of file IpInexactCq.hpp.
|
private |
Definition at line 143 of file IpInexactCq.hpp.
|
private |
Definition at line 144 of file IpInexactCq.hpp.
|
private |
Definition at line 145 of file IpInexactCq.hpp.
|
private |
Definition at line 146 of file IpInexactCq.hpp.
|
private |
Definition at line 147 of file IpInexactCq.hpp.
|
private |
Definition at line 148 of file IpInexactCq.hpp.
|
private |
Definition at line 149 of file IpInexactCq.hpp.
|
private |
Upper bound on slack-based scaling factors.
Definition at line 153 of file IpInexactCq.hpp.