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. More... | |
double * | lowerBounds_ |
changed lower bounds More... | |
double * | upperBounds_ |
changed upper bounds More... | |
int * | indexLowers_ |
index of the changed lowerBounds_ More... | |
int * | indexUppers_ |
index of the changed upperBounds_ More... | |
int | nLower_ |
number of changed lowerBounds_ More... | |
int | nUpper_ |
number of changed upperBounds_ More... | |
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.
|
inline |
Definition at line 24 of file BonBoundsReader.hpp.
|
inline |
Definition at line 33 of file BonBoundsReader.hpp.
Bonmin::BoundsReader::~BoundsReader | ( | ) |
Definition at line 15 of file BonBoundsReader.cpp.
|
inline |
Definition at line 44 of file BonBoundsReader.hpp.
void Bonmin::BoundsReader::gutsOfDestructor | ( | ) |
Definition at line 19 of file BonBoundsReader.cpp.
void Bonmin::BoundsReader::read | ( | const std::string & | fileName | ) |
Definition at line 49 of file BonBoundsReader.cpp.
void Bonmin::BoundsReader::read | ( | ) |
Definition at line 55 of file BonBoundsReader.cpp.
void Bonmin::BoundsReader::readAndApply | ( | OsiTMINLPInterface * | solver | ) |
Definition at line 111 of file BonBoundsReader.cpp.
|
private |
Current file.
Definition at line 67 of file BonBoundsReader.hpp.
|
private |
changed lower bounds
Definition at line 69 of file BonBoundsReader.hpp.
|
private |
changed upper bounds
Definition at line 71 of file BonBoundsReader.hpp.
|
private |
index of the changed lowerBounds_
Definition at line 73 of file BonBoundsReader.hpp.
|
private |
index of the changed upperBounds_
Definition at line 75 of file BonBoundsReader.hpp.
|
private |
number of changed lowerBounds_
Definition at line 77 of file BonBoundsReader.hpp.
|
private |
number of changed upperBounds_
Definition at line 79 of file BonBoundsReader.hpp.