Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

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
27 class InexactAlgorithmBuilder : public AlgorithmBuilder
28 {
29 public:
33 InexactAlgorithmBuilder();
34
36 virtual ~InexactAlgorithmBuilder()
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,
49 SmartPtr<IpoptCalculatedQuantities>& ip_cq);
50
51 virtual SmartPtr<IpoptAlgorithm> BuildBasicAlgorithm(const Journalist& jnlst,
52 const OptionsList& options,
53 const std::string& prefix);
55
59 static void RegisterOptions(SmartPtr<RegisteredOptions> roptions);
61
62 private:
72 //InexactAlgorithmBuilder();
73
75 InexactAlgorithmBuilder(const InexactAlgorithmBuilder&);
76
78 void operator=(const InexactAlgorithmBuilder&);
80
84 SmartPtr<AugSystemSolver> custom_solver_;
85
86 };
87
93 void AddInexactDefaultOptions(OptionsList& options_list);
94
95 } // namespace Ipopt
96
97 #endif
Ipopt::InexactAlgorithmBuilder::~InexactAlgorithmBuilder
virtual ~InexactAlgorithmBuilder()
Destructor.
Definition: IpInexactAlgBuilder.hpp:36
Ipopt::InexactAlgorithmBuilder::custom_solver_
SmartPtr< AugSystemSolver > custom_solver_
Optional pointer to AugSystemSolver.
Definition: IpInexactAlgBuilder.hpp:84
Ipopt::InexactAlgorithmBuilder::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)
Allocates memory for the IpoptNLP, IpoptData, and IpoptCalculatedQuanties arguments.
Ipopt::AlgorithmBuilder
Builder for creating a complete IpoptAlg object.
Definition: IpAlgBuilder.hpp:49
Ipopt::InexactAlgorithmBuilder::BuildBasicAlgorithm
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...
IpAlgBuilder.hpp
Ipopt::InexactAlgorithmBuilder::InexactAlgorithmBuilder
InexactAlgorithmBuilder()
Constructor.
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::InexactAlgorithmBuilder::RegisterOptions
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
Methods for IpoptTypeInfo.
Ipopt::InexactAlgorithmBuilder
Builder to create a complete IpoptAlg object for the inexact step computation version.
Definition: IpInexactAlgBuilder.hpp:27
Ipopt::AddInexactDefaultOptions
void AddInexactDefaultOptions(OptionsList &options_list)
Function for setting options whos default is different for the inexact algorithm compared to the defa...
Ipopt::Journalist
Class responsible for all message output.
Definition: IpJournalist.hpp:134
Ipopt::InexactAlgorithmBuilder::operator=
void operator=(const InexactAlgorithmBuilder &)
Overloaded Equals Operator.