Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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
ipfint
FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:26
Ipopt::SlackBasedTSymScalingMethod::SlackBasedTSymScalingMethod
SlackBasedTSymScalingMethod()
Definition: IpSlackBasedTSymScalingMethod.hpp:28
IpTSymScalingMethod.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::SlackBasedTSymScalingMethod
Class for the method for computing scaling factors for symmetric matrices in triplet format...
Definition: IpSlackBasedTSymScalingMethod.hpp:23
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::SlackBasedTSymScalingMethod::InitializeImpl
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19
Ipopt::SlackBasedTSymScalingMethod::~SlackBasedTSymScalingMethod
virtual ~SlackBasedTSymScalingMethod()
Definition: IpSlackBasedTSymScalingMethod.hpp:31
Ipopt::SlackBasedTSymScalingMethod::operator=
void operator=(const SlackBasedTSymScalingMethod &)
Overloaded Equals Operator.