Bonmin  1.7
Public Member Functions | Private Member Functions | Private Attributes
Bonmin::TMINLP::PerturbInfo Class Reference

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

#include <BonTMINLP.hpp>

List of all members.

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.

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

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: