Ipopt Documentation  
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 // Authors: Andreas Waechter IBM 2009-11-13
6 // (based on IpInexactTSymScalingMethod.hpp)
7 
8 #ifndef __IPSLACKBASEDTSYMSCALINGMETHOD_HPP__
9 #define __IPSLACKBASEDTSYMSCALINGMETHOD_HPP__
10 
11 #include "IpUtils.hpp"
12 #include "IpTSymScalingMethod.hpp"
13 
14 namespace Ipopt
15 {
16 
22 {
23 public:
27  { }
28 
30  { }
32 
33  virtual bool InitializeImpl(
34  const OptionsList& options,
35  const std::string& prefix
36  );
37 
42  Index n,
43  Index nnz,
44  const ipfint* airn,
45  const ipfint* ajcn,
46  const double* a,
47  double* scaling_factors
48  );
49 
50 private:
60  );
61 
63  void operator=(
65  );
66 };
67 
68 } // namespace Ipopt
69 
70 #endif
IpUtils.hpp
Ipopt::SlackBasedTSymScalingMethod::operator=
void operator=(const SlackBasedTSymScalingMethod &)
Default Assignment Operator.
Ipopt::SlackBasedTSymScalingMethod::SlackBasedTSymScalingMethod
SlackBasedTSymScalingMethod(const SlackBasedTSymScalingMethod &)
Copy Constructor.
IpTSymScalingMethod.hpp
Ipopt::SlackBasedTSymScalingMethod
Class for the method for computing scaling factors for symmetric matrices in triplet format,...
Definition: IpSlackBasedTSymScalingMethod.hpp:22
Ipopt::SlackBasedTSymScalingMethod::SlackBasedTSymScalingMethod
SlackBasedTSymScalingMethod()
Definition: IpSlackBasedTSymScalingMethod.hpp:26
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:14
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 symmetric matrix in triplet (MA27) form...
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
ipfint
FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:24
Ipopt::SlackBasedTSymScalingMethod::InitializeImpl
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.
Ipopt::TSymScalingMethod
Base class for the method for computing scaling factors for symmetric matrices in triplet format.
Definition: IpTSymScalingMethod.hpp:22
Ipopt::SlackBasedTSymScalingMethod::~SlackBasedTSymScalingMethod
virtual ~SlackBasedTSymScalingMethod()
Definition: IpSlackBasedTSymScalingMethod.hpp:29
Ipopt::OptionsList
This class stores a list of user set options.
Definition: IpOptionsList.hpp:33