update python code, remove __future__ imports, remove six, use absl-py for flags, update examples

This commit is contained in:
Laurent Perron
2020-11-18 10:50:14 +01:00
parent c1b23ffd92
commit 4ececbe448
99 changed files with 246 additions and 340 deletions

View File

@@ -13,7 +13,6 @@
# [START program]
"""From Taha 'Introduction to Operations Research', example 6.4-2."""
# [START import]
from __future__ import print_function
from ortools.graph import pywrapgraph
# [END import]

View File

@@ -13,7 +13,6 @@
# [START program]
"""From Bradley, H. and M., 'Applied Mathematical Programming', figure 8.1."""
# [START import]
from __future__ import print_function
from ortools.graph import pywrapgraph
# [END import]