| 2853 | } |
| 2854 | |
| 2855 | HighsStatus Highs::addCols(const HighsInt num_new_col, const double* costs, |
| 2856 | const double* lower_bounds, |
| 2857 | const double* upper_bounds, |
| 2858 | const HighsInt num_new_nz, const HighsInt* starts, |
| 2859 | const HighsInt* indices, const double* values) { |
| 2860 | this->logHeader(); |
| 2861 | HighsStatus return_status = HighsStatus::kOk; |
| 2862 | clearDerivedModelProperties(); |
| 2863 | return_status = interpretCallStatus( |
| 2864 | options_.log_options, |
| 2865 | addColsInterface(num_new_col, costs, lower_bounds, upper_bounds, |
| 2866 | num_new_nz, starts, indices, values), |
| 2867 | return_status, "addCols"); |
| 2868 | if (return_status == HighsStatus::kError) return HighsStatus::kError; |
| 2869 | return returnFromHighs(return_status); |
| 2870 | } |
| 2871 | |
| 2872 | HighsStatus Highs::addVars(const HighsInt num_new_var, const double* lower, |
| 2873 | const double* upper) { |