Ipopt
3.12.12
|
Compute the normal step using a dogleg approach. More...
#include <IpInexactDoglegNormal.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
overloaded from AlgorithmStrategyObject More... | |
virtual bool | ComputeNormalStep (SmartPtr< Vector > &normal_x, SmartPtr< Vector > &normal_s) |
Method for computing the normal step. More... | |
Constructors/Destructors | |
InexactDoglegNormalStep (SmartPtr< InexactNewtonNormalStep > newton_step, SmartPtr< InexactNormalTerminationTester > normal_tester=NULL) | |
Default onstructor. More... | |
virtual | ~InexactDoglegNormalStep () |
Default destructor. More... | |
![]() | |
InexactNormalStepCalculator () | |
Default onstructor. More... | |
virtual | ~InexactNormalStepCalculator () |
Default destructor. More... | |
![]() | |
bool | Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix) |
This method is called every time the algorithm starts again - it is used to reset any internal state. More... | |
bool | ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix) |
Reduced version of the Initialize method, which does not require special Ipopt information. More... | |
AlgorithmStrategyObject () | |
Default Constructor. More... | |
virtual | ~AlgorithmStrategyObject () |
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 (SmartPtr< RegisteredOptions > roptions) |
Methods for IpoptType. More... | |
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 onstructor. More... | |
InexactDoglegNormalStep (const InexactDoglegNormalStep &) | |
Copy Constructor. More... | |
void | operator= (const InexactDoglegNormalStep &) |
Overloaded Equals Operator. More... | |
Private Attributes | |
SmartPtr< InexactNewtonNormalStep > | newton_step_ |
Pointer to object for computing the "Newton" step in the dogleg method. More... | |
SmartPtr < InexactNormalTerminationTester > | normal_tester_ |
Pointer to object that is used by the newton_step computation object to determine if iterative solver is done. More... | |
Number | curr_omega_ |
Current value of the trust region factor. More... | |
bool | last_tr_inactive_ |
Flag indicating if trust region was active in last iteration. More... | |
Algorithmic options | |
Number | omega_max_ |
Additional Inherited Members | |
![]() | |
InexactData & | InexData () |
Method to easily access Inexact data. More... | |
InexactCq & | InexCq () |
Method to easily access Inexact calculated quantities. More... | |
![]() | |
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 20 of file IpInexactDoglegNormal.hpp.
Ipopt::InexactDoglegNormalStep::InexactDoglegNormalStep | ( | SmartPtr< InexactNewtonNormalStep > | newton_step, |
SmartPtr< InexactNormalTerminationTester > | normal_tester = NULL |
||
) |
Default onstructor.
|
virtual |
Default destructor.
|
private |
Default onstructor.
|
private |
Copy Constructor.
|
virtual |
overloaded from AlgorithmStrategyObject
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 |
Methods for IpoptType.
|
private |
Overloaded Equals Operator.
|
private |
Pointer to object for computing the "Newton" step in the dogleg method.
Definition at line 70 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 linearlized constraint violation at the cauchy point if normal_tester is not NULL.
Definition at line 77 of file IpInexactDoglegNormal.hpp.
|
private |
Definition at line 81 of file IpInexactDoglegNormal.hpp.
|
private |
Current value of the trust region factor.
Definition at line 85 of file IpInexactDoglegNormal.hpp.
|
private |
Flag indicating if trust region was active in last iteration.
Definition at line 88 of file IpInexactDoglegNormal.hpp.