minor polish of examples

This commit is contained in:
Laurent Perron
2019-05-28 15:28:01 +02:00
parent c65d042e74
commit fe22bf057a
9 changed files with 168 additions and 7 deletions

View File

@@ -29,9 +29,8 @@ public class SimpleLpProgram {
public static void main(String[] args) throws Exception {
// [START solver]
// Create the linear solver with the GLOP backend.
MPSolver solver = new MPSolver(
"SimpleLpProgram",
MPSolver.OptimizationProblemType.GLOP_LINEAR_PROGRAMMING);
MPSolver solver =
new MPSolver("SimpleLpProgram", MPSolver.OptimizationProblemType.GLOP_LINEAR_PROGRAMMING);
// [END solver]
// [START variables]