dotnet: Fix tests when SCIP and COINOR are disabled (#3261)

This commit is contained in:
Corentin Le Molgat
2022-06-03 18:03:31 +02:00
parent 17eeab948a
commit 08ab9c39ec
16 changed files with 92 additions and 4 deletions

View File

@@ -23,6 +23,10 @@ public class BasicExample
// [START solver]
// Create the linear solver with the GLOP backend.
Solver solver = Solver.CreateSolver("GLOP");
if (solver is null)
{
return;
}
// [END solver]
// [START variables]