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 156 of file BonTMINLP.hpp.


Constructor & Destructor Documentation

Bonmin::TMINLP::PerturbInfo::PerturbInfo (  )  [inline]

default constructor.

Definition at line 160 of file BonTMINLP.hpp.

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

destructor

Definition at line 165 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.

Definition at line 89 of file BonTMINLP.cpp.

References perturb_radius_.

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 175 of file BonTMINLP.hpp.

References perturb_radius_.

Referenced by Bonmin::OsiTMINLPInterface::randomStartingPoint().


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 187 of file BonTMINLP.hpp.

Referenced by GetPerturbationArray(), SetPerturbationArray(), and ~PerturbInfo().


The documentation for this class was generated from the following files:
Generated on Thu Sep 22 03:14:41 2011 by  doxygen 1.4.7