polish on model_builder code

This commit is contained in:
Laurent Perron
2023-11-06 15:20:03 +01:00
parent 3cb674397f
commit fcd64e6b97
11 changed files with 377 additions and 293 deletions

View File

@@ -87,7 +87,9 @@ public class BinPackingMb
// Create the solver with the SCIP backend and check it is supported.
Solver solver = new Solver("SCIP");
if (!solver.SolverIsSupported())
{
return;
}
// [END solver]
// [START solve]

View File

@@ -69,7 +69,9 @@ public class SimpleMipProgramMb
// Create the solver with the CP-SAT backend and checks it is supported.
Solver solver = new Solver("sat");
if (!solver.SolverIsSupported())
{
return;
}
// [END solver]
// [START solve]