| 1309 | } |
| 1310 | |
| 1311 | HighsInt Highs_getFixedLp(const void* highs, const HighsInt a_format, |
| 1312 | HighsInt* num_col, HighsInt* num_row, |
| 1313 | HighsInt* num_nz, HighsInt* sense, double* offset, |
| 1314 | double* col_cost, double* col_lower, |
| 1315 | double* col_upper, double* row_lower, |
| 1316 | double* row_upper, HighsInt* a_start, |
| 1317 | HighsInt* a_index, double* a_value) { |
| 1318 | HighsLp lp; |
| 1319 | HighsInt status = HighsInt(((Highs*)highs)->getFixedLp(lp)); |
| 1320 | if (status == kHighsStatusError) return status; |
| 1321 | HighsInt* integrality = nullptr; |
| 1322 | Highs_getHighsLpData(lp, a_format, num_col, num_row, num_nz, sense, offset, |
| 1323 | col_cost, col_lower, col_upper, row_lower, row_upper, |
| 1324 | a_start, a_index, a_value, integrality); |
| 1325 | return status; |
| 1326 | } |
| 1327 | |
| 1328 | HighsInt Highs_getPresolvedLp(const void* highs, const HighsInt a_format, |
| 1329 | HighsInt* num_col, HighsInt* num_row, |