#include <SoplexSolver.hpp>
|
| enum | Status {
STATUS_UNKNOWN,
STATUS_OPTIMAL,
STATUS_INFEASIBLE,
STATUS_UNBOUNDED,
INVALID_PROBLEM_DEFINITION,
NO_SOLUTION_FOUND,
SOLUTION_FOUND
} |
| |
| enum | Type {
UNKNOWN_LP_SOLVER,
CBC_SOLVER,
CLP_SOLVER,
GLPK_SOLVER,
SCIP_SOLVER,
SOPLEX_SOLVER,
GLPK_SOLVER_EMBEDDED,
SCIP_SOLVER_EMBEDDED,
SOPLEX_SOLVER_EMBEDDED,
LP_SOLVER_TYPE_END
} |
| |
| enum | ProblemFormat {
UNKNOWN_PROBLEM_FORMAT = 0,
CPLEX,
GLPK,
MPS,
LP_PROBLEM_FORMAT_END
} |
| |
| enum | SolutionType {
UNKNOWN_SOLUTION_TYPE = 0,
BASIC_SOLUTION,
IPT_SOLUTION,
MIP_SOLUTION,
LP_SOLUTION_TYPE_END
} |
| | Solution types: basic, IPT = interior point, MIP = mixed integer. More...
|
| |
| typedef shared_ptr< LPSolver > | Ptr |
| |
| static LPSolver::Ptr | getInstance (LPSolver::Type solverType) |
| |
| static ProblemFormat | getProblemFormatFromFileExtension (const std::string &extension) |
| |
| static std::string | getTempFilename (const std::string &suffix=".lp") |
| |
| static std::map< Status, std::string > | StatusTxt |
| |
| static std::map< Type, std::string > | TypeTxt |
| |
| static std::map< ProblemFormat, std::string > | ProblemFormatTxt |
| |
| static std::map< LPSolver::ProblemFormat, std::vector< std::string > > | ProblemFormatExtensions |
| |
| typedef std::map< std::string, KnownSolution > | KnownSolutions |
| |
| static KnownSolutions | msKnownSolutions |
| |
◆ SoplexSolver()
| graph_analysis::algorithms::lp::embedded::SoplexSolver::SoplexSolver |
( |
| ) |
|
◆ ~SoplexSolver()
| graph_analysis::algorithms::lp::embedded::SoplexSolver::~SoplexSolver |
( |
| ) |
|
|
virtual |
◆ doLoadProblem()
| void graph_analysis::algorithms::lp::embedded::SoplexSolver::doLoadProblem |
( |
const std::string & |
filename, |
|
|
ProblemFormat |
format = CPLEX |
|
) |
| |
|
overrideprotectedvirtual |
◆ getObjectiveValue()
| double graph_analysis::algorithms::lp::embedded::SoplexSolver::getObjectiveValue |
( |
| ) |
const |
|
overridevirtual |
◆ getSolverType()
| LPSolver::Type graph_analysis::algorithms::lp::embedded::SoplexSolver::getSolverType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getVariableValueByColumnIdx()
| double graph_analysis::algorithms::lp::embedded::SoplexSolver::getVariableValueByColumnIdx |
( |
uint32_t |
idx | ) |
const |
|
overridevirtual |
◆ infeasibleConstraints()
| std::vector<size_t> graph_analysis::algorithms::lp::embedded::SoplexSolver::infeasibleConstraints |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ loadSolution()
| void graph_analysis::algorithms::lp::embedded::SoplexSolver::loadSolution |
( |
const std::string & |
filename, |
|
|
SolutionType |
format = BASIC_SOLUTION |
|
) |
| |
|
overridevirtual |
◆ run() [1/2]
| Status graph_analysis::algorithms::lp::embedded::SoplexSolver::run |
( |
| ) |
|
|
inlineoverridevirtual |
◆ run() [2/2]
Run the solver with a given problem file
- Parameters
-
| problemFilename | filename of the problem to solve |
| problemFormat | format of the problem to solver |
| useCaching | To use caching of problem and respective solutions set to True, otherwise False |
Implements graph_analysis::algorithms::LPSolver.
◆ saveProblem()
| void graph_analysis::algorithms::lp::embedded::SoplexSolver::saveProblem |
( |
const std::string & |
filename, |
|
|
ProblemFormat |
format = CPLEX |
|
) |
| const |
|
overridevirtual |
◆ saveSolution()
◆ mColumnNames
| soplex::NameSet graph_analysis::algorithms::lp::embedded::SoplexSolver::mColumnNames |
|
protected |
◆ mInfeasibleConstraints
| std::vector<size_t> graph_analysis::algorithms::lp::embedded::SoplexSolver::mInfeasibleConstraints |
|
protected |
◆ mRowNames
| soplex::NameSet graph_analysis::algorithms::lp::embedded::SoplexSolver::mRowNames |
|
protected |
◆ mSoplex
| soplex::SoPlex graph_analysis::algorithms::lp::embedded::SoplexSolver::mSoplex |
|
protected |
The documentation for this class was generated from the following files:
- /build/rock-master-20.06-tools-graph-analysis-0.20200505/src/algorithms/lp/embedded/SoplexSolver.hpp
- /build/rock-master-20.06-tools-graph-analysis-0.20200505/src/algorithms/lp/embedded/SoplexSolver.cpp