Ipopt  3.11.9
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 
24  {
25  public:
29  {}
30 
32  {}
34 
36  virtual bool InitializeImpl(const OptionsList& options,
37  const std::string& prefix);
38 
42  Index nnz,
43  const ipfint* airn,
44  const ipfint* ajcn,
45  const double* a,
46  double* scaling_factors);
47  private:
56 
59  };
60 
61 
62 } // namespace Ipopt
63 
64 #endif
FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:26
This class stores a list of user set options.
Class for the method for computing scaling factors for symmetric matrices in triplet format,...
SlackBasedTSymScalingMethod(const SlackBasedTSymScalingMethod &)
Copy Constructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
overloaded from AlgorithmStrategyObject
void operator=(const SlackBasedTSymScalingMethod &)
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...
Base class for the method for computing scaling factors for symmetric matrices in triplet format.
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19