java: Fix samples using SCIP
This commit is contained in:
@@ -50,6 +50,10 @@ public class MipVarArray {
|
||||
// [START solver]
|
||||
// Create the linear solver with the SCIP backend.
|
||||
MPSolver solver = MPSolver.createSolver("SCIP");
|
||||
if (solver == null) {
|
||||
System.out.println("Could not create solver SCIP");
|
||||
return;
|
||||
}
|
||||
// [END solver]
|
||||
|
||||
// [START program_part2]
|
||||
|
||||
Reference in New Issue
Block a user