Ipopt::AlgorithmBuilder Class Reference

Builder to create a complete IpoptAlg object. More...

#include <IpAlgBuilder.hpp>

Inheritance diagram for Ipopt::AlgorithmBuilder:

Inheritance graph
[legend]
Collaboration diagram for Ipopt::AlgorithmBuilder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Constructors/Destructors
 AlgorithmBuilder ()
 Constructor.
virtual ~AlgorithmBuilder ()
 Destructor.
Methods to build parts of the algorithm
virtual void BuildIpoptObjects (const Journalist &jnlst, const OptionsList &options, const std::string &prefix, const SmartPtr< NLP > &nlp, SmartPtr< IpoptNLP > &ip_nlp, SmartPtr< IpoptData > &ip_data, SmartPtr< IpoptCalculatedQuantities > &ip_cq)
virtual SmartPtr< IpoptAlgorithmBuildBasicAlgorithm (const Journalist &jnlst, const OptionsList &options, const std::string &prefix)

Static Public Member Functions

static void RegisterOptions (SmartPtr< RegisteredOptions > roptions)
 register the options used by the algorithm builder

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.

 AlgorithmBuilder (const AlgorithmBuilder &)
 Copy Constructor.
void operator= (const AlgorithmBuilder &)
 Overloaded Equals Operator.

Detailed Description

Builder to create a complete IpoptAlg object.

This object contains all subelements (such as line search objects etc). How the resulting IpoptAlg object is built can be influenced by the options. TODO: Currently, this is a basic implementation with everything in one method that can be overloaded. This will need to be expanded to allow customization of different parts without recoding everything.

Definition at line 26 of file IpAlgBuilder.hpp.


Constructor & Destructor Documentation

Ipopt::AlgorithmBuilder::AlgorithmBuilder (  )  [inline]

Constructor.

Definition at line 32 of file IpAlgBuilder.hpp.

virtual Ipopt::AlgorithmBuilder::~AlgorithmBuilder (  )  [inline, virtual]

Destructor.

Definition at line 36 of file IpAlgBuilder.hpp.

Ipopt::AlgorithmBuilder::AlgorithmBuilder ( const AlgorithmBuilder  )  [private]

Copy Constructor.


Member Function Documentation

virtual void Ipopt::AlgorithmBuilder::BuildIpoptObjects ( const Journalist jnlst,
const OptionsList options,
const std::string &  prefix,
const SmartPtr< NLP > &  nlp,
SmartPtr< IpoptNLP > &  ip_nlp,
SmartPtr< IpoptData > &  ip_data,
SmartPtr< IpoptCalculatedQuantities > &  ip_cq 
) [virtual]

virtual SmartPtr<IpoptAlgorithm> Ipopt::AlgorithmBuilder::BuildBasicAlgorithm ( const Journalist jnlst,
const OptionsList options,
const std::string &  prefix 
) [virtual]

static void Ipopt::AlgorithmBuilder::RegisterOptions ( SmartPtr< RegisteredOptions roptions  )  [static]

register the options used by the algorithm builder

void Ipopt::AlgorithmBuilder::operator= ( const AlgorithmBuilder  )  [private]

Overloaded Equals Operator.


The documentation for this class was generated from the following file:
Generated on Thu May 15 22:20:47 2008 by  doxygen 1.4.7