Ipopt
3.12.12
|
Implementation of the search direction calculator that computes the pure primal dual step for the current barrier parameter. More...
#include <IpPDSearchDirCalc.hpp>
Public Member Functions | |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
overloaded from AlgorithmStrategyObject More... | |
virtual bool | ComputeSearchDirection () |
Method for computing the search direction. More... | |
SmartPtr< PDSystemSolver > | PDSolver () |
Method to return the pd_solver for additional processing. More... | |
Constructors/Destructors | |
PDSearchDirCalculator (const SmartPtr< PDSystemSolver > &pd_solver) | |
Constructor. More... | |
virtual | ~PDSearchDirCalculator () |
Default destructor. More... | |
![]() | |
SearchDirectionCalculator () | |
Constructor. More... | |
virtual | ~SearchDirectionCalculator () |
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 (const 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. | |
PDSearchDirCalculator () | |
Default Constructor. More... | |
PDSearchDirCalculator (const PDSearchDirCalculator &) | |
Copy Constructor. More... | |
void | operator= (const PDSearchDirCalculator &) |
Overloaded Equals Operator. More... | |
Private Attributes | |
Strategy objects | |
SmartPtr< PDSystemSolver > | pd_solver_ |
Algorithmic parameters | |
bool | fast_step_computation_ |
Flag indicating that we trust that the steps from the linear solver are very good and that we don't need any residual checks. More... | |
bool | mehrotra_algorithm_ |
Flag indicating if we want to do Mehrotras's algorithm. More... | |
Additional Inherited Members | |
![]() | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Implementation of the search direction calculator that computes the pure primal dual step for the current barrier parameter.
Definition at line 21 of file IpPDSearchDirCalc.hpp.
Ipopt::PDSearchDirCalculator::PDSearchDirCalculator | ( | const SmartPtr< PDSystemSolver > & | pd_solver | ) |
Constructor.
|
virtual |
Default destructor.
|
private |
Default Constructor.
|
private |
Copy Constructor.
|
virtual |
overloaded from AlgorithmStrategyObject
Implements Ipopt::SearchDirectionCalculator.
|
virtual |
Method for computing the search direction.
The computed direction is stored in IpData().delta().
Implements Ipopt::SearchDirectionCalculator.
|
static |
Methods for IpoptType.
|
inline |
Method to return the pd_solver for additional processing.
Definition at line 47 of file IpPDSearchDirCalc.hpp.
|
private |
Overloaded Equals Operator.
|
private |
Definition at line 73 of file IpPDSearchDirCalc.hpp.
|
private |
Flag indicating that we trust that the steps from the linear solver are very good and that we don't need any residual checks.
Definition at line 81 of file IpPDSearchDirCalc.hpp.
|
private |
Flag indicating if we want to do Mehrotras's algorithm.
This means that a number of options are ignored, or have to be set (or are automatically set) to certain values.
Definition at line 85 of file IpPDSearchDirCalc.hpp.