Ipopt Documentation  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IpMc19TSymScalingMethod.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 // Authors: Carl Laird, Andreas Waechter IBM 2004-03-17
6 
7 #ifndef __IPMC19TSYMSCALINGMETHOD_HPP__
8 #define __IPMC19TSYMSCALINGMETHOD_HPP__
9 
10 #include "IpUtils.hpp"
11 #include "IpTSymScalingMethod.hpp"
12 
13 namespace Ipopt
14 {
15 
20 {
21 public:
25  { }
26 
28  { }
30 
31  virtual bool InitializeImpl(
32  const OptionsList& options,
33  const std::string& prefix
34  );
35 
39  virtual bool ComputeSymTScalingFactors(
40  Index n,
41  Index nnz,
42  const ipfint* airn,
43  const ipfint* ajcn,
44  const double* a,
45  double* scaling_factors
46  );
47 
48 private:
54 
58  );
59 
61  void operator=(
63  );
64 };
65 
66 } // namespace Ipopt
67 
68 #endif
IPOPT_FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:24
Class for the method for computing scaling factors for symmetric matrices in triplet format...
Base class for the method for computing scaling factors for symmetric matrices in triplet format...
This class stores a list of user set options.
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Implementation of the initialization method that has to be overloaded by for each derived class...
void operator=(const Mc19TSymScalingMethod &)
Default Assignment Operator.
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 symmetric matrix in triplet (MA27) form...