algorithms: fix windows build when SCIP support is off

This commit is contained in:
Mizux Seiha
2025-12-16 12:25:51 +01:00
parent 784c4fecb4
commit e066455f29

View File

@@ -133,7 +133,9 @@ int64_t SolveKnapsackProblem(
return kInvalidSolution;
}
#else // !defined(USE_SCIP)
#if !defined(_MSC_VER)
#warning SCIP support disable
#endif // !defined(_MSC_VER)
#endif // !defined(USE_SCIP)
const int64_t cpsat_profit = SolveKnapsackProblemUsingSpecificSolver(