Ipopt
3.11.9
src
Algorithm
LinearSolvers
IpSlackBasedTSymScalingMethod.hpp
Go to the documentation of this file.
1
// Copyright (C) 2009 International Business Machines and others.
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// $Id: IpSlackBasedTSymScalingMethod.hpp 2206 2013-04-13 15:29:15Z stefan $
6
//
7
// Authors: Andreas Waechter IBM 2009-11-13
8
// (based on IpInexactTSymScalingMethod.hpp)
9
10
#ifndef __IPSLACKBASEDTSYMSCALINGMETHOD_HPP__
11
#define __IPSLACKBASEDTSYMSCALINGMETHOD_HPP__
12
13
#include "
IpUtils.hpp
"
14
#include "
IpTSymScalingMethod.hpp
"
15
16
namespace
Ipopt
17
{
18
23
class
SlackBasedTSymScalingMethod
:
public
TSymScalingMethod
24
{
25
public
:
28
SlackBasedTSymScalingMethod
()
29
{}
30
31
virtual
~SlackBasedTSymScalingMethod
()
32
{}
34
36
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
37
const
std::string& prefix);
38
41
virtual
bool
ComputeSymTScalingFactors
(
Index
n,
42
Index
nnz,
43
const
ipfint
* airn,
44
const
ipfint
* ajcn,
45
const
double
* a,
46
double
* scaling_factors);
47
private
:
55
SlackBasedTSymScalingMethod
(
const
SlackBasedTSymScalingMethod
&);
56
58
void
operator=
(
const
SlackBasedTSymScalingMethod
&);
59
};
60
61
62
}
// namespace Ipopt
63
64
#endif
IpUtils.hpp
Ipopt::SlackBasedTSymScalingMethod::operator=
void operator=(const SlackBasedTSymScalingMethod &)
Overloaded Equals Operator.
Ipopt::SlackBasedTSymScalingMethod::SlackBasedTSymScalingMethod
SlackBasedTSymScalingMethod(const SlackBasedTSymScalingMethod &)
Copy Constructor.
IpTSymScalingMethod.hpp
Ipopt::SlackBasedTSymScalingMethod
Class for the method for computing scaling factors for symmetric matrices in triplet format,...
Definition:
IpSlackBasedTSymScalingMethod.hpp:24
Ipopt::SlackBasedTSymScalingMethod::SlackBasedTSymScalingMethod
SlackBasedTSymScalingMethod()
Definition:
IpSlackBasedTSymScalingMethod.hpp:28
Ipopt
Definition:
matlabjournal.hpp:14
Ipopt::SlackBasedTSymScalingMethod::ComputeSymTScalingFactors
virtual bool ComputeSymTScalingFactors(Index n, Index nnz, const ipfint *airn, const ipfint *ajcn, const double *a, double *scaling_factors)
Method for computing the symmetric scaling factors, given the symmtric matrix in triplet (MA27) forma...
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition:
IpTypes.hpp:19
ipfint
FORTRAN_INTEGER_TYPE ipfint
Definition:
IpTypes.hpp:26
Ipopt::SlackBasedTSymScalingMethod::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
Ipopt::TSymScalingMethod
Base class for the method for computing scaling factors for symmetric matrices in triplet format.
Definition:
IpTSymScalingMethod.hpp:24
Ipopt::SlackBasedTSymScalingMethod::~SlackBasedTSymScalingMethod
virtual ~SlackBasedTSymScalingMethod()
Definition:
IpSlackBasedTSymScalingMethod.hpp:31
Ipopt::OptionsList
This class stores a list of user set options.
Definition:
IpOptionsList.hpp:33
Generated by
1.8.18