| 303 | } |
| 304 | |
| 305 | void HighsLp::addColNames(const std::string name, const HighsInt num_new_col) { |
| 306 | // Don't add names if there are no columns being added |
| 307 | if (this->num_col_ == 0) return; |
| 308 | HighsInt col_names_size = this->col_names_.size(); |
| 309 | if (col_names_size <= 0) return; |
| 310 | assert(col_names_size == this->num_col_ + num_new_col); |
| 311 | // Handle the addition of user-defined names later |
| 312 | assert(name == ""); |
| 313 | // Blank names for the new columns were added in |
| 314 | // appendColsToLpVectors |
| 315 | } |
| 316 | |
| 317 | void HighsLp::addRowNames(const std::string name, const HighsInt num_new_row) { |
| 318 | // Don't add names if there are no rows being added |