Loading...
Searching...
No Matches
Public Member Functions |
Public Attributes |
Protected Attributes |
Private Attributes |
Friends |
List of all members
SPxLPBase< R > Class Template Reference Saving LPs in a form suitable for SoPlex. More...
Inheritance diagram for SPxLPBase< R >:
![]()
Detailed Descriptiontemplate<class R> class soplex::SPxLPBase< R > Saving LPs in a form suitable for SoPlex. Class SPxLPBase provides the data structures required for saving a linear program in the form \[ \begin{array}{rl} \hbox{max} & c^T x \\ \hbox{s.t.} & l_r \le Ax \le u_r \\ & l_c \le x \le u_c \end{array} \] suitable for solving with SoPlex. This includes:
Note, that the optimization sense is not saved directly. Instead, the objective function are multiplied by -1 to transform the LP to our standard form maximizing the objective function. However, the sense of the loaded LP can be retrieved with method spxSense(). Further, equality constraints are modeled by \(l_r = u_r\). Analogously, fixed variables have \(l_c = u_c\). SPxLPBases are saved as an SVSet, both for columns and rows. Note that this is redundant but eases the access. Definition at line 46 of file spxscaler.h. Member Enumeration Documentation◆ SPxSense
template<class R >
Constructor & Destructor Documentation◆ SPxLPBase() [1/3]
template<class R >
Default constructor. Definition at line 2831 of file spxlpbase.h. References SPxLPBase< R >::clear(), and SPxLPBase< R >::isConsistent(). ◆ ~SPxLPBase()
template<class R >
Destructor. Definition at line 2839 of file spxlpbase.h. ◆ SPxLPBase() [2/3]Copy constructor. Definition at line 2843 of file spxlpbase.h. References SPxLPBase< R >::_tolerances, and SPxLPBase< R >::isConsistent(). ◆ SPxLPBase() [3/3]Copy constructor. Definition at line 2858 of file spxlpbase.h. References SPxLPBase< R >::_tolerances, SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::lp_scaler. Member Function Documentation◆ addCol() [1/4]
template<class R >
Definition at line 796 of file spxlpbase.h. References SPxLPBase< R >::doAddCol(). Referenced by SPxLPBase< R >::addCol(). ◆ addCol() [2/4]
template<class R >
Definition at line 802 of file spxlpbase.h. References SPxLPBase< R >::doAddCol(). ◆ addCol() [3/4]
template<class R >
template<class S >
Definition at line 810 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::MAXIMIZE, LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::thesense. ◆ addCol() [4/4]
template<class R >
Adds Definition at line 845 of file spxlpbase.h. References SPxLPBase< R >::addCol(), SPxLPBase< R >::cId(), and SPxLPBase< R >::nCols(). ◆ addCols() [1/3]
template<class R >
Definition at line 852 of file spxlpbase.h. References SPxLPBase< R >::doAddCols(). Referenced by SPxLPBase< R >::addCols(). ◆ addCols() [2/3]
template<class R >
template<class S >
Definition at line 859 of file spxlpbase.h. References LPColSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector(), SVectorBase< R >::index(), SPxLPBase< R >::MAXIMIZE, LPColSetBase< R >::maxObj_w(), LPColSetBase< R >::memRemax(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rowVector(), SPxLPBase< R >::rowVector_w(), DataArray< T >::size(), SVectorBase< R >::size(), SPxLPBase< R >::thesense, SVectorBase< R >::value(), and LPRowSetBase< R >::xtend(). ◆ addCols() [3/3]
template<class R >
Adds all LPColBases of Definition at line 955 of file spxlpbase.h. References SPxLPBase< R >::addCols(), SPxLPBase< R >::cId(), SPxLPBase< R >::nCols(), and SVSetBase< R >::set. ◆ addDualActivity()
template<class R >
Updates "dual" activity of the columns for a given dual vector, i.e., y^T A; activity does not need to be zero.
Definition at line 1975 of file spxlpbase.h. References VectorBase< R >::dim(), SVectorBase< R >::index(), VectorBase< R >::multAdd(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rowVector(), SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ added2Set()
template<class R >
Definition at line 2279 of file spxlpbase.h. References DataArray< T >::get_ptr(), SVectorBase< R >::index(), SVSetBase< R >::num(), SVSetBase< R >::set, SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ addedCols()
template<class R >
Called after the last Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2275 of file spxlpbase.h. Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), and SPxLPBase< R >::doAddRows(). ◆ addedRows()
template<class R >
Called after the last Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2271 of file spxlpbase.h. Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), and SPxLPBase< R >::doAddRows(). ◆ addPrimalActivity()
template<class R >
Updates activity of the rows for a given primal vector; activity does not need to be zero.
Definition at line 1951 of file spxlpbase.h. References SPxLPBase< R >::colVector(), VectorBase< R >::dim(), SVectorBase< R >::index(), VectorBase< R >::multAdd(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ addRow() [1/4]
template<class R >
Definition at line 624 of file spxlpbase.h. References SPxLPBase< R >::doAddRow(). Referenced by SPxLPBase< R >::addRow(). ◆ addRow() [2/4]
template<class R >
Definition at line 630 of file spxlpbase.h. References SPxLPBase< R >::doAddRow(). ◆ addRow() [3/4]
template<class R >
template<class S >
Definition at line 638 of file spxlpbase.h. References LPRowSetBase< R >::add(), LPColSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::nCols(), and SPxLPBase< R >::nRows(). ◆ addRow() [4/4]
template<class R >
Adds Definition at line 675 of file spxlpbase.h. References SPxLPBase< R >::addRow(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::rId(). ◆ addRows() [1/3]
template<class R >
Definition at line 682 of file spxlpbase.h. References SPxLPBase< R >::doAddRows(). Referenced by SPxLPBase< R >::addRows(). ◆ addRows() [2/3]
template<class R >
template<class S >
Definition at line 689 of file spxlpbase.h. References LPRowSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), LPRowSetBase< R >::memRemax(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rowVector(), DataArray< T >::size(), SVectorBase< R >::size(), SVectorBase< R >::value(), and LPColSetBase< R >::xtend(). ◆ addRows() [3/3]
template<class R >
adds all LPRowBases of Definition at line 786 of file spxlpbase.h. References SPxLPBase< R >::addRows(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rId(), and SVSetBase< R >::set. ◆ buildDualProblem()
template<class R >
Building the dual problem from a given LP.
◆ changeBounds() [1/4]
template<class R >
Changes variable bounds to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1558 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeUpper(), and SPxLPBase< R >::isConsistent(). Referenced by SPxLPBase< R >::changeBounds(). ◆ changeBounds() [2/4]
template<class R >
Changes bounds of column Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1567 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeUpper(), and SPxLPBase< R >::isConsistent(). ◆ changeBounds() [3/4]
template<class R >
template<class S >
Changes bounds of column Definition at line 1576 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::lower_w(), and LPColSetBase< R >::upper_w(). ◆ changeBounds() [4/4]
template<class R >
Changes bounds of column with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1584 of file spxlpbase.h. References SPxLPBase< R >::changeBounds(), and SPxLPBase< R >::number(). ◆ changeCol() [1/2]
template<class R >
Replaces Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1794 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeUpper(), SVectorBase< R >::clear(), LPColBase< R >::colVector(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), SPxLPBase< R >::isConsistent(), LPColBase< R >::lower(), LPColBase< R >::obj(), SVectorBase< R >::pos(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), SVectorBase< R >::size(), LPColBase< R >::upper(), and SVectorBase< R >::value(). Referenced by SPxLPBase< R >::changeCol(). ◆ changeCol() [2/2]
template<class R >
Replaces column with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1837 of file spxlpbase.h. References SPxLPBase< R >::changeCol(), and SPxLPBase< R >::number(). ◆ changeElement() [1/3]
template<class R >
Changes LP element ( Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1843 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::colVector_w(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SVectorBase< R >::pos(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), SPxLPBase< R >::tolerances(), and SVectorBase< R >::value(). Referenced by SPxLPBase< R >::changeElement(). ◆ changeElement() [2/3]
template<class R >
template<class S >
Changes LP element ( Definition at line 1886 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::colVector_w(), SPxLPBase< R >::isConsistent(), SVectorBase< R >::pos(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::value(). ◆ changeElement() [3/3]
template<class R >
Changes LP element identified by ( Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1917 of file spxlpbase.h. References SPxLPBase< R >::changeElement(), and SPxLPBase< R >::number(). ◆ changeLhs() [1/4]
template<class R >
Changes left hand side vector for constraints to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1590 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, VectorBase< R >::dim(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), and SPxLPBase< R >::lp_scaler. Referenced by SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), and SPxLPBase< R >::changeRow(). ◆ changeLhs() [2/4]
template<class R >
Changes Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1609 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), LPRowSetBase< R >::lhs_w(), and SPxLPBase< R >::lp_scaler. ◆ changeLhs() [3/4]
template<class R >
template<class S >
Changes Definition at line 1625 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPRowSetBase< R >::lhs_w(). ◆ changeLhs() [4/4]
template<class R >
Changes left hand side value for row with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1632 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), and SPxLPBase< R >::number(). ◆ changeLower() [1/4]
template<class R >
Changes vector of lower bounds to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1462 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, VectorBase< R >::dim(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lower(), LPColSetBase< R >::lower_w(), and SPxLPBase< R >::lp_scaler. Referenced by SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeCol(), and SPxLPBase< R >::changeLower(). ◆ changeLower() [2/4]
template<class R >
changes Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1481 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), LPColSetBase< R >::lower_w(), and SPxLPBase< R >::lp_scaler. ◆ changeLower() [3/4]
template<class R >
template<class S >
changes Definition at line 1497 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPColSetBase< R >::lower_w(). ◆ changeLower() [4/4]
template<class R >
changes lower bound of column with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1504 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), and SPxLPBase< R >::number(). ◆ changeMaxObj() [1/4]
template<class R >
Changes objective vector to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1414 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, VectorBase< R >::dim(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::maxObj(), and LPColSetBase< R >::maxObj_w(). Referenced by SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeObj(), and SPxLPBase< R >::changeObj(). ◆ changeMaxObj() [2/4]
template<class R >
changes Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1433 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, and LPColSetBase< R >::maxObj_w(). ◆ changeMaxObj() [3/4]
template<class R >
template<class S >
changes Definition at line 1449 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPColSetBase< R >::maxObj_w(). ◆ changeMaxObj() [4/4]
template<class R >
Changes objective value of column with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1456 of file spxlpbase.h. References SPxLPBase< R >::changeMaxObj(), and SPxLPBase< R >::number(). ◆ changeObj() [1/4]
template<class R >
Changes objective vector to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1378 of file spxlpbase.h. References SPxLPBase< R >::changeMaxObj(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). Referenced by SPxLPBase< R >::changeCol(), and SPxLPBase< R >::changeObj(). ◆ changeObj() [2/4]
template<class R >
changes Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1387 of file spxlpbase.h. References SPxLPBase< R >::changeMaxObj(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ changeObj() [3/4]
template<class R >
template<class S >
changes Definition at line 1397 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ changeObj() [4/4]
template<class R >
Changes objective value of column with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1408 of file spxlpbase.h. References SPxLPBase< R >::changeObj(), and SPxLPBase< R >::number(). ◆ changeObjOffset()
template<class R >
template<typename T >
Definition at line 1935 of file spxlpbase.h. References SPxLPBase< R >::offset. ◆ changeRange() [1/4]
template<class R >
Changes left and right hand side vectors. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1678 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::isConsistent(). Referenced by SPxLPBase< R >::changeRange(). ◆ changeRange() [2/4]
template<class R >
Changes left and right hand side of row Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1687 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::isConsistent(). ◆ changeRange() [3/4]
template<class R >
template<class S >
Changes left and right hand side of row Definition at line 1696 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPRowSetBase< R >::lhs_w(), and LPRowSetBase< R >::rhs_w(). ◆ changeRange() [4/4]
template<class R >
Changes left and right hand side of row with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1704 of file spxlpbase.h. References SPxLPBase< R >::changeRange(), and SPxLPBase< R >::number(). ◆ changeRhs() [1/3]
template<class R >
Changes right hand side vector for constraints to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1638 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, VectorBase< R >::dim(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::rhs(), and LPRowSetBase< R >::rhs_w(). Referenced by SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::changeRow(). ◆ changeRhs() [2/3]
template<class R >
Changes Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1657 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, and LPRowSetBase< R >::rhs_w(). ◆ changeRhs() [3/3]
template<class R >
Changes right hand side value for row with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1672 of file spxlpbase.h. References SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::number(). ◆ changeRow() [1/2]
template<class R >
Replaces Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1745 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRowObj(), SVectorBase< R >::clear(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), SPxLPBase< R >::isConsistent(), LPRowBase< R >::lhs(), LPRowBase< R >::obj(), SVectorBase< R >::pos(), SVectorBase< R >::remove(), LPRowBase< R >::rhs(), LPRowBase< R >::rowVector(), SPxLPBase< R >::rowVector_w(), SVectorBase< R >::size(), and SVectorBase< R >::value(). Referenced by SPxLPBase< R >::changeRow(). ◆ changeRow() [2/2]
template<class R >
Replaces row with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1788 of file spxlpbase.h. References SPxLPBase< R >::changeRow(), and SPxLPBase< R >::number(). ◆ changeRowObj() [1/3]
template<class R >
Changes row objective function vector to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1710 of file spxlpbase.h. References VectorBase< R >::dim(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::MINIMIZE, LPRowSetBase< R >::obj_w(), and SPxLPBase< R >::spxSense(). Referenced by SPxLPBase< R >::changeRow(), and SPxLPBase< R >::changeRowObj(). ◆ changeRowObj() [2/3]
template<class R >
Changes Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1722 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), SPxLPBase< R >::MINIMIZE, LPRowSetBase< R >::obj_w(), and SPxLPBase< R >::spxSense(). ◆ changeRowObj() [3/3]
template<class R >
Changes row objective function value for row with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1733 of file spxlpbase.h. References SPxLPBase< R >::changeRowObj(), and SPxLPBase< R >::number(). ◆ changeSense()
template<class R >
Changes optimization sense to Definition at line 1923 of file spxlpbase.h. References LPColSetBase< R >::maxObj_w(), LPRowSetBase< R >::obj_w(), and SPxLPBase< R >::thesense. ◆ changeUpper() [1/4]
template<class R >
Changes vector of upper bounds to Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1510 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, VectorBase< R >::dim(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::upper(), and LPColSetBase< R >::upper_w(). Referenced by SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeCol(), and SPxLPBase< R >::changeUpper(). ◆ changeUpper() [2/4]
template<class R >
Changes Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1529 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, and LPColSetBase< R >::upper_w(). ◆ changeUpper() [3/4]
template<class R >
template<class S >
Changes Definition at line 1545 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPColSetBase< R >::upper_w(). ◆ changeUpper() [4/4]
template<class R >
Changes upper bound of column with identifier Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1552 of file spxlpbase.h. References SPxLPBase< R >::changeUpper(), and SPxLPBase< R >::number(). ◆ cId()
template<class R >
Returns the column identifier for column Definition at line 612 of file spxlpbase.h. Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxSolverBase< R >::coId(), SPxSolverBase< R >::colId(), and SPxSolverBase< R >::id(). ◆ clear()
template<class R >
clears the LP. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1172 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, LPColSetBase< R >::clear(), LPRowSetBase< R >::clear(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::MAXIMIZE, SPxLPBase< R >::offset, and SPxLPBase< R >::thesense. Referenced by SPxLPBase< R >::SPxLPBase(). ◆ clearRowObjs()
template<class R >
Clears row objective function values for all rows. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1739 of file spxlpbase.h. References LPRowSetBase< R >::obj_w(). Referenced by SPxSolverBase< R >::clearRowObjs(). ◆ colVector() [1/2]
template<class R >
Returns column vector of column with identifier Definition at line 422 of file spxlpbase.h. References LPColSetBase< R >::colVector(). ◆ colVector() [2/2]
template<class R >
Returns column vector of column Definition at line 416 of file spxlpbase.h. References LPColSetBase< R >::colVector(). Referenced by SPxLPBase< R >::addCols(), SPxLPBase< R >::addPrimalActivity(), SPxLPBase< R >::addRows(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::doRemoveCol(), SPxMainSM< R >::ForceConstraintPS::ForceConstraintPS(), SPxLPBase< R >::getCol(), SPxLPBase< R >::getCols(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::nNzos(). ◆ colVector_w()
template<class R >
Returns the LP as an LPRowBase<R>Set. Definition at line 2340 of file spxlpbase.h. References LPColSetBase< R >::colVector_w(). Referenced by SPxLPBase< R >::addRows(), SPxLPBase< R >::changeCol(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeRow(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::doRemoveRow(), and SPxLPBase< R >::doRemoveRows(). ◆ computeDualActivity()
template<class R >
Computes "dual" activity of the columns for a given dual vector, i.e., y^T A; activity does not need to be zero.
◆ computePrimalActivity()
template<class R >
Computes activity of the rows for a given primal vector; activity does not need to be zero.
◆ doAddCol() [1/2]
template<class R >
Definition at line 2582 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), soplex::infinity, SPxLPBase< R >::lower(), LPColSetBase< R >::lower_w(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::MAXIMIZE, LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SVectorBase< R >::size(), SPxLPBase< R >::thesense, SPxLPBase< R >::upper(), LPColSetBase< R >::upper_w(), and SVectorBase< R >::value(). Referenced by SPxLPBase< R >::addCol(), and SPxLPBase< R >::addCol(). ◆ doAddCol() [2/2]
template<class R >
Definition at line 2642 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), soplex::infinity, SPxLPBase< R >::lower(), LPColSetBase< R >::lower_w(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::MAXIMIZE, LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SVectorBase< R >::size(), SPxLPBase< R >::thesense, SPxLPBase< R >::upper(), LPColSetBase< R >::upper_w(), and SVectorBase< R >::value(). ◆ doAddCols()
template<class R >
Definition at line 2702 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), soplex::infinity, SPxLPBase< R >::lower(), LPColSetBase< R >::lower_w(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::MAXIMIZE, LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), DataArray< T >::reSize(), SPxLPBase< R >::rowVector(), SPxLPBase< R >::rowVector_w(), SVSetBase< R >::set, DataArray< T >::size(), SVectorBase< R >::size(), SPxLPBase< R >::thesense, SPxLPBase< R >::upper(), LPColSetBase< R >::upper_w(), SVectorBase< R >::value(), and LPRowSetBase< R >::xtend(). Referenced by SPxLPBase< R >::addCols(). ◆ doAddRow() [1/2]
template<class R >
Definition at line 2352 of file spxlpbase.h. References LPRowSetBase< R >::add(), LPColSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SVectorBase< R >::index(), soplex::infinity, SPxLPBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::maxRowObj_w(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), SPxLPBase< R >::rowVector_w(), SVectorBase< R >::size(), and SVectorBase< R >::value(). Referenced by SPxLPBase< R >::addRow(), and SPxLPBase< R >::addRow(). ◆ doAddRow() [2/2]
template<class R >
Definition at line 2409 of file spxlpbase.h. References LPRowSetBase< R >::add(), LPColSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SVectorBase< R >::index(), soplex::infinity, SPxLPBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::maxRowObj_w(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), SPxLPBase< R >::rowVector_w(), SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ doAddRows()
template<class R >
Definition at line 2467 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), soplex::infinity, SPxLPBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::maxRowObj_w(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), DataArray< T >::reSize(), SPxLPBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), SPxLPBase< R >::rowVector_w(), SVSetBase< R >::set, DataArray< T >::size(), SVectorBase< R >::size(), SVectorBase< R >::value(), and LPColSetBase< R >::xtend(). Referenced by SPxLPBase< R >::addRows(). ◆ doRemoveCol()
template<class R >
Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2207 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SVectorBase< R >::index(), SPxLPBase< R >::nCols(), SVectorBase< R >::pos(), LPColSetBase< R >::remove(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::removeCol(). ◆ doRemoveCols()
template<class R >
Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2248 of file spxlpbase.h. References SVectorBase< R >::index(), SPxLPBase< R >::nRows(), LPColSetBase< R >::remove(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::removeCols(). ◆ doRemoveRow()
template<class R >
Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2146 of file spxlpbase.h. References SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), SPxLPBase< R >::nRows(), SVectorBase< R >::pos(), LPRowSetBase< R >::remove(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::removeRow(). ◆ doRemoveRows()
template<class R >
Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2184 of file spxlpbase.h. References SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), SPxLPBase< R >::nCols(), LPRowSetBase< R >::remove(), SVectorBase< R >::remove(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::removeRows(). ◆ getCol() [1/2]Gets column with identifier Definition at line 387 of file spxlpbase.h. References SPxLPBase< R >::getCol(), and SPxLPBase< R >::number(). ◆ getCol() [2/2]
template<class R >
Gets Definition at line 378 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SPxLPBase< R >::lower(), LPRowSetBase< R >::obj(), LPColBase< R >::setColVector(), LPColBase< R >::setLower(), LPColBase< R >::setObj(), LPColBase< R >::setUpper(), and SPxLPBase< R >::upper(). Referenced by SPxLPBase< R >::getCol(), and SPxLPBase< R >::getCols(). ◆ getCols()
template<class R >
Gets columns Definition at line 393 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::colVector(), SPxLPBase< R >::getCol(), SPxLPBase< R >::lower(), LPRowSetBase< R >::obj(), SVSetBase< R >::set, and SPxLPBase< R >::upper(). ◆ getColVectorUnscaled() [1/2]
template<class R >
Gets column vector of column with identifier ◆ getColVectorUnscaled() [2/2]
template<class R >
Gets column vector of column ◆ getLhsUnscaled()
template<class R >
Returns unscaled left hand side vector. ◆ getLowerUnscaled()
template<class R >
Gets unscaled lower bound vector. ◆ getObj()
template<class R >
Gets objective vector. Definition at line 437 of file spxlpbase.h. References LPColSetBase< R >::maxObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ getObjUnscaled()
template<class R >
Gets unscaled objective vector. ◆ getRhs()
template<class R >
Gets (internal and possibly scaled) right hand side vector. Definition at line 279 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ getRhsUnscaled()
template<class R >
Gets unscaled right hand side vector. ◆ getRow() [1/2]Gets row with identifier Definition at line 230 of file spxlpbase.h. References SPxLPBase< R >::getRow(), and SPxLPBase< R >::number(). ◆ getRow() [2/2]
template<class R >
Gets Definition at line 221 of file spxlpbase.h. References SPxLPBase< R >::lhs(), SPxLPBase< R >::rhs(), SPxLPBase< R >::rowObj(), SPxLPBase< R >::rowVector(), LPRowBase< R >::setLhs(), LPRowBase< R >::setObj(), LPRowBase< R >::setRhs(), and LPRowBase< R >::setRowVector(). Referenced by SPxLPBase< R >::getRow(). ◆ getRowObj()
template<class R >
Gets row objective function vector. Definition at line 312 of file spxlpbase.h. References SPxLPBase< R >::MINIMIZE, LPRowSetBase< R >::obj(), and SPxLPBase< R >::spxSense(). ◆ getRows()
template<class R >
Gets rows Definition at line 236 of file spxlpbase.h. References SPxLPBase< R >::lhs(), SPxLPBase< R >::rhs(), SPxLPBase< R >::rowObj(), SPxLPBase< R >::rowVector(), and SVSetBase< R >::set. ◆ getRowVectorUnscaled()
template<class R >
Gets unscaled row vector of row ◆ getUpperUnscaled()
template<class R >
Gets unscaled upper bound vector. ◆ has() [1/3]
template<class R >
Returns the column number of the column with identifier Definition at line 592 of file spxlpbase.h. References LPColSetBase< R >::has(). ◆ has() [2/3]
template<class R >
Returns the row or column number for identifier Definition at line 598 of file spxlpbase.h. References SPxId::COL_ID, LPColSetBase< R >::has(), LPRowSetBase< R >::has(), and LPRowSetBase< R >::type(). ◆ has() [3/3]
template<class R >
Returns the row number of the row with identifier Definition at line 586 of file spxlpbase.h. References LPRowSetBase< R >::has(). ◆ isConsistent()
template<class R >
Consistency check. Definition at line 2034 of file spxlpbase.h. References SPxLPBase< R >::_tolerances, SPxLPBase< R >::colVector(), SVectorBase< R >::index(), LPColSetBase< R >::isConsistent(), LPRowSetBase< R >::isConsistent(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SVectorBase< R >::pos(), SPxLPBase< R >::rowVector(), SVectorBase< R >::size(), SPX_MSG_INCONSISTENT, and SVectorBase< R >::value(). Referenced by SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeCol(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRow(), SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::SPxLPBase(), and SPxLPBase< R >::SPxLPBase(). ◆ isScaled()
template<class R >
Returns true if and only if the LP is scaled. Definition at line 179 of file spxlpbase.h. References SPxLPBase< R >::_isScaled. ◆ lhs() [1/3]
template<class R >
Returns left hand side vector. Definition at line 294 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). Referenced by SPxLPBase< R >::changeLhs(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), SPxSolverBase< R >::getLhs(), SPxLPBase< R >::getRow(), SPxLPBase< R >::getRows(), and SPxLPBase< R >::printProblemStatistics(). ◆ lhs() [2/3]
template<class R >
Returns left hand side of row with identifier Definition at line 306 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). ◆ lhs() [3/3]
template<class R >
Returns left hand side of row number Definition at line 300 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). ◆ lhs_w()
template<class R >
Returns left hand side of row Definition at line 2098 of file spxlpbase.h. References LPRowSetBase< R >::lhs_w(). ◆ lhsUnscaled() [1/2]
template<class R >
Returns left hand side of row with identifier ◆ lhsUnscaled() [2/2]
template<class R >
Returns unscaled left hand side of row number ◆ lower() [1/3]
template<class R >
Returns (internal and possibly scaled) lower bound vector. Definition at line 527 of file spxlpbase.h. References LPColSetBase< R >::lower(). Referenced by SPxLPBase< R >::changeLower(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxMainSM< R >::FixBoundsPS::FixBoundsPS(), SPxLPBase< R >::getCol(), SPxLPBase< R >::getCols(), SPxSolverBase< R >::getLower(), and SPxLPBase< R >::printProblemStatistics(). ◆ lower() [2/3]
template<class R >
Returns (internal and possibly scaled) lower bound of column with identifier Definition at line 539 of file spxlpbase.h. References LPColSetBase< R >::lower(). ◆ lower() [3/3]
template<class R >
Returns (internal and possibly scaled) lower bound of column Definition at line 533 of file spxlpbase.h. References LPColSetBase< R >::lower(). ◆ lower_w()
template<class R >
Returns lower bound of column Definition at line 2122 of file spxlpbase.h. References LPColSetBase< R >::lower_w(). ◆ lowerUnscaled() [1/2]
template<class R >
Returns unscaled lower bound of column with identifier ◆ lowerUnscaled() [2/2]
template<class R >
Returns unscaled lower bound of column ◆ lpcolset()
template<class R >
Returns the LP as an LPColSetBase. Definition at line 2140 of file spxlpbase.h. Referenced by SPxSolverBase< R >::cols(). ◆ lprowset()
template<class R >
Returns the LP as an LPRowSetBase. Definition at line 2134 of file spxlpbase.h. Referenced by SPxSolverBase< R >::rows(). ◆ maxAbsNzo()
template<class R >
Absolute biggest non-zero element in (in rational case possibly scaled) LP. Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ maxObj() [1/3]
template<class R >
Returns objective vector for maximization problem. Methods maxObj() return the objective vector or its elements, after transformation to a maximization problem. Since this is how SPxLPBase internally stores any LP these methods are generally faster. The following condition holds: obj() = spxSense() * maxObj(). Definition at line 473 of file spxlpbase.h. References LPColSetBase< R >::maxObj(). Referenced by SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::maxObj(), and SPxLPBase< R >::obj(). ◆ maxObj() [2/3]
template<class R >
Returns objective value of column with identifier Definition at line 485 of file spxlpbase.h. References SPxLPBase< R >::maxObj(), and SPxLPBase< R >::number(). ◆ maxObj() [3/3]
template<class R >
Returns objective value of column Definition at line 479 of file spxlpbase.h. References LPColSetBase< R >::maxObj(). ◆ maxObj_w()
template<class R >
Returns objective value of column Definition at line 2110 of file spxlpbase.h. References LPColSetBase< R >::maxObj_w(). ◆ maxObjUnscaled() [1/3]
template<class R >
Returns unscaled objective value of column with identifier ◆ maxObjUnscaled() [2/3]
template<class R >
Returns unscaled objective value of column ◆ maxObjUnscaled() [3/3]
template<class R >
Returns unscaled objective vector for maximization problem. ◆ maxRowObj() [1/3]
template<class R >
Definition at line 339 of file spxlpbase.h. References LPRowSetBase< R >::obj(). Referenced by SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::rowObj(), and SPxLPBase< R >::rowObj(). ◆ maxRowObj() [2/3]
template<class R >
Returns row objective function value of row with identifier Definition at line 351 of file spxlpbase.h. References LPRowSetBase< R >::obj(). ◆ maxRowObj() [3/3]
template<class R >
Definition at line 345 of file spxlpbase.h. References LPRowSetBase< R >::obj(). ◆ maxRowObj_w()
template<class R >
Returns objective function value of row Definition at line 2104 of file spxlpbase.h. References LPRowSetBase< R >::obj_w(). Referenced by SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), and SPxLPBase< R >::doAddRows(). ◆ minAbsNzo()
template<class R >
Absolute smallest non-zero element in (possibly scaled) LP. Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ nCols()
template<class R >
Returns number of columns in LP. Definition at line 197 of file spxlpbase.h. References LPColSetBase< R >::num(). Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addDualActivity(), SPxLPBase< R >::addPrimalActivity(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::doRemoveCol(), SPxLPBase< R >::doRemoveRows(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::nNzos(), SPxLPBase< R >::printProblemStatistics(), SPxMainSM< R >::removeCol(), SPxLPBase< R >::removeColRange(), SPxLPBase< R >::removeCols(), SPxLPBase< R >::removeCols(), and SPxLPBase< R >::subDualActivity(). ◆ nNzos()
template<class R >
Returns number of nonzeros in LP. Definition at line 203 of file spxlpbase.h. References SPxLPBase< R >::colVector(), and SPxLPBase< R >::nCols(). Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ nRows()
template<class R >
Returns number of rows in LP. Definition at line 191 of file spxlpbase.h. References LPRowSetBase< R >::num(). Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addDualActivity(), SPxLPBase< R >::addPrimalActivity(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxLPBase< R >::addRows(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::doRemoveCols(), SPxLPBase< R >::doRemoveRow(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::printProblemStatistics(), SPxMainSM< R >::removeRow(), SPxLPBase< R >::removeRowRange(), SPxLPBase< R >::removeRows(), SPxLPBase< R >::removeRows(), and SPxLPBase< R >::subDualActivity(). ◆ number() [1/3]
template<class R >
Returns the column number of the column with identifier Definition at line 572 of file spxlpbase.h. References LPColSetBase< R >::number(). ◆ number() [2/3]
template<class R >
Returns the row or column number for identifier Definition at line 578 of file spxlpbase.h. References SPxId::COL_ID, LPColSetBase< R >::number(), LPRowSetBase< R >::number(), and LPRowSetBase< R >::type(). ◆ number() [3/3]
template<class R >
Returns the row number of the row with identifier Definition at line 566 of file spxlpbase.h. References LPRowSetBase< R >::number(). Referenced by SPxLPBase< R >::changeBounds(), SPxSolverBase< R >::changeBounds(), SPxLPBase< R >::changeCol(), SPxSolverBase< R >::changeCol(), SPxLPBase< R >::changeElement(), SPxSolverBase< R >::changeElement(), SPxLPBase< R >::changeLhs(), SPxSolverBase< R >::changeLhs(), SPxLPBase< R >::changeLower(), SPxSolverBase< R >::changeLower(), SPxLPBase< R >::changeMaxObj(), SPxSolverBase< R >::changeMaxObj(), SPxLPBase< R >::changeObj(), SPxSolverBase< R >::changeObj(), SPxLPBase< R >::changeRange(), SPxSolverBase< R >::changeRange(), SPxLPBase< R >::changeRhs(), SPxSolverBase< R >::changeRhs(), SPxLPBase< R >::changeRow(), SPxSolverBase< R >::changeRow(), SPxLPBase< R >::changeRowObj(), SPxSolverBase< R >::changeRowObj(), SPxLPBase< R >::changeUpper(), SPxSolverBase< R >::changeUpper(), SPxSolverBase< R >::coVector(), SPxSolverBase< R >::coVector(), SPxLPBase< R >::getCol(), SPxLPBase< R >::getRow(), SPxSolverBase< R >::isBasic(), SPxSolverBase< R >::isBasic(), SPxLPBase< R >::maxObj(), SPxLPBase< R >::obj(), SPxLPBase< R >::removeCol(), SPxLPBase< R >::removeCols(), SPxLPBase< R >::removeRow(), SPxLPBase< R >::removeRows(), SPxSolverBase< R >::vector(), and SPxSolverBase< R >::vector(). ◆ obj() [1/2]
template<class R >
Returns objective value of column with identifier Definition at line 457 of file spxlpbase.h. References SPxLPBase< R >::number(), and LPRowSetBase< R >::obj(). ◆ obj() [2/2]
template<class R >
Returns objective value of column Definition at line 446 of file spxlpbase.h. References SPxLPBase< R >::maxObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). Referenced by SPxMainSM< R >::FixVariablePS::FixVariablePS(), SPxMainSM< R >::ForceConstraintPS::ForceConstraintPS(), and SPxMainSM< R >::FreeColSingletonPS::FreeColSingletonPS(). ◆ objOffset()
template<class R >
Returns the objective function value offset. Definition at line 560 of file spxlpbase.h. References SPxLPBase< R >::offset. ◆ objUnscaled() [1/2]
template<class R >
Returns unscaled objective value of column with identifier ◆ objUnscaled() [2/2]
template<class R >
Returns unscaled objective value of column ◆ operator=() [1/2]Assignment operator. Definition at line 2872 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::_tolerances, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::offset, LPColSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), SPxLPBase< R >::spxout, and SPxLPBase< R >::thesense. ◆ operator=() [2/2]Assignment operator. Definition at line 2893 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::_tolerances, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::offset, LPColSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), SPxLPBase< R >::spxout, and SPxLPBase< R >::thesense. ◆ printProblemStatistics()
template<class R >
prints problem statistics Definition at line 1278 of file spxlpbase.h. References soplex::EQ(), soplex::infinity, SPxLPBase< R >::lhs(), SPxLPBase< R >::lower(), SPxLPBase< R >::maxAbsNzo(), SPxLPBase< R >::minAbsNzo(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nNzos(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rhs(), SPxOut::setFixed(), SPxLPBase< R >::tolerances(), and SPxLPBase< R >::upper(). ◆ read()
template<class R >
Reads LP in LP or MPS format from input stream
Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1210 of file spxlpbase.h. References SPxLPBase< R >::readLPF(), and SPxLPBase< R >::readMPS(). Referenced by SPxLPBase< R >::readFile(). ◆ readFile()
template<class R >
Reads LP from a file. Definition at line 1231 of file spxlpbase.h. References SPxLPBase< R >::read(). ◆ readLPF()
template<class R >
Reads LP in LP format from input stream Referenced by SPxLPBase< R >::read(). ◆ readMPS()
template<class R >
Reads an LP in MPS format from input stream Referenced by SPxLPBase< R >::read(). ◆ removeCol() [1/2]
template<class R >
Removes Definition at line 1072 of file spxlpbase.h. References SPxLPBase< R >::doRemoveCol(). Referenced by SPxLPBase< R >::removeCol(), and SPxMainSM< R >::removeCol(). ◆ removeCol() [2/2]
template<class R >
Removes column with identifier Definition at line 1081 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::removeCol(). ◆ removeColRange()
template<class R >
Removes columns from Definition at line 1142 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nCols(), and SPxLPBase< R >::removeCols(). ◆ removeCols() [1/3]
template<class R >
Removes Removing multiple columns with one method invocation is available in two flavours. An array Definition at line 1122 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nCols(), and SPxLPBase< R >::removeCols(). ◆ removeCols() [2/3]
template<class R >
Removes multiple columns. This method removes all LPColBases from the SPxLPBase with an index Definition at line 1091 of file spxlpbase.h. References SPxLPBase< R >::doRemoveCols(). Referenced by SPxLPBase< R >::removeColRange(), SPxLPBase< R >::removeCols(), and SPxLPBase< R >::removeCols(). ◆ removeCols() [3/3]
template<class R >
Definition at line 1097 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeCols(). ◆ removeRow() [1/2]
template<class R >
Removes Definition at line 972 of file spxlpbase.h. References SPxLPBase< R >::doRemoveRow(). Referenced by SPxLPBase< R >::removeRow(), and SPxMainSM< R >::removeRow(). ◆ removeRow() [2/2]
template<class R >
Removes row with identifier Definition at line 981 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::removeRow(). ◆ removeRowRange()
template<class R >
Removes rows from Definition at line 1042 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::removeRows(). ◆ removeRows() [1/3]
template<class R >
Removes Removing multiple rows with one method invocation is available in two flavours. An array Definition at line 1022 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::removeRows(). ◆ removeRows() [2/3]
template<class R >
Removes multiple rows. This method removes all LPRowBases from the SPxLPBase with an index Definition at line 991 of file spxlpbase.h. References SPxLPBase< R >::doRemoveRows(). Referenced by SPxLPBase< R >::removeRowRange(), SPxLPBase< R >::removeRows(), and SPxLPBase< R >::removeRows(). ◆ removeRows() [3/3]
template<class R >
Definition at line 997 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeRows(). ◆ rhs() [1/3]
template<class R >
Returns right hand side vector. Definition at line 260 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). Referenced by SPxLPBase< R >::changeRhs(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), SPxSolverBase< R >::getRhs(), SPxLPBase< R >::getRow(), SPxLPBase< R >::getRows(), and SPxLPBase< R >::printProblemStatistics(). ◆ rhs() [2/3]
template<class R >
Returns right hand side of row with identifier Definition at line 273 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ rhs() [3/3]
template<class R >
Returns right hand side of row number Definition at line 266 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ rhs_w()
template<class R >
Returns right hand side of row Definition at line 2092 of file spxlpbase.h. References LPRowSetBase< R >::rhs_w(). ◆ rhsUnscaled() [1/2]
template<class R >
Returns unscaled right hand side of row with identifier ◆ rhsUnscaled() [2/2]
template<class R >
Returns unscaled right hand side of row number ◆ rId()
template<class R >
Returns the row identifier for row Definition at line 606 of file spxlpbase.h. Referenced by SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxSolverBase< R >::coId(), SPxSolverBase< R >::id(), and SPxSolverBase< R >::rowId(). ◆ rowObj() [1/2]
template<class R >
Returns row objective function value of row with identifier Definition at line 330 of file spxlpbase.h. References SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ rowObj() [2/2]
template<class R >
Definition at line 321 of file spxlpbase.h. References SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). Referenced by SPxMainSM< R >::DuplicateRowsPS::DuplicateRowsPS(), SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), SPxLPBase< R >::getRow(), and SPxLPBase< R >::getRows(). ◆ rowType() [1/2]Returns the inequality type of the row with identifier Definition at line 372 of file spxlpbase.h. References LPRowSetBase< R >::type(). ◆ rowType() [2/2]
template<class R >
Returns the inequality type of the Definition at line 366 of file spxlpbase.h. References LPRowSetBase< R >::type(). ◆ rowVector() [1/2]
template<class R >
Gets row vector of row with identifier Definition at line 251 of file spxlpbase.h. References LPRowSetBase< R >::rowVector(). ◆ rowVector() [2/2]
template<class R >
Gets row vector of row Definition at line 245 of file spxlpbase.h. References LPRowSetBase< R >::rowVector(). Referenced by SPxLPBase< R >::addCols(), SPxLPBase< R >::addDualActivity(), SPxLPBase< R >::addRows(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doRemoveRow(), SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), SPxLPBase< R >::getRow(), SPxLPBase< R >::getRows(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::subDualActivity(). ◆ rowVector_w()
template<class R >
Definition at line 2346 of file spxlpbase.h. References LPRowSetBase< R >::rowVector_w(). Referenced by SPxLPBase< R >::addCols(), SPxLPBase< R >::changeCol(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeRow(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::doRemoveCol(), and SPxLPBase< R >::doRemoveCols(). ◆ setOutstream()
template<class R >
Definition at line 153 of file spxlpbase.h. References SPxLPBase< R >::spxout. ◆ setScalingInfo()
template<class R >
set whether the LP is scaled or not Definition at line 185 of file spxlpbase.h. References SPxLPBase< R >::_isScaled. ◆ setTolerances()
template<class R >
set tolerances Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 173 of file spxlpbase.h. References SPxLPBase< R >::_tolerances, and SPxLPBase< R >::tolerances(). ◆ spxSense()
template<class R >
Returns the optimization sense. Definition at line 554 of file spxlpbase.h. References SPxLPBase< R >::thesense. Referenced by SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::changeRowObj(), SPxMainSM< R >::ForceConstraintPS::ForceConstraintPS(), SPxLPBase< R >::getObj(), SPxLPBase< R >::getRowObj(), SPxLPBase< R >::obj(), SPxLPBase< R >::rowObj(), SPxLPBase< R >::rowObj(), and SPxSolverBase< R >::sense(). ◆ subDualActivity()
template<class R >
Updates "dual" activity of the columns for a given dual vector, i.e., y^T A; activity does not need to be zero.
Definition at line 1993 of file spxlpbase.h. References VectorBase< R >::dim(), VectorBase< R >::multSub(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::rowVector(). ◆ tolerances()
template<class R >
returns current tolerances Definition at line 167 of file spxlpbase.h. References SPxLPBase< R >::_tolerances. Referenced by SPxLPBase< R >::changeElement(), SPxLPBase< R >::printProblemStatistics(), and SPxLPBase< R >::setTolerances(). ◆ unscaleLP()
template<class R >
unscales the lp and clears basis ◆ upper() [1/3]
template<class R >
Returns upper bound vector. Definition at line 500 of file spxlpbase.h. References LPColSetBase< R >::upper(). Referenced by SPxLPBase< R >::changeUpper(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxMainSM< R >::FixBoundsPS::FixBoundsPS(), SPxLPBase< R >::getCol(), SPxLPBase< R >::getCols(), SPxSolverBase< R >::getUpper(), and SPxLPBase< R >::printProblemStatistics(). ◆ upper() [2/3]
template<class R >
Returns upper bound of column with identifier Definition at line 512 of file spxlpbase.h. References LPColSetBase< R >::upper(). ◆ upper() [3/3]
template<class R >
Returns upper bound of column Definition at line 506 of file spxlpbase.h. References LPColSetBase< R >::upper(). ◆ upper_w()
template<class R >
Returns upper bound of column Definition at line 2116 of file spxlpbase.h. References LPColSetBase< R >::upper_w(). ◆ upperUnscaled() [1/2]
template<class R >
Returns unscaled upper bound of column with identifier ◆ upperUnscaled() [2/2]
template<class R >
Returns unscaled upper bound of column ◆ writeFileLPBase()
template<class R >
Write loaded LP to Definition at line 1258 of file spxlpbase.h. References SPxLPBase< R >::writeLPF(), and SPxLPBase< R >::writeMPS(). ◆ writeLPF()
template<class R >
Writes a file in LP format to Referenced by SPxLPBase< R >::writeFileLPBase(). ◆ writeMPS()
template<class R >
Writes a file in MPS format to Referenced by SPxLPBase< R >::writeFileLPBase(). Friends And Related Symbol Documentation◆ SPxLPBaseDefinition at line 109 of file spxlpbase.h. Member Data Documentation◆ _isScaled
template<class R >
true, if scaling has been performed Definition at line 140 of file spxlpbase.h. Referenced by SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::clear(), SPxLPBase< R >::getCols(), SPxLPBase< R >::isScaled(), SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), and SPxLPBase< R >::setScalingInfo(). ◆ _tolerances
template<class R >
Definition at line 2085 of file spxlpbase.h. Referenced by SPxLPBase< R >::isConsistent(), SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), SPxLPBase< R >::setTolerances(), SPxSolverBase< R >::setTolerances(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::tolerances(), and SPxSolverBase< R >::tolerances(). ◆ lp_scaler
template<class R >
points to the scaler if the lp has been scaled, to nullptr otherwise Definition at line 142 of file spxlpbase.h. Referenced by SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::clear(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), and SPxLPBase< R >::SPxLPBase(). ◆ offset
template<class R >
offset computed, e.g., in simplification step Definition at line 139 of file spxlpbase.h. Referenced by SPxLPBase< R >::changeObjOffset(), SPxLPBase< R >::clear(), SPxLPBase< R >::objOffset(), SPxLPBase< R >::operator=(), and SPxLPBase< R >::operator=(). ◆ SPxBasisBase< R >
template<class R >
Definition at line 110 of file spxlpbase.h. ◆ SPxEquiliSC< R >
template<class R >
Definition at line 112 of file spxlpbase.h. ◆ SPxGeometSC< R >
template<class R >
Definition at line 114 of file spxlpbase.h. ◆ SPxLeastSqSC< R >
template<class R >
Definition at line 113 of file spxlpbase.h. ◆ SPxMainSM< R >
template<class R >
Definition at line 115 of file spxlpbase.h. ◆ spxout
template<class R >
Definition at line 149 of file spxlpbase.h. Referenced by SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), and SPxLPBase< R >::setOutstream(). ◆ SPxScaler< R >
template<class R >
Definition at line 111 of file spxlpbase.h. ◆ thesense
template<class R >
optimization sense. Definition at line 138 of file spxlpbase.h. Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxLPBase< R >::changeSense(), SPxLPBase< R >::clear(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), and SPxLPBase< R >::spxSense().
|