Ipopt Documentation
IpPDSystemSolver.hpp
Go to the documentation of this file.
1
// Copyright (C) 2004, 2006 International Business Machines and others.
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6
7
#ifndef __IPPDSYSTEMSOLVER_HPP__
8
#define __IPPDSYSTEMSOLVER_HPP__
9
10
#include "
IpUtils.hpp
"
11
#include "
IpSymMatrix.hpp
"
12
#include "
IpAlgStrategy.hpp
"
13
#include "
IpIteratesVector.hpp
"
14
15
namespace
Ipopt
16
{
17
74
class
IPOPTLIB_EXPORT
PDSystemSolver
:
public
AlgorithmStrategyObject
75
{
76
public
:
80
PDSystemSolver
()
81
{ }
82
84
virtual
~PDSystemSolver
()
85
{ }
87
89
virtual
bool
InitializeImpl(
90
const
OptionsList
& options,
91
const
std::string& prefix
92
) = 0;
93
108
virtual
bool
Solve(
109
Number
alpha,
110
Number
beta,
111
const
IteratesVector
& rhs,
112
IteratesVector
& res,
113
bool
allow_inexact =
false
,
114
bool
improve_solution =
false
115
) = 0;
116
117
private
:
129
PDSystemSolver
& operator=(
130
const
PDSystemSolver
&
131
);
133
};
134
135
}
// namespace Ipopt
136
137
#endif
IpUtils.hpp
Ipopt::PDSystemSolver::~PDSystemSolver
virtual ~PDSystemSolver()
Destructor.
Definition:
IpPDSystemSolver.hpp:84
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition:
IpInexactAlgBuilder.hpp:13
Ipopt::Number
double Number
Type of all numbers.
Definition:
IpTypes.hpp:15
IpIteratesVector.hpp
IPOPTLIB_EXPORT
#define IPOPTLIB_EXPORT
Definition:
config_default.h:16
Ipopt::PDSystemSolver::PDSystemSolver
PDSystemSolver()
Default Constructor.
Definition:
IpPDSystemSolver.hpp:80
IpSymMatrix.hpp
Ipopt::PDSystemSolver
Pure Primal Dual System Solver Base Class.
Definition:
IpPDSystemSolver.hpp:74
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition:
IpAlgStrategy.hpp:34
IpAlgStrategy.hpp
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:32
Ipopt::IteratesVector
Specialized CompoundVector class specifically for the algorithm iterates.
Definition:
IpIteratesVector.hpp:25