10 #ifndef _BONSTARTPOINTREADER_H_
11 #define _BONSTARTPOINTREADER_H_
std::string fileName_
Name of the file with initial point.
StartPointReader(const char *fileName)
Constructor with fileName_ given by a const char *.
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
void gutsOfDestructor()
Dealocate arrays.
double * primals_
Primal variables values.
bool readAndApply(OsiTMINLPInterface *solver)
Read warmstart info and apply to an IpoptInterface.
StartPointReader(std::string fileName="")
Constructor with fileName_ given by a string (and default)
bool readFile()
Reads the .initP file.
bool readFile(const std::string &fileName)
Reads the .initP file fileName.
This class reads a file with a starting point for Ipopt initalization.
double * duals_
Dual variables values.
const double * getPrimals()
Access primal variables values.
const double * getDuals()
Access dual variables values.