7#ifndef __IPMC19TSYMSCALINGMETHOD_HPP__
8#define __IPMC19TSYMSCALINGMETHOD_HPP__
18#define IPOPT_DECL_MC19A(x) void (x)( \
52 const std::string& prefix
#define IPOPT_DECL_MC19A(x)
Class for the method for computing scaling factors for symmetric matrices in triplet format,...
virtual bool ComputeSymTScalingFactors(Index n, Index nnz, const Index *airn, const Index *ajcn, const Number *a, Number *scaling_factors)
Method for computing the symmetric scaling factors, given the symmetric matrix in triplet (MA27) form...
virtual ~Mc19TSymScalingMethod()
Mc19TSymScalingMethod(SmartPtr< LibraryLoader > hslloader_)
static void SetFunctions()
set MC19 function to use for every instantiation of this class
SmartPtr< LibraryLoader > hslloader
Mc19TSymScalingMethod(const Mc19TSymScalingMethod &)
Copy Constructor.
static IPOPT_DECL_MC19A * GetMC19A()
get MC19A function that has been set via SetFunctions
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.
Template class for Smart Pointers.
Base class for the method for computing scaling factors for symmetric matrices in triplet format.
ipindex Index
Type of all indices of vectors, matrices etc.
ipnumber Number
Type of all numbers.