Ipopt
3.11.9
src
Algorithm
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
// $Id: IpPDSystemSolver.hpp 1861 2010-12-21 21:34:47Z andreasw $
6
//
7
// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8
9
#ifndef __IPPDSYSTEMSOLVER_HPP__
10
#define __IPPDSYSTEMSOLVER_HPP__
11
12
#include "
IpUtils.hpp
"
13
#include "
IpSymMatrix.hpp
"
14
#include "
IpAlgStrategy.hpp
"
15
#include "
IpIteratesVector.hpp
"
16
17
namespace
Ipopt
18
{
19
76
class
PDSystemSolver
:
public
AlgorithmStrategyObject
77
{
78
public
:
82
PDSystemSolver
()
83
{}
84
86
virtual
~PDSystemSolver
()
87
{}
89
91
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
92
const
std::string& prefix) = 0;
93
106
virtual
bool
Solve
(
Number
alpha,
107
Number
beta,
108
const
IteratesVector
& rhs,
109
IteratesVector
& res,
110
bool
allow_inexact=
false
,
111
bool
improve_solution=
false
) =0;
112
113
private
:
123
PDSystemSolver
&
operator=
(
const
PDSystemSolver
&);
125
};
126
127
128
}
// namespace Ipopt
129
130
#endif
IpUtils.hpp
Ipopt::PDSystemSolver::operator=
PDSystemSolver & operator=(const PDSystemSolver &)
Overloaded Equals Operator.
Ipopt::PDSystemSolver::~PDSystemSolver
virtual ~PDSystemSolver()
Default destructor.
Definition:
IpPDSystemSolver.hpp:86
Ipopt::PDSystemSolver::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
Ipopt
Definition:
matlabjournal.hpp:14
Ipopt::Number
double Number
Type of all numbers.
Definition:
IpTypes.hpp:17
IpIteratesVector.hpp
Ipopt::PDSystemSolver::PDSystemSolver
PDSystemSolver()
Default Constructor.
Definition:
IpPDSystemSolver.hpp:82
IpSymMatrix.hpp
Ipopt::PDSystemSolver::Solve
virtual bool Solve(Number alpha, Number beta, const IteratesVector &rhs, IteratesVector &res, bool allow_inexact=false, bool improve_solution=false)=0
Solve the primal dual system, given one right hand side.
Ipopt::PDSystemSolver
Pure Primal Dual System Solver Base Class.
Definition:
IpPDSystemSolver.hpp:77
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition:
IpAlgStrategy.hpp:36
IpAlgStrategy.hpp
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:33
Ipopt::IteratesVector
Specialized CompoundVector class specifically for the algorithm iterates.
Definition:
IpIteratesVector.hpp:28
Generated by
1.8.18