remove name from MPSolver.CreateSolver API; simplify underlying code
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user