| 873 | } |
| 874 | |
| 875 | HighsInt Highs_changeColsIntegralityByMask(void* highs, const HighsInt* mask, |
| 876 | const HighsInt* integrality) { |
| 877 | const HighsInt num__col = Highs_getNumCol(highs); |
| 878 | vector<HighsVarType> pass_integrality; |
| 879 | if (num__col > 0) { |
| 880 | pass_integrality.resize(num__col); |
| 881 | for (HighsInt iCol = 0; iCol < num__col; iCol++) { |
| 882 | pass_integrality[iCol] = (HighsVarType)integrality[iCol]; |
| 883 | } |
| 884 | } |
| 885 | return (HighsInt)((Highs*)highs) |
| 886 | ->changeColsIntegrality(mask, pass_integrality.data()); |
| 887 | } |
| 888 | |
| 889 | HighsInt Highs_clearIntegrality(void* highs) { |
| 890 | return (HighsInt)((Highs*)highs)->clearIntegrality(); |
nothing calls this directly
no test coverage detected