#include <ogdf/lpsolver/LPSolver.h>
Public Types | |
enum class | OptimizationGoal { Minimize , Maximize } |
enum class | Status { Optimal , Infeasible , Unbounded } |
Public Member Functions | |
LPSolver () | |
~LPSolver () | |
bool | checkFeasibility (const Array< int > &matrixBegin, const Array< int > &matrixCount, const Array< int > &matrixIndex, const Array< double > &matrixValue, const Array< double > &rightHandSide, const Array< char > &equationSense, const Array< double > &lowerBound, const Array< double > &upperBound, const Array< double > &x) const |
double | infinity () const |
Status | optimize (OptimizationGoal goal, Array< double > &obj, Array< int > &matrixBegin, Array< int > &matrixCount, Array< int > &matrixIndex, Array< double > &matrixValue, Array< double > &rightHandSide, Array< char > &equationSense, Array< double > &lowerBound, Array< double > &upperBound, double &optimum, Array< double > &x) |
Private Attributes | |
OsiSolverInterface * | osi |
Definition at line 39 of file LPSolver.h.
Enumerator | |
---|---|
Minimize | |
Maximize |
Definition at line 41 of file LPSolver.h.
|
strong |
Enumerator | |
---|---|
Optimal | |
Infeasible | |
Unbounded |
Definition at line 42 of file LPSolver.h.
ogdf::LPSolver::LPSolver | ( | ) |
|
inline |
Definition at line 47 of file LPSolver.h.
bool ogdf::LPSolver::checkFeasibility | ( | const Array< int > & | matrixBegin, |
const Array< int > & | matrixCount, | ||
const Array< int > & | matrixIndex, | ||
const Array< double > & | matrixValue, | ||
const Array< double > & | rightHandSide, | ||
const Array< char > & | equationSense, | ||
const Array< double > & | lowerBound, | ||
const Array< double > & | upperBound, | ||
const Array< double > & | x | ||
) | const |
double ogdf::LPSolver::infinity | ( | ) | const |
Status ogdf::LPSolver::optimize | ( | OptimizationGoal | goal, |
Array< double > & | obj, | ||
Array< int > & | matrixBegin, | ||
Array< int > & | matrixCount, | ||
Array< int > & | matrixIndex, | ||
Array< double > & | matrixValue, | ||
Array< double > & | rightHandSide, | ||
Array< char > & | equationSense, | ||
Array< double > & | lowerBound, | ||
Array< double > & | upperBound, | ||
double & | optimum, | ||
Array< double > & | x | ||
) |
|
private |
Definition at line 97 of file LPSolver.h.