| 61 | } |
| 62 | |
| 63 | void HEkkDualRow::chooseMakepack(const HVector* row, const HighsInt offset) { |
| 64 | /** |
| 65 | * Pack the indices and values for the row |
| 66 | * |
| 67 | * Offset of numCol is used when packing row_ep |
| 68 | */ |
| 69 | const HighsInt rowCount = row->count; |
| 70 | const HighsInt* rowIndex = row->index.data(); |
| 71 | const double* rowArray = row->array.data(); |
| 72 | for (HighsInt i = 0; i < rowCount; i++) { |
| 73 | const HighsInt index = rowIndex[i]; |
| 74 | const double value = rowArray[index]; |
| 75 | packIndex[packCount] = index + offset; |
| 76 | packValue[packCount++] = value; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | void HEkkDualRow::choosePossible() { |
| 81 | /** |
no test coverage detected