Bonmin
1.7
|
Class to store perturbation radii for variables in the model. More...
#include <BonTMINLP.hpp>
Public Member Functions | |
PerturbInfo () | |
default constructor. | |
~PerturbInfo () | |
destructor | |
void | SetPerturbationArray (Ipopt::Index numvars, const double *perturb_radius) |
Method for setting the perturbation radii. | |
const double * | GetPerturbationArray () const |
Method for getting the array for the perturbation radii in order to use the values. | |
Private Member Functions | |
PerturbInfo (const PerturbInfo &source) | |
Copy constructor. | |
Private Attributes | |
double * | perturb_radius_ |
Perturbation radii for all variables. |
Class to store perturbation radii for variables in the model.
Definition at line 157 of file BonTMINLP.hpp.
Bonmin::TMINLP::PerturbInfo::PerturbInfo | ( | ) | [inline] |
default constructor.
Definition at line 161 of file BonTMINLP.hpp.
Bonmin::TMINLP::PerturbInfo::~PerturbInfo | ( | ) | [inline] |
Bonmin::TMINLP::PerturbInfo::PerturbInfo | ( | const PerturbInfo & | source | ) | [private] |
Copy constructor.
void Bonmin::TMINLP::PerturbInfo::SetPerturbationArray | ( | Ipopt::Index | numvars, |
const double * | perturb_radius | ||
) |
Method for setting the perturbation radii.
const double* Bonmin::TMINLP::PerturbInfo::GetPerturbationArray | ( | ) | const [inline] |
Method for getting the array for the perturbation radii in order to use the values.
Definition at line 176 of file BonTMINLP.hpp.
References perturb_radius_.
double* Bonmin::TMINLP::PerturbInfo::perturb_radius_ [private] |
Perturbation radii for all variables.
A negative value means that the radius has not been given. If the pointer is NULL, then no variables have been assigned a perturbation radius.
Definition at line 188 of file BonTMINLP.hpp.
Referenced by GetPerturbationArray(), and ~PerturbInfo().