Ipopt
3.11.8
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Algorithm
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
32
class
AlgorithmBuilder
:
public
ReferencedObject
33
{
34
public
:
38
AlgorithmBuilder
(
SmartPtr<AugSystemSolver>
custom_solver=NULL);
39
41
virtual
~AlgorithmBuilder
()
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,
54
SmartPtr<IpoptCalculatedQuantities>
& ip_cq);
55
56
virtual
SmartPtr<IpoptAlgorithm>
BuildBasicAlgorithm
(
const
Journalist
& jnlst,
57
const
OptionsList
& options,
58
const
std::string& prefix);
60
64
static
void
RegisterOptions
(
SmartPtr<RegisteredOptions>
roptions);
66
67
private
:
77
//AlgorithmBuilder();
78
80
AlgorithmBuilder
(
const
AlgorithmBuilder
&);
81
83
void
operator=
(
const
AlgorithmBuilder
&);
85
89
SmartPtr<AugSystemSolver>
custom_solver_
;
90
91
};
92
}
// namespace Ipopt
93
94
#endif
Generated by
1.8.3.1