Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_ALGORITHMS_SOPLEX_SOLVER_HPP
2 #define GRAPH_ANALYSIS_ALGORITHMS_SOPLEX_SOLVER_HPP
5 #include "../../LPSolver.hpp"
43 Status run()
override {
throw std::runtime_error(
"graph_analysis::algorithms::SoplexSolver::run not implemented"); }
62 #endif // GRAPH_ANALYSIS_ALGORITHMS_SOPLEX_SOLVER_HPP
Definition: LPSolver.hpp:15
SoplexSolver()
Definition: SoplexSolver.cpp:8
LPSolver::Type getSolverType() const override
Definition: SoplexSolver.hpp:18
Status run() override
Definition: SoplexSolver.hpp:43
soplex::NameSet mColumnNames
Definition: SoplexSolver.hpp:52
void loadSolution(const std::string &filename, SolutionType format=BASIC_SOLUTION) override
Definition: SoplexSolver.cpp:29
std::vector< size_t > infeasibleConstraints() const override
Definition: SoplexSolver.hpp:47
std::vector< size_t > mInfeasibleConstraints
Definition: SoplexSolver.hpp:53
soplex::SoPlex mSoplex
Definition: SoplexSolver.hpp:50
@ SOPLEX_SOLVER
Definition: LPSolver.hpp:33
virtual ~SoplexSolver()
Definition: SoplexSolver.cpp:13
double getVariableValueByColumnIdx(uint32_t idx) const override
Definition: SoplexSolver.cpp:44
void saveProblem(const std::string &filename, ProblemFormat format=CPLEX) const override
Definition: SoplexSolver.cpp:17
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
SolutionType
Solution types: basic, IPT = interior point, MIP = mixed integer.
Definition: LPSolver.hpp:46
ProblemFormat
Definition: LPSolver.hpp:41
Definition: SoplexSolver.hpp:12
virtual void doLoadProblem(const std::string &filename, ProblemFormat format=CPLEX) override
Definition: SoplexSolver.cpp:157
void saveSolution(const std::string &filename, LPSolver::SolutionType format=BASIC_SOLUTION) const override
Definition: SoplexSolver.cpp:34
double getObjectiveValue() const override
Definition: SoplexSolver.cpp:39
@ BASIC_SOLUTION
Definition: LPSolver.hpp:46
Status
Definition: LPSolver.hpp:18
soplex::NameSet mRowNames
Definition: SoplexSolver.hpp:51
@ CPLEX
Definition: LPSolver.hpp:41
Type
Definition: LPSolver.hpp:28