Ipopt
3.12.13
src
Algorithm
LinearSolvers
IpTSymScalingMethod.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$
6
//
7
// Authors: Carl Laird, Andreas Waechter IBM 2004-03-17
8
9
#ifndef __IPTSYMSCALINGMETHOD_HPP__
10
#define __IPTSYMSCALINGMETHOD_HPP__
11
12
#include "
IpUtils.hpp
"
13
#include "
IpAlgStrategy.hpp
"
14
15
namespace
Ipopt
16
{
17
18
DECLARE_STD_EXCEPTION
(ERROR_IN_LINEAR_SCALING_METHOD);
19
23
class
TSymScalingMethod
:
public
AlgorithmStrategyObject
24
{
25
public
:
28
TSymScalingMethod
()
29
{}
30
31
~TSymScalingMethod
()
32
{}
34
36
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
37
const
std::string& prefix) = 0;
38
41
virtual
bool
ComputeSymTScalingFactors
(
Index
n,
42
Index
nnz,
43
const
Index
* airn,
44
const
Index
* ajcn,
45
const
double
* a,
46
double
* scaling_factors) = 0;
47
private
:
55
TSymScalingMethod
(
const
TSymScalingMethod
&);
56
58
void
operator=
(
const
TSymScalingMethod
&);
59
};
60
61
}
// namespace Ipopt
62
63
#endif
IpUtils.hpp
Ipopt::TSymScalingMethod::operator=
void operator=(const TSymScalingMethod &)
Overloaded Equals Operator.
Ipopt
Definition:
matlabjournal.hpp:14
Ipopt::TSymScalingMethod::TSymScalingMethod
TSymScalingMethod()
Definition:
IpTSymScalingMethod.hpp:28
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition:
IpTypes.hpp:19
Ipopt::TSymScalingMethod::~TSymScalingMethod
~TSymScalingMethod()
Definition:
IpTSymScalingMethod.hpp:31
Ipopt::TSymScalingMethod::ComputeSymTScalingFactors
virtual bool ComputeSymTScalingFactors(Index n, Index nnz, const Index *airn, const Index *ajcn, const double *a, double *scaling_factors)=0
Method for computing the symmetric scaling factors, given the symmtric matrix in triplet (MA27) forma...
Ipopt::TSymScalingMethod::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition:
IpAlgStrategy.hpp:35
IpAlgStrategy.hpp
Ipopt::TSymScalingMethod
Base class for the method for computing scaling factors for symmetric matrices in triplet format.
Definition:
IpTSymScalingMethod.hpp:23
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:32
Ipopt::DECLARE_STD_EXCEPTION
DECLARE_STD_EXCEPTION(SUFFIX_EMPTY)
Generated on Sun Jan 5 2020 00:00:00 for Ipopt by
1.8.16