Ipopt  3.11.8
 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 
24  {
25  public:
29  {}
30 
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:
56 
59  };
60 
61 
62 } // namespace Ipopt
63 
64 #endif