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

Function getNumInt

highs/lp_data/HighsLpUtils.cpp:1853–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1851}
1852
1853HighsInt getNumInt(const HighsLp& lp) {
1854 HighsInt num_int = 0;
1855 if (lp.integrality_.size()) {
1856 for (HighsInt iCol = 0; iCol < lp.num_col_; iCol++)
1857 if (lp.integrality_[iCol] == HighsVarType::kInteger) num_int++;
1858 }
1859 return num_int;
1860}
1861
1862void getLpCosts(const HighsLp& lp, const HighsInt from_col,
1863 const HighsInt to_col, double* XcolCost) {

Callers 2

reportLpDimensionsFunction · 0.85
reportLpColVectorsFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected