dotnet: Fix tests when SCIP and COINOR are disabled (#3261)
This commit is contained in:
@@ -39,6 +39,10 @@ public class BinPackingMip
|
||||
// [START solver]
|
||||
// Create the linear solver with the SCIP backend.
|
||||
Solver solver = Solver.CreateSolver("SCIP");
|
||||
if (solver is null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
// [END solver]
|
||||
|
||||
// [START program_part2]
|
||||
|
||||
Reference in New Issue
Block a user