10 #ifndef __IPINEXACTCQ_HPP__
11 #define __IPINEXACTCQ_HPP__
42 const std::string& prefix);
Number * x
Input: Starting point Output: Optimal solution.
Templated class for Cached Results.
Class for all Chen-Goldfarb penalty method specific calculated quantities.
CachedResults< Number > curr_scaled_Ac_norm_cache_
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.
CachedResults< SmartPtr< const Vector > > curr_jac_times_normal_d_cache_
InexactCq(IpoptNLP *ip_nlp, IpoptData *ip_data, IpoptCalculatedQuantities *ip_cq)
Constructor.
SmartPtr< const Vector > curr_Wu_s()
Compute s component of the W*u product for the current values.
CachedResults< SmartPtr< const Vector > > curr_W_times_vec_s_cache_
Number slack_scale_max_
Upper bound on slack-based scaling factors.
Number slack_scaled_norm(const Vector &x, const Vector &s)
Compute the 2-norm of a slack-scaled vector with x and s component.
CachedResults< Number > curr_uWu_cache_
SmartPtr< const Vector > curr_Wu_x()
Compute x component of the W*u product for the current values.
Number curr_scaled_A_norm2()
Scaled, squared norm of A.
CachedResults< SmartPtr< const Vector > > curr_Wu_s_cache_
InexactCq(const InexactCq &)
Copy Constructor.
SmartPtr< const Vector > curr_jac_times_normal_c()
Compute the c-component of the product of the current constraint Jacobian with the current normal ste...
CachedResults< SmartPtr< const Vector > > curr_jac_cdT_times_curr_cdminuss_cache_
void operator=(const InexactCq &)
Overloaded Equals Operator.
IpoptCalculatedQuantities * ip_cq_
SmartPtr< const Vector > curr_scaling_slacks()
Vector of all inequality slacks for doing the slack-based scaling.
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
Methods for IpoptType.
CachedResults< SmartPtr< const Vector > > curr_Wu_x_cache_
CachedResults< SmartPtr< const Vector > > curr_jac_times_normal_c_cache_
CachedResults< SmartPtr< const Vector > > curr_slack_scaled_d_minus_s_cache_
Number curr_scaled_Ac_norm()
Scaled norm of Ac.
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.
virtual ~InexactCq()
Default destructor.
CachedResults< SmartPtr< const Vector > > curr_W_times_vec_x_cache_
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_times_normal_d()
Compute the d-component of the product of the current constraint Jacobian with the current normal ste...
CachedResults< SmartPtr< const Vector > > curr_scaling_slacks_cache_
InexactCq()
Default Constructor.
CachedResults< Number > slack_scaled_norm_cache_
Number curr_uWu()
Compute the u^T*W*u product for the current values.
SmartPtr< const Vector > curr_slack_scaled_d_minus_s()
Vector with the slack-scaled d minus s inequalities.
InexactData & InexData()
Method to easily access Inexact data.
SmartPtr< const Vector > curr_jac_cdT_times_curr_cdminuss()
Gradient of infeasibility w.r.t.
Class to organize all the additional data required by the Chen-Goldfarb penalty function algorithm.
Base class for additional calculated quantities that is special to a particular type of algorithm,...
Class for all IPOPT specific calculated quantities.
Class to organize all the data required by the algorithm.
IpoptAdditionalData & AdditionalData()
Get access to additional data object.
This is the abstract base class for classes that map the traditional NLP into something that is more ...
Class responsible for all message output.
This class stores a list of user set options.
Template class for Smart Pointers.
double Number
Type of all numbers.