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

Function highs_getBasisInverseRow

highspy/highs_bindings.cpp:224–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224std::tuple<HighsStatus, dense_array_t<double>> highs_getBasisInverseRow(
225 Highs* h, HighsInt row) {
226 HighsInt num_row = h->getNumRow();
227
228 HighsStatus status = HighsStatus::kOk;
229 std::vector<double> solution_vector(num_row);
230 double* solution_vector_ptr = static_cast<double*>(solution_vector.data());
231
232 if (num_row > 0) status = h->getBasisInverseRow(row, solution_vector_ptr);
233 return std::make_tuple(status, py::cast(solution_vector));
234}
235
236std::tuple<HighsStatus, dense_array_t<double>, HighsInt,
237 dense_array_t<HighsInt>>

Callers

nothing calls this directly

Calls 3

dataMethod · 0.80
getNumRowMethod · 0.45
getBasisInverseRowMethod · 0.45

Tested by

no test coverage detected