Go to the documentation of this file.
9 #ifndef __IPEQUILIBRATIONSCALING_HPP__
10 #define __IPEQUILIBRATIONSCALING_HPP__
46 const std::string& prefix);
void operator=(const PointPerturber &)
Overloaded Equals Operator.
bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Initialize the object from the options.
This is a base class for many standard scaling techniques.
Number Number * x_U
Upper bounds on variables.
Number * x_L
Lower bounds on variables.
This class is a simple object for generating randomly perturbed points that are withing the NLP bound...
Number point_perturbation_radius_
maximal radius for the random perturbation of the initial point.
virtual ~PointPerturber()
Default destructor.
double Number
Type of all numbers.
SmartPtr< Vector > ref_point_
pointer to the midpoint of the perturbation
SmartPtr< Vector > MakeNewPerturbedPoint() const
Return a new perturbed point.
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)
static void RegisterOptions(const SmartPtr< RegisteredOptions > &roptions)
Methods for IpoptType.
SmartPtr< NLP > nlp_
pointer to the NLP to get scaling parameters
Template class for Smart Pointers.
SmartPtr< Vector > pert_dir_
pointer to the perturbation vector
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...
EquilibrationScaling(const SmartPtr< NLP > &nlp)
void operator=(const EquilibrationScaling &)
Overloaded Equals Operator.
This class does problem scaling by setting the scaling parameters based on the maximum of the gradien...
This class stores a list of user set options.
virtual ~EquilibrationScaling()
Default destructor.