Compute the normal step using a dogleg approach. More...
#include <IpInexactDoglegNormal.hpp>
Static Public Member Functions | |
static void | RegisterOptions (SmartPtr< RegisteredOptions > roptions) |
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. | |
InexactDoglegNormalStep () | |
Default Constructor. | |
InexactDoglegNormalStep (const InexactDoglegNormalStep &) | |
Copy Constructor. | |
void | operator= (const InexactDoglegNormalStep &) |
Overloaded Assignment Operator. | |
Private Attributes | |
SmartPtr< InexactNewtonNormalStep > | newton_step_ |
Pointer to object for computing the "Newton" step in the dogleg method. | |
SmartPtr< InexactNormalTerminationTester > | normal_tester_ |
Pointer to object that is used by the newton_step computation object to determine if iterative solver is done. | |
Number | curr_omega_ |
Current value of the trust region factor. | |
bool | last_tr_inactive_ |
Flag indicating if trust region was active in last iteration. | |
Algorithmic options | |
Number | omega_max_ |
Additional Inherited Members | |
Protected Member Functions inherited from Ipopt::InexactNormalStepCalculator | |
InexactData & | InexData () |
Method to easily access Inexact data. | |
InexactCq & | InexCq () |
Method to easily access Inexact calculated quantities. | |
Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Compute the normal step using a dogleg approach.
Definition at line 18 of file IpInexactDoglegNormal.hpp.
Ipopt::InexactDoglegNormalStep::InexactDoglegNormalStep | ( | SmartPtr< InexactNewtonNormalStep > | newton_step, |
SmartPtr< InexactNormalTerminationTester > | normal_tester = NULL |
||
) |
Default Constructor.
|
virtual |
Destructor.
|
private |
Default Constructor.
|
private |
Copy Constructor.
|
virtual |
Implementation of the initialization method that has to be overloaded by for each derived class.
Implements Ipopt::InexactNormalStepCalculator.
|
virtual |
Method for computing the normal step.
The computed step is returned as normal_x and normal_s, for the x and s variables, respectively. These quantities are not slack-scaled. If the step cannot be computed, this method returns false.
Implements Ipopt::InexactNormalStepCalculator.
|
static |
|
private |
Overloaded Assignment Operator.
|
private |
Pointer to object for computing the "Newton" step in the dogleg method.
Definition at line 82 of file IpInexactDoglegNormal.hpp.
|
private |
Pointer to object that is used by the newton_step computation object to determine if iterative solver is done.
This is needed here because this dogleg object is setting the value of the linearized constraint violation at the cauchy point if normal_tester is not NULL.
Definition at line 91 of file IpInexactDoglegNormal.hpp.
|
private |
Definition at line 95 of file IpInexactDoglegNormal.hpp.
|
private |
Current value of the trust region factor.
Definition at line 99 of file IpInexactDoglegNormal.hpp.
|
private |
Flag indicating if trust region was active in last iteration.
Definition at line 102 of file IpInexactDoglegNormal.hpp.