#include "OSRunSolver.h"
#include "OSCoinSolver.h"
#include "OSResult.h"
#include "OSrLWriter.h"
#include "OSInstance.h"
#include "OSOption.h"
#include "OSConfig.h"
#include "OSDefaultSolver.h"
#include "OSErrorClass.h"
#include <stdio.h>
#include <map>
Go to the source code of this file.
Functions | |
std::string | runSolver (std::string solverName, std::string osol, OSInstance *osinstance) |
This class is used to invoke a solver locally. | |
std::string | runSolver (std::string solverName, OSOption *osoption, OSInstance *osinstance) |
Alternate signature for this method. | |
std::string | runSolver (std::string solverName, std::string osol, std::string osil) |
Alternate signature for this method. | |
std::string | runSolver (std::string solverName, OSOption *osoption, std::string osil) |
Alternate signature for this method. | |
DefaultSolver * | selectSolver (std::string solverName, OSInstance *osinstance) |
A method to select the solver. |
Definition in file OSRunSolver.cpp.
std::string runSolver | ( | std::string | solverName, | |
std::string | osol, | |||
OSInstance * | osinstance | |||
) |
This class is used to invoke a solver locally.
A wrapper around the solve() method
solverName,: | The name of the solver selected by the user If empty, a default solver is selected | |
osol,: | A string containing the user options in osol format | |
osinstance,: | A pointer to an OSInstance object containing the instance to be optimized |
Definition at line 61 of file OSRunSolver.cpp.
std::string runSolver | ( | std::string | solverName, | |
OSOption * | osoption, | |||
OSInstance * | osinstance | |||
) |
Alternate signature for this method.
solverName,: | The name of the solver selected by the user If empty, a default solver is selected | |
osoption,: | A pointer to an OSOption object containing the options to be passed to the solver | |
osinstance,: | A pointer to an OSInstance object containing the instance to be optimized |
Definition at line 83 of file OSRunSolver.cpp.
std::string runSolver | ( | std::string | solverName, | |
std::string | osol, | |||
std::string | osil | |||
) |
Alternate signature for this method.
solverName,: | The name of the solver selected by the user If empty, a default solver is selected | |
osol,: | A string containing the user options in osol format | |
osil,: | A string containing the instance to be optimized |
Definition at line 106 of file OSRunSolver.cpp.
std::string runSolver | ( | std::string | solverName, | |
OSOption * | osoption, | |||
std::string | osil | |||
) |
Alternate signature for this method.
solverName,: | The name of the solver selected by the user If empty, a default solver is selected | |
osoption,: | A pointer to an OSOption object containing the options to be passed to the solver | |
osil,: | A string containing the instance to be optimized |
Definition at line 136 of file OSRunSolver.cpp.
DefaultSolver* selectSolver | ( | std::string | solverName, | |
OSInstance * | osinstance | |||
) |
A method to select the solver.
solverName,: | The name of the solver selected by the user If empty, a default solver is selected based on the characteristics of the problem | |
osinstance,: | A pointer to an OSInstance object containing the instance to be optimized |
Definition at line 167 of file OSRunSolver.cpp.