Loading...
Searching...
No Matches
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 2680 of file spxlpbase.h. ◆ ~SPxLPBase()Destructor. Definition at line 2680 of file spxlpbase.h. ◆ SPxLPBase() [2/3]Copy constructor. Definition at line 2680 of file spxlpbase.h. ◆ SPxLPBase() [3/3]Copy constructor. Definition at line 2680 of file spxlpbase.h. Member Function Documentation◆ addCol() [1/4]Definition at line 784 of file spxlpbase.h. References SPxLPBase< R >::doAddCol(). Referenced by SPxLPBase< R >::addCol(). ◆ addCol() [2/4]
Definition at line 790 of file spxlpbase.h. References SPxLPBase< R >::doAddCol(). ◆ addCol() [3/4]
Definition at line 798 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]Adds Definition at line 833 of file spxlpbase.h. References SPxLPBase< R >::addCol(), SPxLPBase< R >::cId(), and SPxLPBase< R >::nCols(). ◆ addCols() [1/3]Definition at line 840 of file spxlpbase.h. References SPxLPBase< R >::doAddCols(). Referenced by SPxLPBase< R >::addCols(). ◆ addCols() [2/3]
Definition at line 847 of file spxlpbase.h. References LPColSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector(), 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(), SPxLPBase< R >::thesense, and LPRowSetBase< R >::xtend(). ◆ addCols() [3/3]Adds all LPColBases of Definition at line 943 of file spxlpbase.h. References SPxLPBase< R >::addCols(), SPxLPBase< R >::cId(), SPxLPBase< R >::nCols(), 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 1959 of file spxlpbase.h. References SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rowVector(), and DataArray< T >::size(). ◆ added2Set()Definition at line 2257 of file spxlpbase.h. References DataArray< T >::get_ptr(), SVSetBase< R >::set, and DataArray< T >::size(). ◆ addedCols()Called after the last Reimplemented in SPxSolverBase< R >. Definition at line 2253 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 >. Definition at line 2249 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 1935 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), and DataArray< T >::size(). ◆ addRow() [1/4]Definition at line 612 of file spxlpbase.h. References SPxLPBase< R >::doAddRow(). Referenced by SPxLPBase< R >::addRow(). ◆ addRow() [2/4]
Definition at line 618 of file spxlpbase.h. References SPxLPBase< R >::doAddRow(). ◆ addRow() [3/4]
Definition at line 626 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]Adds Definition at line 663 of file spxlpbase.h. References SPxLPBase< R >::addRow(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::rId(). ◆ addRows() [1/3]Definition at line 670 of file spxlpbase.h. References SPxLPBase< R >::doAddRows(). Referenced by SPxLPBase< R >::addRows(). ◆ addRows() [2/3]
Definition at line 677 of file spxlpbase.h. References LPRowSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector(), SPxLPBase< R >::colVector_w(), LPRowSetBase< R >::memRemax(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rowVector(), DataArray< T >::size(), and LPColSetBase< R >::xtend(). ◆ addRows() [3/3]adds all LPRowBases of Definition at line 774 of file spxlpbase.h. References SPxLPBase< R >::addRows(), SPxLPBase< R >::nRows(), 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 1542 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeUpper(), and SPxLPBase< R >::isConsistent(). Referenced by SPxLPBase< R >::changeBounds(). ◆ changeBounds() [2/4]
Changes bounds of column Reimplemented in SPxSolverBase< R >. Definition at line 1551 of file spxlpbase.h. References SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeUpper(), and SPxLPBase< R >::isConsistent(). ◆ changeBounds() [3/4]Changes bounds of column Definition at line 1560 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::lower_w(), and LPColSetBase< R >::upper_w(). ◆ changeBounds() [4/4]
Changes bounds of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1568 of file spxlpbase.h. References SPxLPBase< R >::changeBounds(), and SPxLPBase< R >::number(). ◆ changeCol() [1/2]Replaces Reimplemented in SPxSolverBase< R >. Definition at line 1778 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::changeLower(), SPxLPBase< R >::changeObj(), SPxLPBase< R >::changeUpper(), DataArray< T >::clear(), SPxLPBase< R >::colVector_w(), SPxLPBase< R >::isConsistent(), DataArray< T >::remove(), SPxLPBase< R >::rowVector_w(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::changeCol(). ◆ changeCol() [2/2]Replaces column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1821 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 1827 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, DataArray< T >::remove(), and SPxLPBase< R >::rowVector_w(). Referenced by SPxLPBase< R >::changeElement(). ◆ changeElement() [2/3]Changes LP element ( Definition at line 1870 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::colVector_w(), SPxLPBase< R >::isConsistent(), DataArray< T >::remove(), and SPxLPBase< R >::rowVector_w(). ◆ changeElement() [3/3]
Changes LP element identified by ( Reimplemented in SPxSolverBase< R >. Definition at line 1901 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 1574 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, 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]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1593 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]Changes Definition at line 1609 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPRowSetBase< R >::lhs_w(). ◆ changeLhs() [4/4]Changes left hand side value for row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1616 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 1446 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, 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]changes Reimplemented in SPxSolverBase< R >. Definition at line 1465 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]changes Definition at line 1481 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPColSetBase< R >::lower_w(). ◆ changeLower() [4/4]changes lower bound of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1488 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 1398 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, 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]changes Reimplemented in SPxSolverBase< R >. Definition at line 1417 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, and LPColSetBase< R >::maxObj_w(). ◆ changeMaxObj() [3/4]changes Definition at line 1433 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPColSetBase< R >::maxObj_w(). ◆ changeMaxObj() [4/4]Changes objective value of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1440 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 1362 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]changes Reimplemented in SPxSolverBase< R >. Definition at line 1371 of file spxlpbase.h. References SPxLPBase< R >::changeMaxObj(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ changeObj() [3/4]changes Definition at line 1381 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPColSetBase< R >::maxObj_w(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ changeObj() [4/4]Changes objective value of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1392 of file spxlpbase.h. References SPxLPBase< R >::changeObj(), and SPxLPBase< R >::number(). ◆ changeObjOffset()Definition at line 1919 of file spxlpbase.h. References SPxLPBase< R >::offset. ◆ changeRange() [1/4]
Changes left and right hand side vectors. Reimplemented in SPxSolverBase< R >. Definition at line 1662 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::isConsistent(). Referenced by SPxLPBase< R >::changeRange(). ◆ changeRange() [2/4]Changes left and right hand side of row Reimplemented in SPxSolverBase< R >. Definition at line 1671 of file spxlpbase.h. References SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::isConsistent(). ◆ changeRange() [3/4]Changes left and right hand side of row Definition at line 1680 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), LPRowSetBase< R >::lhs_w(), 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 1688 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 1622 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, 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]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1641 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]Changes right hand side value for row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1656 of file spxlpbase.h. References SPxLPBase< R >::changeRhs(), and SPxLPBase< R >::number(). ◆ changeRow() [1/2]Replaces Reimplemented in SPxSolverBase< R >. Definition at line 1729 of file spxlpbase.h. References LPColSetBase< R >::add2(), LPRowSetBase< R >::add2(), SPxLPBase< R >::changeLhs(), SPxLPBase< R >::changeRhs(), SPxLPBase< R >::changeRowObj(), DataArray< T >::clear(), SPxLPBase< R >::colVector_w(), SPxLPBase< R >::isConsistent(), DataArray< T >::remove(), SPxLPBase< R >::rowVector_w(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::changeRow(). ◆ changeRow() [2/2]Replaces row with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1772 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 1694 of file spxlpbase.h. References 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]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1706 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), SPxLPBase< R >::MINIMIZE, 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 1717 of file spxlpbase.h. References SPxLPBase< R >::changeRowObj(), and SPxLPBase< R >::number(). ◆ changeSense()Changes optimization sense to Definition at line 1907 of file spxlpbase.h. References LPColSetBase< R >::maxObj_w(), LPRowSetBase< R >::obj_w(), and SPxLPBase< R >::thesense. ◆ changeUpper() [1/4]Changes vector of upper bounds to Reimplemented in SPxSolverBase< R >. Definition at line 1494 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, 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]Changes Reimplemented in SPxSolverBase< R >. Definition at line 1513 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]Changes Definition at line 1529 of file spxlpbase.h. References SPxLPBase< R >::isConsistent(), and LPColSetBase< R >::upper_w(). ◆ changeUpper() [4/4]Changes upper bound of column with identifier Reimplemented in SPxSolverBase< R >. Definition at line 1536 of file spxlpbase.h. References SPxLPBase< R >::changeUpper(), and SPxLPBase< R >::number(). ◆ cId()Returns the column identifier for column Definition at line 600 of file spxlpbase.h. 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 >. Definition at line 1160 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. ◆ clearRowObjs()Clears row objective function values for all rows. Reimplemented in SPxSolverBase< R >. Definition at line 1723 of file spxlpbase.h. References DataArray< T >::clear(), and LPRowSetBase< R >::obj_w(). Referenced by SPxSolverBase< R >::clearRowObjs(). ◆ colVector() [1/2]Returns column vector of column with identifier Definition at line 410 of file spxlpbase.h. References LPColSetBase< R >::colVector(). ◆ colVector() [2/2]Returns column vector of column Definition at line 404 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(), 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 2318 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 2560 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector_w(), 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 >::size(), SPxLPBase< R >::thesense, SPxLPBase< R >::upper(), and LPColSetBase< R >::upper_w(). Referenced by SPxLPBase< R >::addCol(), and SPxLPBase< R >::addCol(). ◆ doAddCol() [2/2]
Definition at line 2620 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector_w(), 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 >::size(), SPxLPBase< R >::thesense, SPxLPBase< R >::upper(), and LPColSetBase< R >::upper_w(). ◆ doAddCols()Definition at line 2680 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector_w(), 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(), SPxLPBase< R >::thesense, SPxLPBase< R >::upper(), LPColSetBase< R >::upper_w(), and LPRowSetBase< R >::xtend(). Referenced by SPxLPBase< R >::addCols(). ◆ doAddRow() [1/2]Definition at line 2330 of file spxlpbase.h. References LPRowSetBase< R >::add(), LPColSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), 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(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::addRow(), and SPxLPBase< R >::addRow(). ◆ doAddRow() [2/2]
Definition at line 2387 of file spxlpbase.h. References LPRowSetBase< R >::add(), LPColSetBase< R >::add2(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), 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(), and DataArray< T >::size(). ◆ doAddRows()Definition at line 2445 of file spxlpbase.h. References LPColSetBase< R >::add(), LPRowSetBase< R >::add(), SPxLPBase< R >::addedCols(), SPxLPBase< R >::addedRows(), SPxLPBase< R >::colVector(), SPxLPBase< R >::colVector_w(), 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(), and LPColSetBase< R >::xtend(). Referenced by SPxLPBase< R >::addRows(). ◆ doRemoveCol()Internal helper method. Reimplemented in SPxSolverBase< R >. Definition at line 2185 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SPxLPBase< R >::nCols(), LPColSetBase< R >::remove(), DataArray< T >::remove(), SPxLPBase< R >::rowVector_w(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::removeCol(). ◆ doRemoveCols()Internal helper method. Reimplemented in SPxSolverBase< R >. Definition at line 2226 of file spxlpbase.h. References SPxLPBase< R >::nRows(), LPColSetBase< R >::remove(), DataArray< T >::remove(), SPxLPBase< R >::rowVector_w(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::removeCols(). ◆ doRemoveRow()Internal helper method. Reimplemented in SPxSolverBase< R >. Definition at line 2124 of file spxlpbase.h. References SPxLPBase< R >::colVector_w(), SPxLPBase< R >::nRows(), LPRowSetBase< R >::remove(), DataArray< T >::remove(), SPxLPBase< R >::rowVector(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::removeRow(). ◆ doRemoveRows()Internal helper method. Reimplemented in SPxSolverBase< R >. Definition at line 2162 of file spxlpbase.h. References SPxLPBase< R >::colVector_w(), SPxLPBase< R >::nCols(), LPRowSetBase< R >::remove(), DataArray< T >::remove(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::removeRows(). ◆ getCol() [1/2]Gets column with identifier Definition at line 375 of file spxlpbase.h. References SPxLPBase< R >::getCol(), and SPxLPBase< R >::number(). ◆ getCol() [2/2]Gets Definition at line 366 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SPxLPBase< R >::lower(), LPRowSetBase< R >::obj(), and SPxLPBase< R >::upper(). Referenced by SPxLPBase< R >::getCol(), and SPxLPBase< R >::getCols(). ◆ getCols()Gets columns Definition at line 381 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, DataArray< T >::clear(), SPxLPBase< R >::colVector(), SPxLPBase< R >::getCol(), SPxLPBase< R >::lower(), 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 425 of file spxlpbase.h. References LPColSetBase< R >::maxObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ getObjUnscaled()
Gets unscaled objective vector. ◆ getRhs()
Gets (internal and possibly scaled) right hand side vector. Definition at line 267 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 218 of file spxlpbase.h. References SPxLPBase< R >::getRow(), and SPxLPBase< R >::number(). ◆ getRow() [2/2]Gets Definition at line 209 of file spxlpbase.h. References SPxLPBase< R >::lhs(), SPxLPBase< R >::rhs(), SPxLPBase< R >::rowObj(), and SPxLPBase< R >::rowVector(). Referenced by SPxLPBase< R >::getRow(). ◆ getRowObj()
Gets row objective function vector. Definition at line 300 of file spxlpbase.h. References SPxLPBase< R >::MINIMIZE, LPRowSetBase< R >::obj(), and SPxLPBase< R >::spxSense(). ◆ getRows()Gets rows Definition at line 224 of file spxlpbase.h. References DataArray< T >::clear(), 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 580 of file spxlpbase.h. References LPColSetBase< R >::has(). ◆ has() [2/3]Returns the row or column number for identifier Definition at line 586 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 574 of file spxlpbase.h. References LPRowSetBase< R >::has(). ◆ isConsistent()Consistency check. Definition at line 2017 of file spxlpbase.h. References SPxLPBase< R >::colVector(), LPColSetBase< R >::isConsistent(), LPRowSetBase< R >::isConsistent(), MSGinconsistent, SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxLPBase< R >::rowVector(), and DataArray< T >::size(). 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=(), and SPxLPBase< R >::operator=(). ◆ isScaled()Returns true if and only if the LP is scaled. Definition at line 167 of file spxlpbase.h. References SPxLPBase< R >::_isScaled. ◆ lhs() [1/3]
Returns left hand side vector. Definition at line 282 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). Referenced by SPxLPBase< R >::changeLhs(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), 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 294 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). ◆ lhs() [3/3]Returns left hand side of row number Definition at line 288 of file spxlpbase.h. References LPRowSetBase< R >::lhs(). ◆ lhs_w()Returns left hand side of row Definition at line 2076 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 515 of file spxlpbase.h. References LPColSetBase< R >::lower(). Referenced by SPxLPBase< R >::changeLower(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), 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 527 of file spxlpbase.h. References LPColSetBase< R >::lower(). ◆ lower() [3/3]Returns (internal and possibly scaled) lower bound of column Definition at line 521 of file spxlpbase.h. References LPColSetBase< R >::lower(). ◆ lower_w()Returns lower bound of column Definition at line 2100 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 2118 of file spxlpbase.h. Referenced by SPxSolverBase< R >::cols(). ◆ lprowset()
Returns the LP as an LPRowSetBase. Definition at line 2112 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 461 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 473 of file spxlpbase.h. References SPxLPBase< R >::maxObj(), and SPxLPBase< R >::number(). ◆ maxObj() [3/3]Returns objective value of column Definition at line 467 of file spxlpbase.h. References LPColSetBase< R >::maxObj(). ◆ maxObj_w()Returns objective value of column Definition at line 2088 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 327 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 339 of file spxlpbase.h. References LPRowSetBase< R >::obj(). ◆ maxRowObj() [3/3]Definition at line 333 of file spxlpbase.h. References LPRowSetBase< R >::obj(). ◆ maxRowObj_w()Returns objective function value of row Definition at line 2082 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 185 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(), SPxLPBase< R >::removeColRange(), SPxLPBase< R >::removeCols(), SPxLPBase< R >::removeCols(), and SPxLPBase< R >::subDualActivity(). ◆ nNzos()Returns number of nonzeros in LP. Definition at line 191 of file spxlpbase.h. References SPxLPBase< R >::colVector(), SPxLPBase< R >::nCols(), and DataArray< T >::size(). Referenced by SPxLPBase< R >::printProblemStatistics(). ◆ nRows()Returns number of rows in LP. Definition at line 179 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(), SPxLPBase< R >::removeRowRange(), SPxLPBase< R >::removeRows(), SPxLPBase< R >::removeRows(), and SPxLPBase< R >::subDualActivity(). ◆ number() [1/3]Returns the column number of the column with identifier Definition at line 560 of file spxlpbase.h. References LPColSetBase< R >::number(). ◆ number() [2/3]Returns the row or column number for identifier Definition at line 566 of file spxlpbase.h. References SPxId::COL_ID, LPColSetBase< R >::number(), LPRowSetBase< R >::number(), and LPRowSetBase< R >::type(). ◆ number() [3/3]Returns the row number of the row with identifier Definition at line 554 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]Returns objective value of column with identifier Definition at line 445 of file spxlpbase.h. References SPxLPBase< R >::number(), and LPRowSetBase< R >::obj(). ◆ obj() [2/2]Returns objective value of column Definition at line 434 of file spxlpbase.h. References SPxLPBase< R >::maxObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ objOffset()Returns the objective function value offset. Definition at line 548 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 2848 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, 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 2868 of file spxlpbase.h. References SPxLPBase< R >::_isScaled, SPxLPBase< R >::isConsistent(), SPxLPBase< R >::lp_scaler, SPxLPBase< R >::offset, LPColSetBase< R >::operator=(), LPRowSetBase< R >::operator=(), SPxLPBase< R >::spxout, and SPxLPBase< R >::thesense. ◆ printProblemStatistics()prints problem statistics Definition at line 1262 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(), and SPxLPBase< R >::upper(). ◆ read()
Reads LP in LP or MPS format from input stream
Reimplemented in SPxSolverBase< R >. Definition at line 1198 of file spxlpbase.h. References SPxLPBase< R >::readLPF(), and SPxLPBase< R >::readMPS(). Referenced by SPxLPBase< R >::readFile(). ◆ readFile()
Reads LP from a file. Definition at line 1219 of file spxlpbase.h. References 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 1060 of file spxlpbase.h. References SPxLPBase< R >::doRemoveCol(). Referenced by SPxLPBase< R >::removeCol(). ◆ removeCol() [2/2]Removes column with identifier Definition at line 1069 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::removeCol(). ◆ removeColRange()Removes columns from Definition at line 1130 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nCols(), 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 1110 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nCols(), and SPxLPBase< R >::removeCols(). ◆ removeCols() [2/3]Removes multiple columns. This method removes all LPColBases from the SPxLPBase with an index Definition at line 1079 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 1085 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nCols(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeCols(). ◆ removeRow() [1/2]Removes Definition at line 960 of file spxlpbase.h. References SPxLPBase< R >::doRemoveRow(). Referenced by SPxLPBase< R >::removeRow(). ◆ removeRow() [2/2]Removes row with identifier Definition at line 969 of file spxlpbase.h. References SPxLPBase< R >::number(), and SPxLPBase< R >::removeRow(). ◆ removeRowRange()Removes rows from Definition at line 1030 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nRows(), 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 1010 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::removeRows(). ◆ removeRows() [2/3]Removes multiple rows. This method removes all LPRowBases from the SPxLPBase with an index Definition at line 979 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 985 of file spxlpbase.h. References DataArray< T >::get_ptr(), SPxLPBase< R >::nRows(), SPxLPBase< R >::number(), and SPxLPBase< R >::removeRows(). ◆ rhs() [1/3]
Returns right hand side vector. Definition at line 248 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). Referenced by SPxLPBase< R >::changeRhs(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRow(), SPxLPBase< R >::doAddRows(), 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 261 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ rhs() [3/3]Returns right hand side of row number Definition at line 254 of file spxlpbase.h. References LPRowSetBase< R >::rhs(). ◆ rhs_w()Returns right hand side of row Definition at line 2070 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 594 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]Returns row objective function value of row with identifier Definition at line 318 of file spxlpbase.h. References SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). ◆ rowObj() [2/2]Definition at line 309 of file spxlpbase.h. References SPxLPBase< R >::maxRowObj(), SPxLPBase< R >::MINIMIZE, and SPxLPBase< R >::spxSense(). Referenced by SPxLPBase< R >::getRow(), and SPxLPBase< R >::getRows(). ◆ rowType() [1/2]Returns the inequality type of the row with identifier Definition at line 360 of file spxlpbase.h. References LPRowSetBase< R >::type(). ◆ rowType() [2/2]Returns the inequality type of the Definition at line 354 of file spxlpbase.h. References LPRowSetBase< R >::type(). ◆ rowVector() [1/2]Gets row vector of row with identifier Definition at line 239 of file spxlpbase.h. References LPRowSetBase< R >::rowVector(). ◆ rowVector() [2/2]Gets row vector of row Definition at line 233 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(), SPxLPBase< R >::getRow(), SPxLPBase< R >::getRows(), SPxLPBase< R >::isConsistent(), and SPxLPBase< R >::subDualActivity(). ◆ rowVector_w()
Definition at line 2324 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 >::spxout. ◆ setScalingInfo()set whether the LP is scaled or not Definition at line 173 of file spxlpbase.h. References SPxLPBase< R >::_isScaled. ◆ spxSense()Returns the optimization sense. Definition at line 542 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(), 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 1977 of file spxlpbase.h. References SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), and SPxLPBase< R >::rowVector(). ◆ unscaleLP()◆ upper() [1/3]
Returns upper bound vector. Definition at line 488 of file spxlpbase.h. References LPColSetBase< R >::upper(). Referenced by SPxLPBase< R >::changeUpper(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCol(), SPxLPBase< R >::doAddCols(), 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 500 of file spxlpbase.h. References LPColSetBase< R >::upper(). ◆ upper() [3/3]Returns upper bound of column Definition at line 494 of file spxlpbase.h. References LPColSetBase< R >::upper(). ◆ upper_w()Returns upper bound of column Definition at line 2094 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 1243 of file spxlpbase.h. References 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=(), SPxLPBase< R >::operator=(), and SPxLPBase< R >::setScalingInfo(). ◆ 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=(), and SPxLPBase< R >::operator=(). ◆ 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().
|