Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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: IpTSymScalingMethod.hpp 1861 2010-12-21 21:34:47Z andreasw $
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
IpAlgStrategy.hpp
Ipopt::AlgorithmStrategyObject
This is the base class for all algorithm strategy objects.
Definition: IpAlgStrategy.hpp:35
Ipopt::TSymScalingMethod::TSymScalingMethod
TSymScalingMethod()
Definition: IpTSymScalingMethod.hpp:28
Ipopt::TSymScalingMethod
Base class for the method for computing scaling factors for symmetric matrices in triplet format...
Definition: IpTSymScalingMethod.hpp:23
Ipopt::TSymScalingMethod::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
Ipopt::TSymScalingMethod::~TSymScalingMethod
~TSymScalingMethod()
Definition: IpTSymScalingMethod.hpp:31
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:32
Ipopt::TSymScalingMethod::operator=
void operator=(const TSymScalingMethod &)
Overloaded Equals Operator.
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::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19
Ipopt::DECLARE_STD_EXCEPTION
DECLARE_STD_EXCEPTION(SUFFIX_EMPTY)