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