Ipopt Documentation  
 
Loading...
Searching...
No Matches
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
13namespace Ipopt
14{
15
26{
27public:
30
32
35 { }
37
40 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
62private:
73
76 );
77
81 );
83
90
91};
92
101 OptionsList& options_list
102);
103
104} // namespace Ipopt
105
106#endif
Builder for creating a complete IpoptAlg object.
Builder to create a complete IpoptAlg object for the inexact step computation version.
InexactAlgorithmBuilder(const InexactAlgorithmBuilder &)
Copy Constructor.
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...
static void RegisterOptions(SmartPtr< RegisteredOptions > roptions)
register the options used by the algorithm builder
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.
virtual ~InexactAlgorithmBuilder()
Destructor.
SmartPtr< AugSystemSolver > custom_solver_
Optional pointer to AugSystemSolver.
void operator=(const InexactAlgorithmBuilder &)
Overloaded Assignment Operator.
InexactAlgorithmBuilder()
Constructor.
Class responsible for all message output.
This class stores a list of user set options.
Template class for Smart Pointers.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
void AddInexactDefaultOptions(OptionsList &options_list)
Function for setting options who's default is different for the inexact algorithm compared to the def...