|
Class for storing a primal-dual solution with basis information.
More...
#include <solbase.h>
|
bool | hasPrimal () const |
| is a primal feasible solution available?
|
|
bool | getPrimal (VectorBase< R > &vector) const |
| gets the primal solution vector if available; returns true on success
|
|
bool | getSlacks (VectorBase< R > &vector) const |
| gets the vector of slack values if available; returns true on success
|
|
bool | hasPrimalRay () const |
| is a primal unbounded ray available?
|
|
bool | getPrimalRay (VectorBase< R > &vector) const |
| gets the primal unbounded ray if available; returns true on success
|
|
bool | hasDual () const |
| is a dual solution available?
|
|
bool | getDual (VectorBase< R > &vector) const |
| gets the dual solution vector if available; returns true on success
|
|
bool | getRedCost (VectorBase< R > &vector) const |
| gets the vector of reduced cost values if available; returns true on success
|
|
bool | hasDualFarkas () const |
| is a dual farkas ray available?
|
|
bool | getDualFarkas (VectorBase< R > &vector) const |
| gets the Farkas proof if available; returns true on success
|
|
int | totalSizePrimal (const int base=2) const |
| returns total size of primal solution
|
|
int | totalSizeDual (const int base=2) const |
| returns total size of dual solution
|
|
int | dlcmSizePrimal (const int base=2) const |
| returns size of least common multiple of denominators in primal solution
|
|
int | dlcmSizeDual (const int base=2) const |
| returns size of least common multiple of denominators in dual solution
|
|
int | dmaxSizePrimal (const int base=2) const |
| returns size of largest denominator in primal solution
|
|
int | dmaxSizeDual (const int base=2) const |
| returns size of largest denominator in dual solution
|
|
void | invalidate () |
| invalidate solution
|
|
template<class R>
class soplex::SolBase< R >
Class for storing a primal-dual solution with basis information.
Definition at line 44 of file solbase.h.
default constructor only for friends
Definition at line 238 of file solbase.h.
int dlcmSizeDual |
( |
const int |
base = 2 | ) |
const |
int dlcmSizePrimal |
( |
const int |
base = 2 | ) |
const |
int dmaxSizeDual |
( |
const int |
base = 2 | ) |
const |
int dmaxSizePrimal |
( |
const int |
base = 2 | ) |
const |
bool getDualFarkas |
( |
VectorBase< R > & |
vector | ) |
const |
bool getPrimalRay |
( |
VectorBase< R > & |
vector | ) |
const |
bool hasDualFarkas |
( |
| ) |
const |
bool hasPrimalRay |
( |
| ) |
const |
assignment operator only for friends
Definition at line 246 of file solbase.h.
assignment operator only for friends
Definition at line 281 of file solbase.h.
int totalSizeDual |
( |
const int |
base = 2 | ) |
const |
int totalSizePrimal |
( |
const int |
base = 2 | ) |
const |
Definition at line 225 of file solbase.h.
Referenced by SoPlex::_factorizeColumnRational(), SoPlex::_performFeasIRStable(), SoPlex::_performOptIRStable(), SoPlex::_project(), SoPlex::_reconstructSolutionRational(), SoPlex::_restoreLPReal(), SoPlex::_solveRational(), SoPlex::_storeSolutionReal(), SoPlex::_untransformEquality(), SoPlex::_untransformFeasibility(), SoPlex::_untransformUnbounded(), SolBase< Real >::dlcmSizeDual(), SolBase< Real >::dmaxSizeDual(), SolBase< Real >::getDual(), SoPlex::getDualViolationRational(), SoPlex::getDualViolationReal(), SolBase< Real >::operator=(), soplex::reconstructSol(), and SolBase< Real >::totalSizeDual().
Definition at line 227 of file solbase.h.
Referenced by SoPlex::_computeInfeasBox(), SoPlex::_performFeasIRStable(), SoPlex::_performOptIRStable(), SoPlex::_project(), SoPlex::_storeSolutionReal(), SoPlex::_untransformFeasibility(), SolBase< Real >::dlcmSizeDual(), SolBase< Real >::dmaxSizeDual(), SolBase< Real >::getDualFarkas(), SolBase< Real >::operator=(), and SolBase< Real >::totalSizeDual().
Definition at line 234 of file solbase.h.
Referenced by SoPlex::_factorizeColumnRational(), SoPlex::_performFeasIRStable(), SoPlex::_performOptIRStable(), SoPlex::_project(), SoPlex::_solveRational(), SoPlex::_storeSolutionReal(), SoPlex::_untransformFeasibility(), SoPlex::_untransformUnbounded(), SolBase< Real >::dlcmSizeDual(), SolBase< Real >::dmaxSizeDual(), SolBase< Real >::getDual(), SolBase< Real >::getRedCost(), SolBase< Real >::hasDual(), SolBase< Real >::invalidate(), SolBase< Real >::operator=(), and SolBase< Real >::totalSizeDual().
unsigned int _hasDualFarkas |
|
private |
Definition at line 235 of file solbase.h.
Referenced by SoPlex::_performFeasIRStable(), SoPlex::_performOptIRStable(), SoPlex::_storeSolutionReal(), SoPlex::_untransformFeasibility(), SoPlex::_untransformUnbounded(), SolBase< Real >::dlcmSizeDual(), SolBase< Real >::dmaxSizeDual(), SolBase< Real >::getDualFarkas(), SolBase< Real >::hasDualFarkas(), SolBase< Real >::invalidate(), SolBase< Real >::operator=(), and SolBase< Real >::totalSizeDual().
Definition at line 232 of file solbase.h.
Referenced by SoPlex::_factorizeColumnRational(), SoPlex::_performFeasIRStable(), SoPlex::_performOptIRStable(), SoPlex::_storeSolutionReal(), SoPlex::_untransformFeasibility(), SoPlex::_untransformUnbounded(), SolBase< Real >::dlcmSizePrimal(), SolBase< Real >::dmaxSizePrimal(), SolBase< Real >::getPrimal(), SolBase< Real >::getSlacks(), SolBase< Real >::hasPrimal(), SolBase< Real >::invalidate(), SolBase< Real >::operator=(), and SolBase< Real >::totalSizePrimal().
unsigned int _hasPrimalRay |
|
private |
Definition at line 233 of file solbase.h.
Referenced by SoPlex::_solveRational(), SoPlex::_storeSolutionReal(), SoPlex::_untransformFeasibility(), SoPlex::_untransformUnbounded(), SolBase< Real >::dlcmSizePrimal(), SolBase< Real >::dmaxSizePrimal(), SolBase< Real >::getPrimalRay(), SolBase< Real >::hasPrimalRay(), SolBase< Real >::invalidate(), SolBase< Real >::operator=(), and SolBase< Real >::totalSizePrimal().
Definition at line 222 of file solbase.h.
Referenced by SoPlex::_factorizeColumnRational(), SoPlex::_performFeasIRStable(), SoPlex::_performOptIRStable(), SoPlex::_performUnboundedIRStable(), SoPlex::_project(), SoPlex::_reconstructSolutionRational(), SoPlex::_storeSolutionReal(), SoPlex::_untransformEquality(), SoPlex::_untransformFeasibility(), SoPlex::_untransformUnbounded(), SolBase< Real >::dlcmSizePrimal(), SolBase< Real >::dmaxSizePrimal(), SoPlex::getBoundViolationRational(), SoPlex::getBoundViolationReal(), SolBase< Real >::getPrimal(), SoPlex::getRedCostViolationRational(), SoPlex::getRowViolationRational(), SoPlex::getRowViolationReal(), SolBase< Real >::operator=(), soplex::reconstructSol(), and SolBase< Real >::totalSizePrimal().
Definition at line 226 of file solbase.h.
Referenced by SoPlex::_factorizeColumnRational(), SoPlex::_performOptIRStable(), SoPlex::_project(), SoPlex::_reconstructSolutionRational(), SoPlex::_solveRational(), SoPlex::_storeSolutionReal(), SoPlex::_untransformEquality(), SoPlex::_untransformUnbounded(), SolBase< Real >::getRedCost(), SoPlex::getRedCostViolationRational(), SoPlex::getRedCostViolationReal(), and SolBase< Real >::operator=().
Definition at line 223 of file solbase.h.
Referenced by SoPlex::_factorizeColumnRational(), SoPlex::_performOptIRStable(), SoPlex::_project(), SoPlex::_reconstructSolutionRational(), SoPlex::_storeSolutionReal(), SoPlex::_untransformEquality(), SoPlex::_untransformFeasibility(), SoPlex::getDualViolationRational(), SolBase< Real >::getSlacks(), SolBase< Real >::operator=(), and soplex::reconstructSol().
|