remove name from MPSolver.CreateSolver API; simplify underlying code

This commit is contained in:
Laurent Perron
2020-08-18 17:16:10 +02:00
parent c12c9992d5
commit 55cedb4b4b
43 changed files with 136 additions and 173 deletions

View File

@@ -42,8 +42,8 @@ def main():
# [END program_part1]
# [START solver]
# Create the mip solver with the CBC backend.
solver = pywraplp.Solver.CreateSolver('bin_packing_mip', 'CBC')
# Create the mip solver with the SCIP backend.
solver = pywraplp.Solver.CreateSolver('SCIP')
# [END solver]