graph_analysis
ScipSolver.hpp
Go to the documentation of this file.
1 #ifndef GRAPH_ANALYSIS_ALGORITHMS_LP_SCIP_SOLVER_HPP
2 #define GRAPH_ANALYSIS_ALGORITHMS_LP_SCIP_SOLVER_HPP
3 
4 #include <string>
5 #include <stdexcept>
6 #include "CommandlineSolver.hpp"
7 #include "Solution.hpp"
8 
9 namespace graph_analysis {
10 namespace algorithms {
11 namespace lp {
12 
17 {
18 public:
19  LPSolver::Type getSolverType() const override { return SCIP_SOLVER; }
20 
21  std::string createSolverCommand() const override;
22  Solution readBasicSolution(const std::string& filename) override;
23 };
24 
25 } // end namespace lp
26 } // end namespace algorithms
27 } // end namespace graph_analysis
28 #endif // GRAPH_ANALYSIS_ALGORITHMS_LP_SCIP_SOLVER_HPP
graph_analysis::algorithms::lp::ScipSolver::createSolverCommand
std::string createSolverCommand() const override
Definition: ScipSolver.cpp:12
CommandlineSolver.hpp
graph_analysis::algorithms::lp::CommandlineSolver
Definition: CmdlineSolver.hpp:16
graph_analysis::algorithms::LPSolver::SCIP_SOLVER
@ SCIP_SOLVER
Definition: LPSolver.hpp:32
graph_analysis
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
graph_analysis::algorithms::lp::Solution
Definition: Solution.hpp:15
graph_analysis::algorithms::lp::ScipSolver
Definition: ScipSolver.hpp:16
graph_analysis::algorithms::lp::ScipSolver::getSolverType
LPSolver::Type getSolverType() const override
Definition: ScipSolver.hpp:19
Solution.hpp
graph_analysis::algorithms::lp::ScipSolver::readBasicSolution
Solution readBasicSolution(const std::string &filename) override
Definition: ScipSolver.cpp:21
graph_analysis::algorithms::LPSolver::Type
Type
Definition: LPSolver.hpp:28