MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / Highs_getFixedLp

Function Highs_getFixedLp

highs/interfaces/highs_c_api.cpp:1311–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309}
1310
1311HighsInt 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
1328HighsInt Highs_getPresolvedLp(const void* highs, const HighsInt a_format,
1329 HighsInt* num_col, HighsInt* num_row,

Callers 1

testFixedLpFunction · 0.85

Calls 2

Highs_getHighsLpDataFunction · 0.85
getFixedLpMethod · 0.80

Tested by 1

testFixedLpFunction · 0.68