SolverMaster.h 421 Bytes
Newer Older
1 2 3
#ifndef INMOST_SOLVER_MASTER
#define INMOST_SOLVER_MASTER

4
#include <../Solver/SolverInterface.h>
5
#if defined(USE_SOLVER)
Dmitry Bagaev's avatar
Dmitry Bagaev committed
6 7 8
namespace INMOST {

    class SolverMaster {
9
    public:
Dmitry Bagaev's avatar
Dmitry Bagaev committed
10
        static SolverInterface *getSolver(std::string name);
Dmitry Bagaev's avatar
Dmitry Bagaev committed
11

12
        static std::vector<std::string> getAvailableSolvers();
Dmitry Bagaev's avatar
Dmitry Bagaev committed
13

14 15 16
        static bool isSolverAvailable(std::string name);
    };
}
17
#endif //USE_SOLVER
18
#endif //INMOST_SOLVER_MASTER