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

@@ -12,8 +12,6 @@
# limitations under the License.
"""Cluster 40 cities in 4 equal groups to minimize sum of crossed distances."""
from __future__ import print_function
from __future__ import division
from ortools.sat.python import cp_model