7#ifndef __IPEQUILIBRATIONSCALING_HPP__
8#define __IPEQUILIBRATIONSCALING_HPP__
51 const std::string& prefix
121 const Vector& reference_point,
122 Number random_pert_radius,
#define IPOPT_DECL_MC19A(x)
This class does problem scaling by setting the scaling parameters based on the maximum of the gradien...
Number point_perturbation_radius_
maximal radius for the random perturbation of the initial point
void operator=(const EquilibrationScaling &)
Default Assignment Operator.
bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Initialize the object from the options.
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
Methods for IpoptType.
EquilibrationScaling(const SmartPtr< NLP > &nlp, SmartPtr< LibraryLoader > hslloader_)
virtual ~EquilibrationScaling()
Destructor.
SmartPtr< NLP > nlp_
pointer to the NLP to get scaling parameters
virtual void DetermineScalingParametersImpl(const SmartPtr< const VectorSpace > x_space, const SmartPtr< const VectorSpace > c_space, const SmartPtr< const VectorSpace > d_space, const SmartPtr< const MatrixSpace > jac_c_space, const SmartPtr< const MatrixSpace > jac_d_space, const SmartPtr< const SymMatrixSpace > h_space, const Matrix &Px_L, const Vector &x_L, const Matrix &Px_U, const Vector &x_U, Number &df, SmartPtr< Vector > &dx, SmartPtr< Vector > &dc, SmartPtr< Vector > &dd)
This is the method that has to be overloaded by a particular scaling method that somehow computes the...
SmartPtr< LibraryLoader > hslloader
EquilibrationScaling(const EquilibrationScaling &)
Copy Constructor.
This class stores a list of user set options.
This class is a simple object for generating randomly perturbed points that are within the NLP bounds...
virtual ~PointPerturber()
Destructor.
SmartPtr< Vector > ref_point_
pointer to the midpoint of the perturbation
PointPerturber(const PointPerturber &)
Copy Constructor.
SmartPtr< Vector > pert_dir_
pointer to the perturbation vector
PointPerturber(const Vector &reference_point, Number random_pert_radius, const Matrix &Px_L, const Vector &x_L, const Matrix &Px_U, const Vector &x_U)
SmartPtr< Vector > MakeNewPerturbedPoint() const
Return a new perturbed point.
void operator=(const PointPerturber &)
Default Assignment Operator.
Storing the reference count of all the smart pointers that currently reference it.
Template class for Smart Pointers.
This is a base class for many standard scaling techniques.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipnumber Number
Type of all numbers.