#include <BonHeuristicFPump.hpp>
Collaboration diagram for Bonmin::RoundingFPump:

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 | |
| TMINLP2TNLP * | minlp_ |
| Pointer to problem. | |
| int | numberRows_ |
| Number of rows. | |
| int | numberColumns_ |
| Number of columns. | |
| vector< pair< int, int > > * | col_and_jac_g_ |
| Jacobian of g. | |
Definition at line 78 of file BonHeuristicFPump.hpp.
| Bonmin::RoundingFPump::RoundingFPump | ( | TMINLP2TNLP * | minlp | ) |
Default constructor.
Definition at line 427 of file BonHeuristicFPump.cpp.
References gutsOfConstructor().
| Bonmin::RoundingFPump::~RoundingFPump | ( | ) |
| void Bonmin::RoundingFPump::round | ( | const double | integerTolerance, | |
| const double | primalTolerance, | |||
| double * | solution | |||
| ) |
Rounds the solution.
Definition at line 486 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 440 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().
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().
vector<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().
1.4.7