SolverMaster.h 425 Bytes
Newer Older
Dmitry Bagaev's avatar
Dmitry Bagaev committed
1
2
3
#ifndef INMOST_SOLVER_MASTER
#define INMOST_SOLVER_MASTER

Dmitry Bagaev's avatar
fix    
Dmitry Bagaev committed
4
#include <Source/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
Dmitry Bagaev's avatar
Dmitry Bagaev committed
18
#endif //INMOST_SOLVER_MASTER