Lines Matching refs:pivotRow
920 void SimplexBase::pivot(unsigned pivotRow, unsigned pivotCol) { in pivot() argument
924 swapRowWithCol(pivotRow, pivotCol); in pivot()
925 std::swap(tableau(pivotRow, 0), tableau(pivotRow, pivotCol)); in pivot()
927 if (tableau(pivotRow, 0) < 0) { in pivot()
930 tableau(pivotRow, 0) = -tableau(pivotRow, 0); in pivot()
931 tableau(pivotRow, pivotCol) = -tableau(pivotRow, pivotCol); in pivot()
936 tableau(pivotRow, col) = -tableau(pivotRow, col); in pivot()
939 tableau.normalizeRow(pivotRow); in pivot()
942 if (row == pivotRow) in pivot()
946 tableau(row, 0) *= tableau(pivotRow, 0); in pivot()
951 tableau(row, col) = tableau(row, col) * tableau(pivotRow, 0) + in pivot()
952 tableau(row, pivotCol) * tableau(pivotRow, col); in pivot()
954 tableau(row, pivotCol) *= tableau(pivotRow, pivotCol); in pivot()
1347 Optional<unsigned> pivotRow = findPivotRow({}, direction, column); in computeOptimum() local
1350 if (!pivotRow) in computeOptimum()
1352 pivot(*pivotRow, column); in computeOptimum()
1414 Optional<unsigned> pivotRow = findPivotRow({}, Direction::Down, column); in detectRedundant() local
1417 if (!pivotRow) in detectRedundant()
1419 pivot(*pivotRow, column); in detectRedundant()