Ipopt Documentation  
IpInexactAlgBuilder.hpp
Go to the documentation of this file.
1 // Copyright (C) 2008 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Authors: Andreas Waechter IBM 2008-09-05
6 // based on IpAlgBuilder.hpp (rev 913)
7 
8 #ifndef __IPINEXACTALGBUILDER_HPP__
9 #define __IPINEXACTALGBUILDER_HPP__
10 
11 #include "IpAlgBuilder.hpp"
12 
13 namespace Ipopt
14 {
15 
26 {
27 public:
29 
32 
35  { }
37 
39  virtual void BuildIpoptObjects(
41  const Journalist& jnlst,
42  const OptionsList& options,
43  const std::string& prefix,
44  const SmartPtr<NLP>& nlp,
45  SmartPtr<IpoptNLP>& ip_nlp,
46  SmartPtr<IpoptData>& ip_data,
48  );
49 
51  const Journalist& jnlst,
52  const OptionsList& options,
53  const std::string& prefix
54  );
56 
58  static void RegisterOptions(
60  );
61 
62 private:
72 
76  );
77 
79  void operator=(
81  );
83 
90 
91 };
92 
101  OptionsList& options_list
102 );
103 
104 } // namespace Ipopt
105 
106 #endif
virtual ~InexactAlgorithmBuilder()
Destructor.
SmartPtr< AugSystemSolver > custom_solver_
Optional pointer to AugSystemSolver.
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)
Allocates memory for the IpoptNLP, IpoptData, and IpoptCalculatedQuanties arguments.
Builder for creating a complete IpoptAlg object.
virtual SmartPtr< IpoptAlgorithm > BuildBasicAlgorithm(const Journalist &jnlst, const OptionsList &options, const std::string &prefix)
Creates an instance of the IpoptAlgorithm class by building each of its required constructor argument...
InexactAlgorithmBuilder()
Constructor.
This file contains a base class for all exceptions and a set of macros to help with exceptions...
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:164
This class stores a list of user set options.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
register the options used by the algorithm builder
Builder to create a complete IpoptAlg object for the inexact step computation version.
void AddInexactDefaultOptions(OptionsList &options_list)
Function for setting options who&#39;s default is different for the inexact algorithm compared to the def...
Class responsible for all message output.
void operator=(const InexactAlgorithmBuilder &)
Overloaded Assignment Operator.