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

Function Highs_getRowsBySet

highs/interfaces/highs_c_api.cpp:1044–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1042}
1043
1044HighsInt Highs_getRowsBySet(const void* highs, const HighsInt num_set_entries,
1045 const HighsInt* set, HighsInt* num_row,
1046 double* lower, double* upper, HighsInt* num_nz,
1047 HighsInt* matrix_start, HighsInt* matrix_index,
1048 double* matrix_value) {
1049 HighsInt local_num_row, local_num_nz;
1050 HighsStatus status =
1051 ((Highs*)highs)
1052 ->getRows(num_set_entries, set, local_num_row, lower, upper,
1053 local_num_nz, matrix_start, matrix_index, matrix_value);
1054 *num_row = local_num_row;
1055 *num_nz = local_num_nz;
1056 return (HighsInt)status;
1057}
1058
1059HighsInt Highs_getRowsByMask(const void* highs, const HighsInt* mask,
1060 HighsInt* num_row, double* lower, double* upper,

Callers 1

getRowsBySetMethod · 0.85

Calls 1

getRowsMethod · 0.80

Tested by

no test coverage detected