Ipopt
3.11.8
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Algorithm
Inexact
IpInexactTSymScalingMethod.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: IpInexactTSymScalingMethod.hpp 2206 2013-04-13 15:29:15Z stefan $
6
//
7
// Authors: Andreas Waechter, Frank E. Curtis IBM 2009-06-12
8
// (based on IpMc19TSymScalingMethod.hpp rev 699)
9
10
#ifndef __IPINEXACTTSYMSCALINGMETHOD_HPP__
11
#define __IPINEXACTTSYMSCALINGMETHOD_HPP__
12
13
#include "
IpUtils.hpp
"
14
#include "
IpTSymScalingMethod.hpp
"
15
#include "
IpInexactCq.hpp
"
16
17
namespace
Ipopt
18
{
19
24
class
InexactTSymScalingMethod
:
public
TSymScalingMethod
25
{
26
public
:
29
InexactTSymScalingMethod
()
30
{}
31
32
virtual
~InexactTSymScalingMethod
()
33
{}
35
37
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
38
const
std::string& prefix);
39
42
virtual
bool
ComputeSymTScalingFactors
(
Index
n,
43
Index
nnz,
44
const
ipfint
* airn,
45
const
ipfint
* ajcn,
46
const
double
* a,
47
double
* scaling_factors);
48
private
:
56
InexactTSymScalingMethod
(
const
InexactTSymScalingMethod
&);
57
59
void
operator=
(
const
InexactTSymScalingMethod
&);
60
62
InexactCq
&
InexCq
()
63
{
64
InexactCq
& inexact_cq =
65
static_cast<
InexactCq
&
>
(
IpCq
().
AdditionalCq
());
66
DBG_ASSERT
(dynamic_cast<InexactCq*>(&
IpCq
().AdditionalCq()));
67
return
inexact_cq;
68
}
69
70
};
71
72
73
}
// namespace Ipopt
74
75
#endif
Generated by
1.8.3.1