Main Page
Namespaces
Classes
Files
File List
File Members
build
buildd
coinor-ipopt-3.10.2
Ipopt
src
Algorithm
Inexact
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 1861 2010-12-21 21:34:47Z andreasw $
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
21
class
InexactAlgorithmBuilder
:
public
AlgorithmBuilder
22
{
23
public
:
27
InexactAlgorithmBuilder
();
28
30
virtual
~InexactAlgorithmBuilder
()
31
{}
32
34
37
virtual
void
BuildIpoptObjects
(
const
Journalist
& jnlst,
38
const
OptionsList
& options,
39
const
std::string& prefix,
40
const
SmartPtr<NLP>
& nlp,
41
SmartPtr<IpoptNLP>
& ip_nlp,
42
SmartPtr<IpoptData>
& ip_data,
43
SmartPtr<IpoptCalculatedQuantities>
& ip_cq);
44
45
virtual
SmartPtr<IpoptAlgorithm>
BuildBasicAlgorithm
(
const
Journalist
& jnlst,
46
const
OptionsList
& options,
47
const
std::string& prefix);
49
53
static
void
RegisterOptions
(
SmartPtr<RegisteredOptions>
roptions);
55
56
private
:
66
//InexactAlgorithmBuilder();
67
69
InexactAlgorithmBuilder
(
const
InexactAlgorithmBuilder
&);
70
72
void
operator=
(
const
InexactAlgorithmBuilder
&);
74
78
SmartPtr<AugSystemSolver>
custom_solver_
;
79
80
};
81
87
void
AddInexactDefaultOptions
(
OptionsList
& options_list);
88
89
}
// namespace Ipopt
90
91
#endif
Generated on Fri Jun 29 2012 06:35:12 by
1.8.1.1