This class is a simple object for generating randomly perturbed points that are withing the NLP bounds. More...
#include <IpEquilibrationScaling.hpp>
Public Member Functions | |
SmartPtr< Vector > | MakeNewPerturbedPoint () const |
Return a new perturbed point. | |
Constructors/Destructors | |
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) | |
Default destructor. | |
virtual | ~PointPerturber () |
Default destructor. | |
Private Member Functions | |
Default Compiler Generated Methods | |
PointPerturber (const PointPerturber &) | |
Copy Constructor. | |
void | operator= (const PointPerturber &) |
Overloaded Equals Operator. | |
Private Attributes | |
SmartPtr< Vector > | ref_point_ |
pointer to the midpoint of the perturbation | |
SmartPtr< Vector > | pert_dir_ |
pointer to the perturbation vector |
This class is a simple object for generating randomly perturbed points that are withing the NLP bounds.
The ramdon_perturb_radius gives the upper bound of the perturbation.
Definition at line 92 of file IpEquilibrationScaling.hpp.
Ipopt::PointPerturber::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 | |||
) |
Default destructor.
virtual Ipopt::PointPerturber::~PointPerturber | ( | ) | [inline, virtual] |
Default destructor.
Definition at line 103 of file IpEquilibrationScaling.hpp.
Ipopt::PointPerturber::PointPerturber | ( | const PointPerturber & | ) | [private] |
Copy Constructor.
Return a new perturbed point.
void Ipopt::PointPerturber::operator= | ( | const PointPerturber & | ) | [private] |
Overloaded Equals Operator.
SmartPtr<Vector> Ipopt::PointPerturber::ref_point_ [private] |
pointer to the midpoint of the perturbation
Definition at line 129 of file IpEquilibrationScaling.hpp.
SmartPtr<Vector> Ipopt::PointPerturber::pert_dir_ [private] |
pointer to the perturbation vector
Definition at line 132 of file IpEquilibrationScaling.hpp.