Bonmin
1.7
|
Reads a file containing change bounds for variables. More...
#include <BonBoundsReader.hpp>
Public Member Functions | |
BoundsReader () | |
BoundsReader (const std::string &fileName) | |
void | setFileName (const std::string &fileName) |
~BoundsReader () | |
void | gutsOfDestructor () |
void | read (const std::string &) |
void | read () |
void | readAndApply (OsiTMINLPInterface *solver) |
Private Attributes | |
std::string | fileName_ |
Current file. | |
double * | lowerBounds_ |
changed lower bounds | |
double * | upperBounds_ |
changed upper bounds | |
int * | indexLowers_ |
index of the changed lowerBounds_ | |
int * | indexUppers_ |
index of the changed upperBounds_ | |
int | nLower_ |
number of changed lowerBounds_ | |
int | nUpper_ |
number of changed upperBounds_ |
Reads a file containing change bounds for variables.
Files follows pretty much the Bounds section in MPS standard.
Definition at line 20 of file BonBoundsReader.hpp.
Bonmin::BoundsReader::BoundsReader | ( | ) | [inline] |
Definition at line 24 of file BonBoundsReader.hpp.
Bonmin::BoundsReader::BoundsReader | ( | const std::string & | fileName | ) | [inline] |
Definition at line 33 of file BonBoundsReader.hpp.
Bonmin::BoundsReader::~BoundsReader | ( | ) |
void Bonmin::BoundsReader::setFileName | ( | const std::string & | fileName | ) | [inline] |
Definition at line 44 of file BonBoundsReader.hpp.
References fileName_.
void Bonmin::BoundsReader::gutsOfDestructor | ( | ) |
void Bonmin::BoundsReader::read | ( | const std::string & | ) |
void Bonmin::BoundsReader::read | ( | ) |
void Bonmin::BoundsReader::readAndApply | ( | OsiTMINLPInterface * | solver | ) |
std::string Bonmin::BoundsReader::fileName_ [private] |
double* Bonmin::BoundsReader::lowerBounds_ [private] |
changed lower bounds
Definition at line 69 of file BonBoundsReader.hpp.
double* Bonmin::BoundsReader::upperBounds_ [private] |
changed upper bounds
Definition at line 71 of file BonBoundsReader.hpp.
int* Bonmin::BoundsReader::indexLowers_ [private] |
index of the changed lowerBounds_
Definition at line 73 of file BonBoundsReader.hpp.
int* Bonmin::BoundsReader::indexUppers_ [private] |
index of the changed upperBounds_
Definition at line 75 of file BonBoundsReader.hpp.
int Bonmin::BoundsReader::nLower_ [private] |
number of changed lowerBounds_
Definition at line 77 of file BonBoundsReader.hpp.
int Bonmin::BoundsReader::nUpper_ [private] |
number of changed upperBounds_
Definition at line 79 of file BonBoundsReader.hpp.