This class is a simple object for generating randomly perturbed points that are within the NLP bounds. More...
#include <IpEquilibrationScaling.hpp>
Public Member Functions | |
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) | |
virtual | ~PointPerturber () |
Destructor. More... | |
SmartPtr< Vector > | MakeNewPerturbedPoint () const |
Return a new perturbed point. More... | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Default Compiler Generated Methods | |
(Hidden to avoid implicit creation/calling). These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called. | |
SmartPtr< Vector > | ref_point_ |
pointer to the midpoint of the perturbation More... | |
SmartPtr< Vector > | pert_dir_ |
pointer to the perturbation vector More... | |
PointPerturber (const PointPerturber &) | |
Copy Constructor. More... | |
void | operator= (const PointPerturber &) |
Default Assignment Operator. More... | |
This class is a simple object for generating randomly perturbed points that are within the NLP bounds.
The ramdon_perturb_radius gives the upper bound of the perturbation.
Definition at line 103 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 | ||
) |
|
inlinevirtual |
Destructor.
Definition at line 118 of file IpEquilibrationScaling.hpp.
|
private |
Copy Constructor.
Return a new perturbed point.
|
private |
Default Assignment Operator.
pointer to the midpoint of the perturbation
Definition at line 149 of file IpEquilibrationScaling.hpp.
pointer to the perturbation vector
Definition at line 152 of file IpEquilibrationScaling.hpp.