Bonmin::RoundingFPump Class Reference

#include <BonHeuristicFPump.hpp>

Collaboration diagram for Bonmin::RoundingFPump:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RoundingFPump (TMINLP2TNLP *minlp)
 Default constructor.
 ~RoundingFPump ()
 Destructor.
void round (const double integerTolerance, const double primalTolerance, double *solution)
 Rounds the solution.

Private Member Functions

void gutsOfConstructor ()
 gutsOfConstructor

Private Attributes

TMINLP2TNLPminlp_
 Pointer to problem.
int numberRows_
 Number of rows.
int numberColumns_
 Number of columns.
std::vector< std::pair< int,
int > > * 
col_and_jac_g_
 Jacobian of g.

Detailed Description

Definition at line 78 of file BonHeuristicFPump.hpp.


Constructor & Destructor Documentation

Bonmin::RoundingFPump::RoundingFPump ( TMINLP2TNLP minlp  ) 

Default constructor.

Definition at line 430 of file BonHeuristicFPump.cpp.

References gutsOfConstructor().

Bonmin::RoundingFPump::~RoundingFPump (  ) 

Destructor.

Definition at line 437 of file BonHeuristicFPump.cpp.

References col_and_jac_g_.


Member Function Documentation

void Bonmin::RoundingFPump::round ( const double  integerTolerance,
const double  primalTolerance,
double *  solution 
)

Rounds the solution.

Definition at line 489 of file BonHeuristicFPump.cpp.

References col_and_jac_g_, Bonmin::TMINLP::CONTINUOUS, Bonmin::TMINLP2TNLP::g_l(), Bonmin::TMINLP2TNLP::g_u(), minlp_, numberColumns_, numberRows_, Bonmin::TMINLP2TNLP::var_types(), Bonmin::TMINLP2TNLP::x_l(), and Bonmin::TMINLP2TNLP::x_u().

Referenced by Bonmin::HeuristicFPump::solution().

void Bonmin::RoundingFPump::gutsOfConstructor (  )  [private]

gutsOfConstructor

Definition at line 443 of file BonHeuristicFPump.cpp.

References col_and_jac_g_, Bonmin::TMINLP2TNLP::eval_jac_g(), Bonmin::TMINLP2TNLP::get_nlp_info(), Bonmin::TMINLP2TNLP::get_starting_point(), minlp_, numberColumns_, numberRows_, and Bonmin::TMINLP2TNLP::x_sol().

Referenced by RoundingFPump().


Member Data Documentation

TMINLP2TNLP* Bonmin::RoundingFPump::minlp_ [private]

Pointer to problem.

Definition at line 97 of file BonHeuristicFPump.hpp.

Referenced by gutsOfConstructor(), and round().

int Bonmin::RoundingFPump::numberRows_ [private]

Number of rows.

Definition at line 100 of file BonHeuristicFPump.hpp.

Referenced by gutsOfConstructor(), and round().

int Bonmin::RoundingFPump::numberColumns_ [private]

Number of columns.

Definition at line 103 of file BonHeuristicFPump.hpp.

Referenced by gutsOfConstructor(), and round().

std::vector<std::pair<int, int> >* Bonmin::RoundingFPump::col_and_jac_g_ [private]

Jacobian of g.

Definition at line 106 of file BonHeuristicFPump.hpp.

Referenced by gutsOfConstructor(), round(), and ~RoundingFPump().


The documentation for this class was generated from the following files:
Generated on Wed Nov 30 03:13:01 2011 by  doxygen 1.4.7