Ipopt Documentation  
 
Loading...
Searching...
No Matches
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"
12
13namespace Ipopt
14{
15
20{
21public:
25 { }
26
28 { }
30
31 virtual bool InitializeImpl(
32 const OptionsList& options,
33 const std::string& prefix
34 );
35
40 Index n,
41 Index nnz,
42 const ipfint* airn,
43 const ipfint* ajcn,
44 const double* a,
45 double* scaling_factors
46 );
47
48private:
55
58 );
59
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,...
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...
Mc19TSymScalingMethod(const Mc19TSymScalingMethod &)
Copy Constructor.
void operator=(const Mc19TSymScalingMethod &)
Default Assignment Operator.
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.
This class stores a list of user set options.
Base class for the method for computing scaling factors for symmetric matrices in triplet format.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17