28 SolReader(
const char * fileName,
const char * suffix);
30 SolReader(
const std::string & fileName=
"",
const std::string& suffix=
".col");
A class for reading a .col or .row file containing name for variables and constraints (usually ampl g...
SolReader(const std::string &fileName="", const std::string &suffix=".col")
Constructor with a file name given by a string and also default (empty string)
bool readFile()
Reads the .sol file.
bool readFile(const std::string &file)
Reads the .sol file fileName.
void copySol(double *x)
Copy the names to Names.
SolReader(const char *fileName, const char *suffix)
Constructor with a file name given by a const char *.
void set_n_cols(int n)
Set the number of variables in the problem.
A small wrap around std::vector to give easy access to array for interfacing with fortran code.
(C) Copyright International Business Machines Corporation 2007