| 1851 | } |
| 1852 | |
| 1853 | HighsInt 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 | |
| 1862 | void getLpCosts(const HighsLp& lp, const HighsInt from_col, |
| 1863 | const HighsInt to_col, double* XcolCost) { |
no test coverage detected