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

Method getRowsInterface

highs/lp_data/HighsInterface.cpp:839–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839void Highs::getRowsInterface(const HighsIndexCollection& index_collection,
840 HighsInt& num_row, double* lower, double* upper,
841 HighsInt& num_nz, HighsInt* start, HighsInt* index,
842 double* value) const {
843 const HighsLp& lp = model_.lp_;
844 if (lp.a_matrix_.isColwise()) {
845 getSubVectorsTranspose(index_collection, lp.num_row_, nullptr,
846 lp.row_lower_.data(), lp.row_upper_.data(),
847 lp.a_matrix_, num_row, nullptr, lower, upper, num_nz,
848 start, index, value);
849 } else {
850 getSubVectors(index_collection, lp.num_row_, nullptr, lp.row_lower_.data(),
851 lp.row_upper_.data(), lp.a_matrix_, num_row, nullptr, lower,
852 upper, num_nz, start, index, value);
853 }
854}
855
856void Highs::getCoefficientInterface(const HighsInt ext_row,
857 const HighsInt ext_col,

Callers

nothing calls this directly

Calls 4

getSubVectorsTransposeFunction · 0.85
getSubVectorsFunction · 0.85
isColwiseMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected