Ipopt  3.12.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 // $Id: IpInexactAlgBuilder.hpp 2666 2016-07-20 16:02:55Z stefan $
6 //
7 // Authors: Andreas Waechter IBM 2008-09-05
8 // based on IpAlgBuilder.hpp (rev 913)
9 
10 #ifndef __IPINEXACTALGBUILDER_HPP__
11 #define __IPINEXACTALGBUILDER_HPP__
12 
13 #include "IpAlgBuilder.hpp"
14 
15 namespace Ipopt
16 {
17 
28  {
29  public:
34 
37  {}
38 
40 
43  virtual void BuildIpoptObjects(const Journalist& jnlst,
44  const OptionsList& options,
45  const std::string& prefix,
46  const SmartPtr<NLP>& nlp,
47  SmartPtr<IpoptNLP>& ip_nlp,
48  SmartPtr<IpoptData>& ip_data,
50 
52  const OptionsList& options,
53  const std::string& prefix);
55 
59  static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
61 
62  private:
72  //InexactAlgorithmBuilder();
73 
76 
80 
85 
86  };
87 
93  void AddInexactDefaultOptions(OptionsList& options_list);
94 
95 } // namespace Ipopt
96 
97 #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.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
This class stores a list of user set options.
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptTypeInfo.
Builder to create a complete IpoptAlg object for the inexact step computation version.
void AddInexactDefaultOptions(OptionsList &options_list)
Function for setting options whos default is different for the inexact algorithm compared to the defa...
Class responsible for all message output.
void operator=(const InexactAlgorithmBuilder &)
Overloaded Equals Operator.