Go to the documentation of this file.
9 #ifndef __IPALGSTRATEGY_HPP__
10 #define __IPALGSTRATEGY_HPP__
71 const std::string& prefix)
94 const std::string& prefix)
115 const std::string& prefix)=0;
virtual ~AlgorithmStrategyObject()
Default Destructor.
Class to organize all the data required by the algorithm.
IpoptCalculatedQuantities & IpCq() const
Class for all IPOPT specific calculated quantities.
const Journalist & Jnlst() const
IpoptData & IpData() const
void operator=(const AlgorithmStrategyObject &)
Overloaded Equals Operator.
SmartPtr< IpoptNLP > ip_nlp_
Template class for Smart Pointers.
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.
SmartPtr< const Journalist > jnlst_
AlgorithmStrategyObject()
Default Constructor.
AlgorithmStrategyObject(const AlgorithmStrategyObject &)
Default Constructor.
SmartPtr< IpoptCalculatedQuantities > ip_cq_
Class responsible for all message output.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
Implementation of the initialization method that has to be overloaded by for each derived class.
This is the base class for all algorithm strategy objects.
bool IsValid(const SmartPtr< U > &smart_ptr)
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.
SmartPtr< IpoptData > ip_data_
This class stores a list of user set options.
bool initialize_called_
flag indicating if Initialize method has been called (for debugging)
This is the abstract base class for classes that map the traditional NLP into something that is more ...