21 #include "OSInstance.h"
88 virtual void solve() = 0 ;
std::string osrl
osrl holds the solution or result of the model
std::string osil
osil holds the problem instance as a std::string
bool bCallbuildSolverInstance
bCallbuildSolverInstance is set to true if buildSolverService has been called
OSResult * osresult
osresult holds the solution or result of the model in-memory as an OSResult object ...
bool bSetSolverOptions
bSetSolverOptions is set to true if setSolverOptions has been called, false otherwise ...
std::string osol
osol holds the options for the solver
virtual void solve()=0
solve is a virtual function – the actual solvers will implement their own solve method ...
OSOption * osoption
osoption holds the solver options in-memory as an OSOption object
The Default Solver Class.
OSInstance * osinstance
osinstance holds the problem instance in-memory as an OSInstance object
std::string sSolverName
sSolverName is the name of the Coin solver used, e.g.
virtual ~DefaultSolver()=0
default destructor.
virtual void setSolverOptions()=0
setSolverOptions is a virtual function – the actual solvers will implement their own setSolverOptions...
virtual void buildSolverInstance()=0
buildSolverInstance is a virtual function – the actual solvers will implement their own buildSolverIn...
The in-memory representation of an OSiL instance..
DefaultSolver()
default constructor.