17 #include <CoinHelperFunctions.hpp>
18 #include "OsiSolverInterface.hpp"
28 SolReader(
const char * fileName,
const char * suffix);
30 SolReader(
const std::string & fileName=
"",
const std::string& suffix=
".col");
void set_n_cols(int n)
Set the number of variables in the problem.
std::string suffix_
Suffix of the file (".col", ".row")
void copySol(double *x)
Copy the names to Names.
std::string file_
Name of the file to read.
A class for reading a .col or .row file containing name for variables and constraints (usually ampl g...
bool readFile(const std::string &file)
Reads the .sol file fileName.
bool readFile()
Reads the .sol file.
SolReader(const char *fileName, const char *suffix)
Constructor with a file name given by a const char *.
vector< double > x_
Sol values.