Ipopt  3.12.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 // $Id: IpMc19TSymScalingMethod.hpp 2206 2013-04-13 15:29:15Z stefan $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-03-17
8 
9 #ifndef __IPMC19TSYMSCALINGMETHOD_HPP__
10 #define __IPMC19TSYMSCALINGMETHOD_HPP__
11 
12 #include "IpUtils.hpp"
13 #include "IpTSymScalingMethod.hpp"
14 
15 namespace Ipopt
16 {
17 
22  {
23  public:
27  {}
28 
30  {}
32 
34  virtual bool InitializeImpl(const OptionsList& options,
35  const std::string& prefix);
36 
39  virtual bool ComputeSymTScalingFactors(Index n,
40  Index nnz,
41  const ipfint* airn,
42  const ipfint* ajcn,
43  const double* a,
44  double* scaling_factors);
45  private:
54 
56  void operator=(const Mc19TSymScalingMethod&);
57  };
58 
59 
60 } // namespace Ipopt
61 
62 #endif
FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:26
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:19
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
void operator=(const Mc19TSymScalingMethod &)
Overloaded Equals 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 symmtric matrix in triplet (MA27) forma...