polish linear solver samples

This commit is contained in:
Laurent Perron
2020-06-25 11:14:37 +02:00
parent 5c7e66d998
commit eda229c521
10 changed files with 17 additions and 18 deletions

View File

@@ -22,7 +22,7 @@ def IntegerProgrammingExample():
"""Integer programming sample."""
# [START solver]
# Create the mip solver with the CBC backend.
solver = pywraplp.Solver.CreateSolver('IntegerProgrammingExample', 'cbc')
solver = pywraplp.Solver.CreateSolver('integer_programming_example', 'cbc')
# [END solver]