| 437 | } |
| 438 | |
| 439 | HighsSparseMatrix* HEkk::getScaledAMatrixPointer() { |
| 440 | // Return a pointer to either the constraint matrix or a scaled copy |
| 441 | // (that is a member of the HEkk class), with the latter returned if |
| 442 | // the LP has scaling factors but is unscaled. |
| 443 | HighsSparseMatrix* local_scaled_a_matrix = &(this->lp_.a_matrix_); |
| 444 | if (this->lp_.scale_.has_scaling && !this->lp_.is_scaled_) { |
| 445 | scaled_a_matrix_ = this->lp_.a_matrix_; |
| 446 | scaled_a_matrix_.applyScale(this->lp_.scale_); |
| 447 | local_scaled_a_matrix = &scaled_a_matrix_; |
| 448 | } |
| 449 | return local_scaled_a_matrix; |
| 450 | } |
| 451 | |
| 452 | HighsStatus HEkk::dualize() { |
| 453 | assert(lp_.a_matrix_.isColwise()); |
nothing calls this directly
no test coverage detected