Ipopt  3.11.9
IpAlgBuilder.hpp
Go to the documentation of this file.
1 // Copyright (C) 2004, 2007 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpAlgBuilder.hpp 1861 2010-12-21 21:34:47Z andreasw $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-09-29
8 
9 #ifndef __IPALGBUILDER_HPP__
10 #define __IPALGBUILDER_HPP__
11 
12 #include "IpIpoptAlg.hpp"
13 #include "IpReferenced.hpp"
14 #include "IpAugSystemSolver.hpp"
15 
16 namespace Ipopt
17 {
18 
33  {
34  public:
38  AlgorithmBuilder(SmartPtr<AugSystemSolver> custom_solver=NULL);
39 
42  {}
43 
45 
48  virtual void BuildIpoptObjects(const Journalist& jnlst,
49  const OptionsList& options,
50  const std::string& prefix,
51  const SmartPtr<NLP>& nlp,
52  SmartPtr<IpoptNLP>& ip_nlp,
53  SmartPtr<IpoptData>& ip_data,
55 
57  const OptionsList& options,
58  const std::string& prefix);
60 
64  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
66 
67  private:
77  //AlgorithmBuilder();
78 
81 
83  void operator=(const AlgorithmBuilder&);
85 
90 
91  };
92 } // namespace Ipopt
93 
94 #endif
Ipopt::AlgorithmBuilder::AlgorithmBuilder
AlgorithmBuilder(SmartPtr< AugSystemSolver > custom_solver=NULL)
Constructor.
Ipopt::AlgorithmBuilder::operator=
void operator=(const AlgorithmBuilder &)
Overloaded Equals Operator.
Ipopt
Definition: matlabjournal.hpp:14
IpAugSystemSolver.hpp
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:182
Ipopt::AlgorithmBuilder::BuildBasicAlgorithm
virtual SmartPtr< IpoptAlgorithm > BuildBasicAlgorithm(const Journalist &jnlst, const OptionsList &options, const std::string &prefix)
Ipopt::AlgorithmBuilder::BuildIpoptObjects
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)
Ipopt::AlgorithmBuilder::custom_solver_
SmartPtr< AugSystemSolver > custom_solver_
Optional pointer to AugSystemSolver.
Definition: IpAlgBuilder.hpp:89
IpReferenced.hpp
Ipopt::Journalist
Class responsible for all message output.
Definition: IpJournalist.hpp:134
Ipopt::AlgorithmBuilder::RegisterOptions
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptTypeInfo.
Ipopt::AlgorithmBuilder
Builder to create a complete IpoptAlg object.
Definition: IpAlgBuilder.hpp:32
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
IpIpoptAlg.hpp
Ipopt::ReferencedObject
ReferencedObject class.
Definition: IpReferenced.hpp:174
Ipopt::AlgorithmBuilder::~AlgorithmBuilder
virtual ~AlgorithmBuilder()
Destructor.
Definition: IpAlgBuilder.hpp:41