Bonmin  1.8.8
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Bonmin::TMINLP::PerturbInfo Class Reference

Class to store perturbation radii for variables in the model. More...

#include <BonTMINLP.hpp>

Public Member Functions

 PerturbInfo ()
 default constructor. More...
 
 ~PerturbInfo ()
 destructor More...
 
void SetPerturbationArray (Ipopt::Index numvars, const double *perturb_radius)
 Method for setting the perturbation radii. More...
 
const double * GetPerturbationArray () const
 Method for getting the array for the perturbation radii in order to use the values. More...
 

Private Member Functions

 PerturbInfo (const PerturbInfo &source)
 Copy constructor. More...
 

Private Attributes

double * perturb_radius_
 Perturbation radii for all variables. More...
 

Detailed Description

Class to store perturbation radii for variables in the model.

Definition at line 157 of file BonTMINLP.hpp.

Constructor & Destructor Documentation

Bonmin::TMINLP::PerturbInfo::PerturbInfo ( )
inline

default constructor.

Definition at line 161 of file BonTMINLP.hpp.

Bonmin::TMINLP::PerturbInfo::~PerturbInfo ( )
inline

destructor

Definition at line 166 of file BonTMINLP.hpp.

References perturb_radius_.

Bonmin::TMINLP::PerturbInfo::PerturbInfo ( const PerturbInfo source)
private

Copy constructor.

Member Function Documentation

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_.

Member Data Documentation

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().


The documentation for this class was generated from the following file: