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 DescriptionSaving 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 107 of file spxlpbase.h. Member Enumeration Documentation◆ SPxSenseConstructor & Destructor Documentation◆ SPxLPBase() [1/3]Default constructor. Definition at line 2826 of file spxlpbase.h. References SPxLPBase< R >::clear(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::number(). ◆ ~SPxLPBase()Destructor. Definition at line 2834 of file spxlpbase.h. ◆ SPxLPBase() [2/3]Copy constructor. Definition at line 2838 of file spxlpbase.h. References SPxLPBase< R >::_tolerances, SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::number(). ◆ SPxLPBase() [3/3]Copy constructor. Definition at line 2853 of file spxlpbase.h. References SPxLPBase< R >::_tolerances, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, and SPxLPBase< R >::number(). Member Function Documentation◆ addCol() [1/4]Definition at line 796 of file spxlpbase.h. References SPxLPBase< R >::doAddCol(). Referenced by SPxLPBase< R >::addCol(). ◆ addCol() [2/4]
Definition at line 802 of file spxlpbase.h. References SPxLPBase< R >::doAddCol(), and SPxLPBase< R >::number(). ◆ addCol() [3/4]
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(), SPxLPBase< R >::number(), and SPxLPBase< R >::thesense. ◆ addCol() [4/4]Adds Definition at line 845 of file spxlpbase.h. References SPxLPBase< R >::addCol(), SPxLPBase< R >::cId(), and SPxLPBase< R >::nCols(). ◆ addCols() [1/3]Definition at line 852 of file spxlpbase.h. References SPxLPBase< R >::doAddCols(), and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::addCols(). ◆ addCols() [2/3]
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 >::number(), SPxLPBase< R >::rowVector(), SPxLPBase< R >::rowVector_w(), SVectorBase< R >::size(), SPxLPBase< R >::thesense, SVectorBase< R >::value(), and LPRowSetBase< R >::xtend(). ◆ addCols() [3/3]Adds all LPColBases of Definition at line 955 of file spxlpbase.h. References SPxLPBase< R >::addCols(), SPxLPBase< R >::cId(), SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), and SVSetBase< R >::set. ◆ addDualActivity()
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 1971 of file spxlpbase.h. References SVectorBase< R >::index(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), SPxLPBase< R >::rowVector(), SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ added2Set()Definition at line 2274 of file spxlpbase.h. References SVectorBase< R >::index(), SPxLPBase< R >::number(), SVSetBase< R >::set, SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ addedCols()Called after the last Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2270 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()Called after the last Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2266 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()
Updates activity of the rows for a given primal vector; activity does not need to be zero.
Definition at line 1947 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SVectorBase< R >::index(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ addRow() [1/4]Definition at line 624 of file spxlpbase.h. References SPxLPBase< R >::doAddRow(). Referenced by SPxLPBase< R >::addRow(). ◆ addRow() [2/4]
Definition at line 630 of file spxlpbase.h. References SPxLPBase< R >::doAddRow(), and SPxLPBase< R >::number(). ◆ addRow() [3/4]
Definition at line 638 of file spxlpbase.h. References LPRowSetBase< R >::add(), LPColSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::number(). ◆ addRow() [4/4]Adds Definition at line 675 of file spxlpbase.h. References SPxLPBase< R >::addRow(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::rId(). ◆ addRows() [1/3]Definition at line 682 of file spxlpbase.h. References SPxLPBase< R >::doAddRows(), and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::addRows(). ◆ addRows() [2/3]
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 >::number(), SPxLPBase< R >::rowVector(), SVectorBase< R >::size(), SVectorBase< R >::value(), and LPColSetBase< R >::xtend(). ◆ addRows() [3/3]adds all LPRowBases of Definition at line 786 of file spxlpbase.h. References SPxLPBase< R >::addRows(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), SPxLPBase< R >::rId(), and SVSetBase< R >::set. ◆ buildDualProblem()
Building the dual problem from a given LP.
◆ changeBounds() [1/4]
Changes variable bounds to Reimplemented in SPxSolverBase< R >. Definition at line 1554 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::changeBounds(). ◆ changeBounds() [2/4]
Changes bounds of column Reimplemented in SPxSolverBase< R >. Definition at line 1563 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::number(). ◆ changeBounds() [3/4]Changes bounds of column Definition at line 1572 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::lower_w(), SPxLPBase< R >::number(), and LPColSetBase< R >::upper_w(). ◆ changeBounds() [4/4]
Changes bounds of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1580 of file spxlpbase.h. References SPxLPBase< R >::changeBounds(), and SPxLPBase< R >::number(). ◆ changeCol() [1/2]Replaces Reimplemented in SPxSolverBase< R >. Definition at line 1790 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeUpper(), SVectorBase< R >::clear(), SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::number(), SVectorBase< R >::pos(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::changeCol(). ◆ changeCol() [2/2]Replaces column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1833 of file spxlpbase.h. References SPxLPBase< R >::changeCol(), and SPxLPBase< R >::number(). ◆ changeElement() [1/3]Changes LP element ( Reimplemented in SPxSolverBase< R >. Definition at line 1839 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, SPxLPBase< R >::number(), 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]Changes LP element ( Definition at line 1882 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::colVector_w(), SPxLPBase< R >::isConsistent(), SPxLPBase< R >::number(), SVectorBase< R >::pos(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::value(). ◆ changeElement() [3/3]
Changes LP element identified by ( Reimplemented in SPxSolverBase< R >. Definition at line 1913 of file spxlpbase.h. References SPxLPBase< R >::changeElement(), and SPxLPBase< R >::number(). ◆ changeLhs() [1/4]Changes left hand side vector for constraints to Reimplemented in SPxSolverBase< R >. Definition at line 1586 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lhs(), LPRowSetBase< R >::lhs_w(), SPxLPBase< R >::lp_scaler, and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), and SPxLPBase< R >::changeRow(). ◆ changeLhs() [2/4]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1605 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), LPRowSetBase< R >::lhs_w(), SPxLPBase< R >::lp_scaler, and SPxLPBase< R >::number(). ◆ changeLhs() [3/4]Changes Definition at line 1621 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPRowSetBase< R >::lhs_w(), and SPxLPBase< R >::number(). ◆ changeLhs() [4/4]Changes left hand side value for row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1628 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), and SPxLPBase< R >::number(). ◆ changeLower() [1/4]Changes vector of lower bounds to Reimplemented in SPxSolverBase< R >. Definition at line 1458 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lower(), LPColSetBase< R >::lower_w(), SPxLPBase< R >::lp_scaler, and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeCol(), and SPxLPBase< R >::changeLower(). ◆ changeLower() [2/4]changes Reimplemented in SPxSolverBase< R >. Definition at line 1477 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), LPColSetBase< R >::lower_w(), SPxLPBase< R >::lp_scaler, and SPxLPBase< R >::number(). ◆ changeLower() [3/4]changes Definition at line 1493 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::lower_w(), and SPxLPBase< R >::number(). ◆ changeLower() [4/4]changes lower bound of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1500 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), and SPxLPBase< R >::number(). ◆ changeMaxObj() [1/4]Changes objective vector to Reimplemented in SPxSolverBase< R >. Definition at line 1410 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::maxObj(), LPColSetBase< R >::maxObj_w(), and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeObj(), and SPxLPBase< R >::changeObj(). ◆ changeMaxObj() [2/4]changes Reimplemented in SPxSolverBase< R >. Definition at line 1429 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, LPColSetBase< R >::maxObj_w(), and SPxLPBase< R >::number(). ◆ changeMaxObj() [3/4]changes Definition at line 1445 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::maxObj_w(), and SPxLPBase< R >::number(). ◆ changeMaxObj() [4/4]Changes objective value of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1452 of file spxlpbase.h. References SPxLPBase< R >::changeMaxObj(), and SPxLPBase< R >::number(). ◆ changeObj() [1/4]Changes objective vector to Reimplemented in SPxSolverBase< R >. Definition at line 1374 of file spxlpbase.h. References SPxLPBase< R >::changeMaxObj(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), and SPxLPBase< R >::spxSense(). Referenced by SPxLPBase< R >::changeCol(), and SPxLPBase< R >::changeObj(). ◆ changeObj() [2/4]changes Reimplemented in SPxSolverBase< R >. Definition at line 1383 of file spxlpbase.h. References SPxLPBase< R >::changeMaxObj(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), and SPxLPBase< R >::spxSense(). ◆ changeObj() [3/4]changes Definition at line 1393 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), and SPxLPBase< R >::spxSense(). ◆ changeObj() [4/4]Changes objective value of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1404 of file spxlpbase.h. References SPxLPBase< R >::changeObj(), and SPxLPBase< R >::number(). ◆ changeObjOffset()Definition at line 1931 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::offset. ◆ changeRange() [1/4]
Changes left and right hand side vectors. Reimplemented in SPxSolverBase< R >. Definition at line 1674 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::changeRange(). ◆ changeRange() [2/4]Changes left and right hand side of row Reimplemented in SPxSolverBase< R >. Definition at line 1683 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::number(). ◆ changeRange() [3/4]Changes left and right hand side of row Definition at line 1692 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPRowSetBase< R >::lhs_w(), SPxLPBase< R >::number(), and LPRowSetBase< R >::rhs_w(). ◆ changeRange() [4/4]
Changes left and right hand side of row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1700 of file spxlpbase.h. References SPxLPBase< R >::changeRange(), and SPxLPBase< R >::number(). ◆ changeRhs() [1/3]Changes right hand side vector for constraints to Reimplemented in SPxSolverBase< R >. Definition at line 1634 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::number(), 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]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1653 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::number(), and LPRowSetBase< R >::rhs_w(). ◆ changeRhs() [3/3]Changes right hand side value for row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1668 of file spxlpbase.h. References SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::number(). ◆ changeRow() [1/2]Replaces Reimplemented in SPxSolverBase< R >. Definition at line 1741 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(), SPxLPBase< R >::number(), SVectorBase< R >::pos(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::changeRow(). ◆ changeRow() [2/2]Replaces row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1784 of file spxlpbase.h. References SPxLPBase< R >::changeRow(), and SPxLPBase< R >::number(). ◆ changeRowObj() [1/3]Changes row objective function vector to Reimplemented in SPxSolverBase< R >. Definition at line 1706 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), LPRowSetBase< R >::obj_w(), and SPxLPBase< R >::spxSense(). Referenced by SPxLPBase< R >::changeRow(), and SPxLPBase< R >::changeRowObj(). ◆ changeRowObj() [2/3]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1718 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), LPRowSetBase< R >::obj_w(), and SPxLPBase< R >::spxSense(). ◆ changeRowObj() [3/3]Changes row objective function value for row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1729 of file spxlpbase.h. References SPxLPBase< R >::changeRowObj(), and SPxLPBase< R >::number(). ◆ changeSense()Changes optimization sense to Definition at line 1919 of file spxlpbase.h. References LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::number(), LPRowSetBase< R >::obj_w(), and SPxLPBase< R >::thesense. ◆ changeUpper() [1/4]Changes vector of upper bounds to Reimplemented in SPxSolverBase< R >. Definition at line 1506 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::number(), 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]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1525 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, soplex::infinity, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::number(), and LPColSetBase< R >::upper_w(). ◆ changeUpper() [3/4]Changes Definition at line 1541 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), SPxLPBase< R >::number(), and LPColSetBase< R >::upper_w(). ◆ changeUpper() [4/4]Changes upper bound of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1548 of file spxlpbase.h. References SPxLPBase< R >::changeUpper(), and SPxLPBase< R >::number(). ◆ cId()Returns the column identifier for column Definition at line 612 of file spxlpbase.h. References SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxSolverBase< R >::coId(), SPxSolverBase< R >::colId(), and SPxSolverBase< R >::id(). ◆ clear()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()Clears row objective function values for all rows. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 1735 of file spxlpbase.h. References LPRowSetBase< R >::obj_w(). Referenced by SPxSolverBase< R >::clearRowObjs(). ◆ colVector() [1/2]Returns column vector of column with identifier Definition at line 422 of file spxlpbase.h. References LPColSetBase< R >::colVector(). ◆ colVector() [2/2]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()
Returns the LP as an LPRowBase<R>Set. Definition at line 2335 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()
Computes "dual" activity of the columns for a given dual vector, i.e., y^T A; activity does not need to be zero.
◆ computePrimalActivity()
Computes activity of the rows for a given primal vector; activity does not need to be zero.
◆ doAddCol() [1/2]Definition at line 2577 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(), SPxLPBase< R >::number(), 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]
Definition at line 2637 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(), SPxLPBase< R >::number(), SVectorBase< R >::size(), SPxLPBase< R >::thesense, SPxLPBase< R >::upper(), LPColSetBase< R >::upper_w(), and SVectorBase< R >::value(). ◆ doAddCols()Definition at line 2697 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(), SPxLPBase< R >::number(), SPxLPBase< R >::rowVector(), SPxLPBase< R >::rowVector_w(), SVSetBase< R >::set, 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]Definition at line 2347 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 >::number(), 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]
Definition at line 2404 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 >::number(), SPxLPBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), SPxLPBase< R >::rowVector_w(), SVectorBase< R >::size(), and SVectorBase< R >::value(). ◆ doAddRows()Definition at line 2462 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(), SPxLPBase< R >::number(), SPxLPBase< R >::rhs(), LPRowSetBase< R >::rhs_w(), SPxLPBase< R >::rowVector_w(), SVSetBase< R >::set, SVectorBase< R >::size(), SVectorBase< R >::value(), and LPColSetBase< R >::xtend(). Referenced by SPxLPBase< R >::addRows(). ◆ doRemoveCol()Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2202 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SVectorBase< R >::index(), SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), LPColSetBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::removeCol(). ◆ doRemoveCols()Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2243 of file spxlpbase.h. References SVectorBase< R >::index(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), LPColSetBase< R >::remove(), SVectorBase< R >::remove(), SPxLPBase< R >::rowVector_w(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::removeCols(). ◆ doRemoveRow()Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2141 of file spxlpbase.h. References SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), LPRowSetBase< R >::remove(), SPxLPBase< R >::rowVector(), and SVectorBase< R >::size(). Referenced by SPxLPBase< R >::removeRow(). ◆ doRemoveRows()Internal helper method. Reimplemented in SPxSolverBase< R >, and SPxSolverBase< BP >. Definition at line 2179 of file spxlpbase.h. References SPxLPBase< R >::colVector_w(), SVectorBase< R >::index(), SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), 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]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()Gets columns Definition at line 393 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::colVector(), SPxLPBase< R >::getCol(), SPxLPBase< R >::lower(), SPxLPBase< R >::number(), LPRowSetBase< R >::obj(), SVSetBase< R >::set, and SPxLPBase< R >::upper(). ◆ getColVectorUnscaled() [1/2]Gets column vector of column with identifier ◆ getColVectorUnscaled() [2/2]Gets column vector of column ◆ getLhsUnscaled()
Returns unscaled left hand side vector. ◆ getLowerUnscaled()
Gets unscaled lower bound vector. ◆ getObj()
Gets objective vector. Definition at line 437 of file spxlpbase.h. References LPColSetBase< R >::maxObj(), SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), and SPxLPBase< R >::spxSense(). ◆ getObjUnscaled()
Gets unscaled objective vector. ◆ getRhs()
Gets (internal and possibly scaled) right hand side vector. Definition at line 279 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ getRhsUnscaled()
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]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()
Gets row objective function vector. Definition at line 312 of file spxlpbase.h. References SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), LPRowSetBase< R >::obj(), and SPxLPBase< R >::spxSense(). ◆ getRows()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()Gets unscaled row vector of row ◆ getUpperUnscaled()
Gets unscaled upper bound vector. ◆ has() [1/3]Returns the column number of the column with identifier Definition at line 592 of file spxlpbase.h. References LPColSetBase< R >::has(). ◆ has() [2/3]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]Returns the row number of the row with identifier Definition at line 586 of file spxlpbase.h. References LPRowSetBase< R >::has(). ◆ isConsistent()Consistency check. Definition at line 2029 of file spxlpbase.h. References SPxLPBase< R >::_tolerances, SPxLPBase< R >::colVector(), LPColSetBase< R >::isConsistent(), LPRowSetBase< R >::isConsistent(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), SPxLPBase< R >::rowVector(), and SPX_MSG_INCONSISTENT. 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()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]
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]Returns left hand side of row with identifier Definition at line 306 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). ◆ lhs() [3/3]Returns left hand side of row number Definition at line 300 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). ◆ lhs_w()Returns left hand side of row Definition at line 2093 of file spxlpbase.h. References LPRowSetBase< R >::lhs_w(). ◆ lhsUnscaled() [1/2]Returns left hand side of row with identifier ◆ lhsUnscaled() [2/2]◆ lower() [1/3]
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]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]Returns (internal and possibly scaled) lower bound of column Definition at line 533 of file spxlpbase.h. References LPColSetBase< R >::lower(). ◆ lower_w()Returns lower bound of column Definition at line 2117 of file spxlpbase.h. References LPColSetBase< R >::lower_w(). ◆ lowerUnscaled() [1/2]Returns unscaled lower bound of column with identifier ◆ lowerUnscaled() [2/2]◆ lpcolset()
Returns the LP as an LPColSetBase. Definition at line 2135 of file spxlpbase.h. Referenced by SPxSolverBase< R >::cols(). ◆ lprowset()
Returns the LP as an LPRowSetBase. Definition at line 2129 of file spxlpbase.h. Referenced by SPxSolverBase< R >::rows(). ◆ maxAbsNzo()Absolute biggest non-zero element in (in rational case possibly scaled) LP. Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ maxObj() [1/3]
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]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]Returns objective value of column Definition at line 479 of file spxlpbase.h. References LPColSetBase< R >::maxObj(). ◆ maxObj_w()Returns objective value of column Definition at line 2105 of file spxlpbase.h. References LPColSetBase< R >::maxObj_w(). ◆ maxObjUnscaled() [1/3]Returns unscaled objective value of column with identifier ◆ maxObjUnscaled() [2/3]Returns unscaled objective value of column ◆ maxObjUnscaled() [3/3]
Returns unscaled objective vector for maximization problem. ◆ maxRowObj() [1/3]
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]Returns row objective function value of row with identifier Definition at line 351 of file spxlpbase.h. References LPRowSetBase< R >::obj(). ◆ maxRowObj() [3/3]Definition at line 345 of file spxlpbase.h. References LPRowSetBase< R >::obj(). ◆ maxRowObj_w()Returns objective function value of row Definition at line 2099 of file spxlpbase.h. References LPRowSetBase< R >::obj_w(). Referenced by SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), and SPxLPBase< R >::doAddRows(). ◆ minAbsNzo()Absolute smallest non-zero element in (possibly scaled) LP. Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ nCols()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()Returns number of nonzeros in LP. Definition at line 203 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SPxLPBase< R >::nCols(), and SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ nRows()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 >::addCol(), SPxLPBase< R >::addCol(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addCols(), SPxLPBase< R >::addDualActivity(), SPxLPBase< R >::added2Set(), SPxLPBase< R >::addPrimalActivity(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxLPBase< R >::addRows(), SPxLPBase< R >::addRows(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxLPBase< R >::changeBounds(), SPxSolverBase< R >::changeBounds(), SPxLPBase< R >::changeCol(), SPxLPBase< R >::changeCol(), SPxSolverBase< R >::changeCol(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeElement(), SPxLPBase< R >::changeElement(), SPxSolverBase< R >::changeElement(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeLhs(), SPxSolverBase< R >::changeLhs(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeLower(), SPxSolverBase< R >::changeLower(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeMaxObj(), SPxLPBase< R >::changeMaxObj(), SPxSolverBase< R >::changeMaxObj(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeObj(), SPxSolverBase< R >::changeObj(), SPxLPBase< R >::changeObjOffset(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), SPxLPBase< R >::changeRange(), SPxSolverBase< R >::changeRange(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRhs(), SPxSolverBase< R >::changeRhs(), SPxLPBase< R >::changeRow(), SPxLPBase< R >::changeRow(), SPxSolverBase< R >::changeRow(), SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::changeRowObj(), SPxLPBase< R >::changeRowObj(), SPxSolverBase< R >::changeRowObj(), SPxLPBase< R >::changeSense(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::changeUpper(), SPxLPBase< R >::changeUpper(), SPxSolverBase< R >::changeUpper(), SPxLPBase< R >::cId(), SPxSolverBase< R >::coId(), SPxSolverBase< R >::coTest(), SPxSolverBase< R >::coVector(), SPxSolverBase< R >::coVector(), SPxSolverBase< R >::coVector(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), SPxLPBase< R >::doRemoveCol(), SPxLPBase< R >::doRemoveCols(), SPxLPBase< R >::doRemoveRow(), SPxLPBase< R >::doRemoveRows(), SPxSolverBase< R >::enterVector(), SPxSolverBase< R >::fTest(), SPxLPBase< R >::getCol(), SPxLPBase< R >::getCols(), SPxSolverBase< R >::getLhs(), SPxSolverBase< R >::getLower(), SPxLPBase< R >::getObj(), SPxSolverBase< R >::getRhs(), SPxLPBase< R >::getRow(), SPxLPBase< R >::getRowObj(), SPxSolverBase< R >::getTiming(), SPxSolverBase< R >::getUpper(), SPxSolverBase< R >::id(), SPxSolverBase< R >::isBasic(), SPxSolverBase< R >::isBasic(), SPxSolverBase< R >::isBasic(), SPxSolverBase< R >::isCoId(), SPxLPBase< R >::isConsistent(), SPxSolverBase< R >::isId(), SPxSolverBase< R >::lcBound(), SPxSolverBase< R >::lcBound(), SPxSolverBase< R >::lpBound(), SPxSolverBase< R >::lpBound(), SPxLPBase< R >::maxObj(), SPxLPBase< R >::nNzos(), SPxLPBase< R >::obj(), SPxLPBase< R >::obj(), SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), SPxSolverBase< R >::primalIterations(), SPxLPBase< R >::printProblemStatistics(), SPxLPBase< R >::read(), SPxLPBase< R >::readFile(), SPxLPBase< R >::removeCol(), SPxLPBase< R >::removeColRange(), SPxLPBase< R >::removeCols(), SPxLPBase< R >::removeCols(), SPxLPBase< R >::removeRow(), SPxLPBase< R >::removeRowRange(), SPxLPBase< R >::removeRows(), SPxLPBase< R >::removeRows(), SPxLPBase< R >::rId(), SPxSolverBase< R >::scaleEntertol(), SPxSolverBase< R >::scaleLeavetol(), SPxSolverBase< R >::setDisplayFreq(), SPxLPBase< R >::setOutstream(), SPxSolverBase< R >::setOutstream(), SPxLPBase< R >::setScalingInfo(), SPxSolverBase< R >::setSolutionPolishing(), SPxSolverBase< R >::setSparsePricingFactor(), SPxSolverBase< R >::setStoreBasisFreqForBoosting(), SPxSolverBase< R >::setTiming(), SPxSolverBase< R >::setTolerances(), SPxSolverBase< R >::setup4coSolve(), SPxSolverBase< R >::setup4coSolve2(), SPxSolverBase< R >::setup4solve(), SPxSolverBase< R >::setup4solve2(), SPxSolverBase< R >::shiftLBbound(), SPxSolverBase< R >::shiftLCbound(), SPxSolverBase< R >::shiftLPbound(), SPxSolverBase< R >::shiftUBbound(), SPxSolverBase< R >::shiftUCbound(), SPxSolverBase< R >::shiftUPbound(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::subDualActivity(), SPxSolverBase< R >::test(), SPxSolverBase< R >::ucBound(), SPxSolverBase< R >::ucBound(), SPxSolverBase< R >::upBound(), SPxSolverBase< R >::upBound(), SPxSolverBase< R >::useFullPerturbation(), SPxSolverBase< R >::vector(), SPxSolverBase< R >::vector(), SPxSolverBase< R >::vector(), and SPxLPBase< R >::writeFileLPBase(). ◆ obj() [1/2]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]Returns objective value of column Definition at line 446 of file spxlpbase.h. References SPxLPBase< R >::maxObj(), SPxLPBase< R >::MINIMIZE, SPxLPBase< R >::number(), and SPxLPBase< R >::spxSense(). Referenced by SPxMainSM< R >::FixVariablePS::FixVariablePS(), SPxMainSM< R >::ForceConstraintPS::ForceConstraintPS(), and SPxMainSM< R >::FreeColSingletonPS::FreeColSingletonPS(). ◆ objOffset()Returns the objective function value offset. Definition at line 560 of file spxlpbase.h. References SPxLPBase< R >::offset. ◆ objUnscaled() [1/2]Returns unscaled objective value of column with identifier ◆ objUnscaled() [2/2]◆ operator=() [1/2]Assignment operator. Definition at line 2867 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::_tolerances, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::number(), SPxLPBase< R >::offset, LPColSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), SPxLPBase< R >::spxout, and SPxLPBase< R >::thesense. ◆ operator=() [2/2]Assignment operator. Definition at line 2888 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::_tolerances, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::number(), SPxLPBase< R >::offset, LPColSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), SPxLPBase< R >::spxout, and SPxLPBase< R >::thesense. ◆ printProblemStatistics()prints problem statistics Definition at line 1274 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 >::number(), SPxLPBase< R >::rhs(), SPxOut::setFixed(), SPxLPBase< R >::tolerances(), and SPxLPBase< R >::upper(). ◆ read()
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 >::number(), SPxLPBase< R >::readLPF(), and SPxLPBase< R >::readMPS(). Referenced by SPxLPBase< R >::readFile(). ◆ readFile()
Reads LP from a file. Definition at line 1231 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::read(). ◆ readLPF()
Reads LP in LP format from input stream Referenced by SPxLPBase< R >::read(). ◆ readMPS()
Reads an LP in MPS format from input stream Referenced by SPxLPBase< R >::read(). ◆ removeCol() [1/2]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]Removes column with identifier Definition at line 1081 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::removeCol(). ◆ removeColRange()Removes columns from Definition at line 1142 of file spxlpbase.h. References SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeCols(). ◆ removeCols() [1/3]Removes Removing multiple columns with one method invocation is available in two flavours. An array Definition at line 1122 of file spxlpbase.h. References SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeCols(). ◆ removeCols() [2/3]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]Definition at line 1097 of file spxlpbase.h. References SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeCols(). ◆ removeRow() [1/2]Removes Definition at line 972 of file spxlpbase.h. References SPxLPBase< R >::doRemoveRow(). Referenced by SPxMainSM< R >::removeRow(), and SPxLPBase< R >::removeRow(). ◆ removeRow() [2/2]Removes row with identifier Definition at line 981 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::removeRow(). ◆ removeRowRange()Removes rows from Definition at line 1042 of file spxlpbase.h. References SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeRows(). ◆ removeRows() [1/3]Removes Removing multiple rows with one method invocation is available in two flavours. An array Definition at line 1022 of file spxlpbase.h. References SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeRows(). ◆ removeRows() [2/3]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]Definition at line 997 of file spxlpbase.h. References SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeRows(). ◆ rhs() [1/3]
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]Returns right hand side of row with identifier Definition at line 273 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ rhs() [3/3]Returns right hand side of row number Definition at line 266 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ rhs_w()Returns right hand side of row Definition at line 2087 of file spxlpbase.h. References LPRowSetBase< R >::rhs_w(). ◆ rhsUnscaled() [1/2]Returns unscaled right hand side of row with identifier ◆ rhsUnscaled() [2/2]◆ rId()Returns the row identifier for row Definition at line 606 of file spxlpbase.h. References SPxLPBase< R >::number(). Referenced by SPxLPBase< R >::addRow(), SPxLPBase< R >::addRows(), SPxSolverBase< R >::coId(), SPxSolverBase< R >::id(), and SPxSolverBase< R >::rowId(). ◆ rowObj() [1/2]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]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]Returns the inequality type of the Definition at line 366 of file spxlpbase.h. References LPRowSetBase< R >::type(). ◆ rowVector() [1/2]Gets row vector of row with identifier Definition at line 251 of file spxlpbase.h. References LPRowSetBase< R >::rowVector(). ◆ rowVector() [2/2]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()
Definition at line 2341 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()Definition at line 153 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::spxout. ◆ setScalingInfo()set whether the LP is scaled or not Definition at line 185 of file spxlpbase.h. References SPxLPBase< R >::number(). ◆ setTolerances()
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()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()
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 1989 of file spxlpbase.h. References VectorBase< R >::dim(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), and SPxLPBase< R >::rowVector(). ◆ tolerances()
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()◆ upper() [1/3]
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]Returns upper bound of column with identifier Definition at line 512 of file spxlpbase.h. References LPColSetBase< R >::upper(). ◆ upper() [3/3]Returns upper bound of column Definition at line 506 of file spxlpbase.h. References LPColSetBase< R >::upper(). ◆ upper_w()Returns upper bound of column Definition at line 2111 of file spxlpbase.h. References LPColSetBase< R >::upper_w(). ◆ upperUnscaled() [1/2]Returns unscaled upper bound of column with identifier ◆ upperUnscaled() [2/2]◆ writeFileLPBase()
Write loaded LP to Definition at line 1255 of file spxlpbase.h. References SPxLPBase< R >::number(), SPxLPBase< R >::writeLPF(), and SPxLPBase< R >::writeMPS(). ◆ writeLPF()
Writes a file in LP format to Referenced by SPxLPBase< R >::writeFileLPBase(). ◆ writeMPS()
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◆ _isScaledtrue, 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=(), and SPxLPBase< R >::operator=(). ◆ _tolerances
Definition at line 2080 of file spxlpbase.h. Referenced by SPxLPBase< R >::isConsistent(), SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), SPxSolverBase< R >::setTolerances(), SPxLPBase< R >::setTolerances(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::SPxLPBase(), SPxLPBase< R >::tolerances(), and SPxSolverBase< R >::tolerances(). ◆ lp_scalerpoints 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(). ◆ offsetoffset 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 >
Definition at line 110 of file spxlpbase.h. ◆ SPxEquiliSC< R >
Definition at line 112 of file spxlpbase.h. ◆ SPxGeometSC< R >
Definition at line 114 of file spxlpbase.h. ◆ SPxLeastSqSC< R >
Definition at line 113 of file spxlpbase.h. ◆ SPxMainSM< R >◆ spxoutDefinition at line 149 of file spxlpbase.h. Referenced by SPxLPBase< R >::operator=(), SPxLPBase< R >::operator=(), and SPxLPBase< R >::setOutstream(). ◆ SPxScaler< R >◆ thesenseoptimization 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().
|