Ipopt 3.11.9
Loading...
Searching...
No Matches
IpTSymScalingMethod.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: IpTSymScalingMethod.hpp 1861 2010-12-21 21:34:47Z andreasw $
6//
7// Authors: Carl Laird, Andreas Waechter IBM 2004-03-17
8
9#ifndef __IPTSYMSCALINGMETHOD_HPP__
10#define __IPTSYMSCALINGMETHOD_HPP__
11
12#include "IpUtils.hpp"
13#include "IpAlgStrategy.hpp"
14
15namespace Ipopt
16{
17
18 DECLARE_STD_EXCEPTION(ERROR_IN_LINEAR_SCALING_METHOD);
19
24 {
25 public:
30
34
36 virtual bool InitializeImpl(const OptionsList& options,
37 const std::string& prefix) = 0;
38
42 Index nnz,
43 const Index* airn,
44 const Index* ajcn,
45 const double* a,
46 double* scaling_factors) = 0;
47 private:
56
59 };
60
61} // namespace Ipopt
62
63#endif
#define DECLARE_STD_EXCEPTION(__except_type)
This is the base class for all algorithm strategy objects.
This class stores a list of user set options.
Base class for the method for computing scaling factors for symmetric matrices in triplet format.
void operator=(const TSymScalingMethod &)
Overloaded Equals Operator.
TSymScalingMethod(const TSymScalingMethod &)
Copy Constructor.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)=0
overloaded from AlgorithmStrategyObject
virtual bool ComputeSymTScalingFactors(Index n, Index nnz, const Index *airn, const Index *ajcn, const double *a, double *scaling_factors)=0
Method for computing the symmetric scaling factors, given the symmtric matrix in triplet (MA27) forma...
int Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:19