diff --git a/examples/contrib/3_jugs_mip.py b/examples/contrib/3_jugs_mip.py index 2651131b15..c1a8ee77c7 100644 --- a/examples/contrib/3_jugs_mip.py +++ b/examples/contrib/3_jugs_mip.py @@ -27,7 +27,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/3_jugs_regular.py b/examples/contrib/3_jugs_regular.py index 1d2e04bed0..888ec0e2c0 100644 --- a/examples/contrib/3_jugs_regular.py +++ b/examples/contrib/3_jugs_regular.py @@ -47,7 +47,6 @@ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp from collections import defaultdict diff --git a/examples/contrib/a_round_of_golf.py b/examples/contrib/a_round_of_golf.py index 2ec1fdeeb0..15b45be7af 100644 --- a/examples/contrib/a_round_of_golf.py +++ b/examples/contrib/a_round_of_golf.py @@ -64,7 +64,6 @@ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/all_interval.py b/examples/contrib/all_interval.py index a4e196013d..5990ed2827 100644 --- a/examples/contrib/all_interval.py +++ b/examples/contrib/all_interval.py @@ -50,7 +50,6 @@ """ -from __future__ import print_function import sys diff --git a/examples/contrib/alldifferent_except_0.py b/examples/contrib/alldifferent_except_0.py index b3817e5981..6eebcd1423 100644 --- a/examples/contrib/alldifferent_except_0.py +++ b/examples/contrib/alldifferent_except_0.py @@ -48,7 +48,6 @@ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/alphametic.py b/examples/contrib/alphametic.py index b827f88e9b..c2deec0cbc 100644 --- a/examples/contrib/alphametic.py +++ b/examples/contrib/alphametic.py @@ -43,7 +43,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys import re diff --git a/examples/contrib/assignment.py b/examples/contrib/assignment.py index db994dfa31..7815d9b127 100644 --- a/examples/contrib/assignment.py +++ b/examples/contrib/assignment.py @@ -30,7 +30,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/assignment6_mip.py b/examples/contrib/assignment6_mip.py index 76bb2e88b4..907160222f 100644 --- a/examples/contrib/assignment6_mip.py +++ b/examples/contrib/assignment6_mip.py @@ -39,7 +39,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/blending.py b/examples/contrib/blending.py index 1bd69fa22d..801156d65b 100644 --- a/examples/contrib/blending.py +++ b/examples/contrib/blending.py @@ -21,7 +21,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/broken_weights.py b/examples/contrib/broken_weights.py index 05bf69bce9..961750b6ad 100644 --- a/examples/contrib/broken_weights.py +++ b/examples/contrib/broken_weights.py @@ -46,7 +46,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/bus_schedule.py b/examples/contrib/bus_schedule.py index 42c4102fce..d4be72f6a7 100644 --- a/examples/contrib/bus_schedule.py +++ b/examples/contrib/bus_schedule.py @@ -33,7 +33,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/car.py b/examples/contrib/car.py index 456b9399a0..2a729854e5 100644 --- a/examples/contrib/car.py +++ b/examples/contrib/car.py @@ -28,7 +28,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/circuit.py b/examples/contrib/circuit.py index 6b66df2803..d1680b770e 100644 --- a/examples/contrib/circuit.py +++ b/examples/contrib/circuit.py @@ -41,7 +41,6 @@ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/coins3.py b/examples/contrib/coins3.py index ab96b5f193..70957d1ca2 100644 --- a/examples/contrib/coins3.py +++ b/examples/contrib/coins3.py @@ -37,7 +37,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/coins_grid.py b/examples/contrib/coins_grid.py index 52a8f45302..115ac6f80b 100644 --- a/examples/contrib/coins_grid.py +++ b/examples/contrib/coins_grid.py @@ -51,7 +51,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/coins_grid_mip.py b/examples/contrib/coins_grid_mip.py index 3ac867e9c8..dffea82de2 100644 --- a/examples/contrib/coins_grid_mip.py +++ b/examples/contrib/coins_grid_mip.py @@ -40,7 +40,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.linear_solver import pywraplp diff --git a/examples/contrib/coloring_ip.py b/examples/contrib/coloring_ip.py index 5623352353..0c21d3013a 100644 --- a/examples/contrib/coloring_ip.py +++ b/examples/contrib/coloring_ip.py @@ -36,7 +36,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/combinatorial_auction2.py b/examples/contrib/combinatorial_auction2.py index 95ba31745d..7a9a1a88a2 100644 --- a/examples/contrib/combinatorial_auction2.py +++ b/examples/contrib/combinatorial_auction2.py @@ -28,7 +28,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from collections import * from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/contiguity_regular.py b/examples/contrib/contiguity_regular.py index b99bec395a..91700f2038 100644 --- a/examples/contrib/contiguity_regular.py +++ b/examples/contrib/contiguity_regular.py @@ -39,7 +39,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp # diff --git a/examples/contrib/costas_array.py b/examples/contrib/costas_array.py index edb5797b0a..a83970571c 100644 --- a/examples/contrib/costas_array.py +++ b/examples/contrib/costas_array.py @@ -59,7 +59,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/covering_opl.py b/examples/contrib/covering_opl.py index 28ad31ce5d..bcdf574c0f 100644 --- a/examples/contrib/covering_opl.py +++ b/examples/contrib/covering_opl.py @@ -55,7 +55,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/crew.py b/examples/contrib/crew.py index b3acc71f11..7382ce3688 100644 --- a/examples/contrib/crew.py +++ b/examples/contrib/crew.py @@ -37,7 +37,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/crossword2.py b/examples/contrib/crossword2.py index 34f72dce96..a86e2a761b 100644 --- a/examples/contrib/crossword2.py +++ b/examples/contrib/crossword2.py @@ -56,7 +56,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/crypta.py b/examples/contrib/crypta.py index 498015966f..f8414840f0 100644 --- a/examples/contrib/crypta.py +++ b/examples/contrib/crypta.py @@ -43,7 +43,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/crypto.py b/examples/contrib/crypto.py index d1ec075891..2ee765148f 100644 --- a/examples/contrib/crypto.py +++ b/examples/contrib/crypto.py @@ -42,7 +42,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/curious_set_of_integers.py b/examples/contrib/curious_set_of_integers.py index 2c09cec33a..f4cc2b23b4 100644 --- a/examples/contrib/curious_set_of_integers.py +++ b/examples/contrib/curious_set_of_integers.py @@ -58,7 +58,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/debruijn_binary.py b/examples/contrib/debruijn_binary.py index 4ea26f9fa8..7fdb00d190 100644 --- a/examples/contrib/debruijn_binary.py +++ b/examples/contrib/debruijn_binary.py @@ -41,7 +41,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/diet1.py b/examples/contrib/diet1.py index 6966d01fd7..9b8b0357f4 100644 --- a/examples/contrib/diet1.py +++ b/examples/contrib/diet1.py @@ -43,7 +43,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.sat.python import cp_model diff --git a/examples/contrib/diet1_b.py b/examples/contrib/diet1_b.py index f89fa5b6e9..76db293106 100644 --- a/examples/contrib/diet1_b.py +++ b/examples/contrib/diet1_b.py @@ -45,7 +45,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/diet1_mip.py b/examples/contrib/diet1_mip.py index 822d646d70..86d9fabc4d 100644 --- a/examples/contrib/diet1_mip.py +++ b/examples/contrib/diet1_mip.py @@ -34,7 +34,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/discrete_tomography.py b/examples/contrib/discrete_tomography.py index 83a9b7041f..e22a520dfd 100644 --- a/examples/contrib/discrete_tomography.py +++ b/examples/contrib/discrete_tomography.py @@ -53,7 +53,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/divisible_by_9_through_1.py b/examples/contrib/divisible_by_9_through_1.py index b0ef46d705..7edff81a00 100644 --- a/examples/contrib/divisible_by_9_through_1.py +++ b/examples/contrib/divisible_by_9_through_1.py @@ -51,7 +51,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/dudeney.py b/examples/contrib/dudeney.py index ef9abfc475..2e4a0e0657 100644 --- a/examples/contrib/dudeney.py +++ b/examples/contrib/dudeney.py @@ -10,7 +10,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/einav_puzzle.py b/examples/contrib/einav_puzzle.py index 6d5ed2c0a7..b66cc1c8e8 100644 --- a/examples/contrib/einav_puzzle.py +++ b/examples/contrib/einav_puzzle.py @@ -62,7 +62,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/einav_puzzle2.py b/examples/contrib/einav_puzzle2.py index 0d737616af..cb57073a59 100644 --- a/examples/contrib/einav_puzzle2.py +++ b/examples/contrib/einav_puzzle2.py @@ -63,7 +63,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/eq10.py b/examples/contrib/eq10.py index 770d490270..7cc807de66 100644 --- a/examples/contrib/eq10.py +++ b/examples/contrib/eq10.py @@ -26,7 +26,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/eq20.py b/examples/contrib/eq20.py index 8c4ad70b06..fb5dd12478 100644 --- a/examples/contrib/eq20.py +++ b/examples/contrib/eq20.py @@ -26,7 +26,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/fill_a_pix.py b/examples/contrib/fill_a_pix.py index 5fbde3e4c5..4210701d2d 100644 --- a/examples/contrib/fill_a_pix.py +++ b/examples/contrib/fill_a_pix.py @@ -50,7 +50,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/furniture_moving.py b/examples/contrib/furniture_moving.py index bdccc47c14..b8186ff6ab 100644 --- a/examples/contrib/furniture_moving.py +++ b/examples/contrib/furniture_moving.py @@ -35,7 +35,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/futoshiki.py b/examples/contrib/futoshiki.py index c82c68b7ae..945cb6d572 100644 --- a/examples/contrib/futoshiki.py +++ b/examples/contrib/futoshiki.py @@ -44,7 +44,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/game_theory_taha.py b/examples/contrib/game_theory_taha.py index 5a532c5393..1dbf3962bf 100644 --- a/examples/contrib/game_theory_taha.py +++ b/examples/contrib/game_theory_taha.py @@ -23,7 +23,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/grocery.py b/examples/contrib/grocery.py index 98c51643a1..89ebe7faa0 100644 --- a/examples/contrib/grocery.py +++ b/examples/contrib/grocery.py @@ -35,7 +35,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/hidato.py b/examples/contrib/hidato.py index 23d5f3a0d2..faeeb56c54 100644 --- a/examples/contrib/hidato.py +++ b/examples/contrib/hidato.py @@ -39,7 +39,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/just_forgotten.py b/examples/contrib/just_forgotten.py index 9699f34e71..fc87c7508f 100644 --- a/examples/contrib/just_forgotten.py +++ b/examples/contrib/just_forgotten.py @@ -44,7 +44,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/kakuro.py b/examples/contrib/kakuro.py index e87cc2bfa8..8ab80e53d9 100644 --- a/examples/contrib/kakuro.py +++ b/examples/contrib/kakuro.py @@ -54,7 +54,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/kenken2.py b/examples/contrib/kenken2.py index 2836e8e5eb..454f20eb31 100644 --- a/examples/contrib/kenken2.py +++ b/examples/contrib/kenken2.py @@ -55,7 +55,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/killer_sudoku.py b/examples/contrib/killer_sudoku.py index d8ce8c02f5..71e713e4a3 100644 --- a/examples/contrib/killer_sudoku.py +++ b/examples/contrib/killer_sudoku.py @@ -67,7 +67,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/knapsack_cp.py b/examples/contrib/knapsack_cp.py index 31761fd68d..b6208c6b0d 100644 --- a/examples/contrib/knapsack_cp.py +++ b/examples/contrib/knapsack_cp.py @@ -21,7 +21,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/knapsack_mip.py b/examples/contrib/knapsack_mip.py index 2c5317beae..586bc70d45 100644 --- a/examples/contrib/knapsack_mip.py +++ b/examples/contrib/knapsack_mip.py @@ -21,7 +21,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/labeled_dice.py b/examples/contrib/labeled_dice.py index 91f43fb048..45b7157b88 100644 --- a/examples/contrib/labeled_dice.py +++ b/examples/contrib/labeled_dice.py @@ -46,7 +46,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/langford.py b/examples/contrib/langford.py index 3547e23a3b..aeb1495716 100644 --- a/examples/contrib/langford.py +++ b/examples/contrib/langford.py @@ -43,7 +43,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/least_diff.py b/examples/contrib/least_diff.py index aa7231b719..3451090e15 100644 --- a/examples/contrib/least_diff.py +++ b/examples/contrib/least_diff.py @@ -36,7 +36,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_cp_solver/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/least_square.py b/examples/contrib/least_square.py index a0d594d88f..00df4ac7d6 100644 --- a/examples/contrib/least_square.py +++ b/examples/contrib/least_square.py @@ -24,7 +24,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/lectures.py b/examples/contrib/lectures.py index 8a74bf2d6c..ee53ffb80b 100644 --- a/examples/contrib/lectures.py +++ b/examples/contrib/lectures.py @@ -43,7 +43,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/magic_sequence_sat.py b/examples/contrib/magic_sequence_sat.py index 9c58fb5630..8b8bef3626 100644 --- a/examples/contrib/magic_sequence_sat.py +++ b/examples/contrib/magic_sequence_sat.py @@ -12,9 +12,6 @@ # limitations under the License. """Solve the magic sequence problem with the CP-SAT solver.""" -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function from ortools.sat.python import cp_model diff --git a/examples/contrib/magic_square.py b/examples/contrib/magic_square.py index 6fffc13900..e658daa81f 100644 --- a/examples/contrib/magic_square.py +++ b/examples/contrib/magic_square.py @@ -21,7 +21,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/magic_square_and_cards.py b/examples/contrib/magic_square_and_cards.py index 433353bcd3..045d68b54c 100644 --- a/examples/contrib/magic_square_and_cards.py +++ b/examples/contrib/magic_square_and_cards.py @@ -27,7 +27,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/magic_square_mip.py b/examples/contrib/magic_square_mip.py index 2fbaae02ee..df73e2f0e4 100644 --- a/examples/contrib/magic_square_mip.py +++ b/examples/contrib/magic_square_mip.py @@ -41,7 +41,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/map.py b/examples/contrib/map.py index 649a6da254..8a88ac133a 100644 --- a/examples/contrib/map.py +++ b/examples/contrib/map.py @@ -32,7 +32,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/marathon2.py b/examples/contrib/marathon2.py index 96b6303ceb..15507eda65 100644 --- a/examples/contrib/marathon2.py +++ b/examples/contrib/marathon2.py @@ -46,7 +46,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/max_flow_taha.py b/examples/contrib/max_flow_taha.py index ee30681f85..6eb0e97958 100644 --- a/examples/contrib/max_flow_taha.py +++ b/examples/contrib/max_flow_taha.py @@ -27,7 +27,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/max_flow_winston1.py b/examples/contrib/max_flow_winston1.py index 116e49bcd2..895ca5c3d1 100644 --- a/examples/contrib/max_flow_winston1.py +++ b/examples/contrib/max_flow_winston1.py @@ -27,7 +27,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/minesweeper.py b/examples/contrib/minesweeper.py index 65a3ca3cf5..50690a72dc 100644 --- a/examples/contrib/minesweeper.py +++ b/examples/contrib/minesweeper.py @@ -62,7 +62,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/mr_smith.py b/examples/contrib/mr_smith.py index cf0bd14c25..db86addf31 100644 --- a/examples/contrib/mr_smith.py +++ b/examples/contrib/mr_smith.py @@ -46,7 +46,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nonogram_default_search.py b/examples/contrib/nonogram_default_search.py index 744cdb2ced..2219b2787b 100644 --- a/examples/contrib/nonogram_default_search.py +++ b/examples/contrib/nonogram_default_search.py @@ -39,7 +39,6 @@ http://geodisi.u-strasbg.fr/~daurat/papiers/tomoqconv.pdf """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nonogram_regular.py b/examples/contrib/nonogram_regular.py index 67f6a8d827..9de08fdbeb 100644 --- a/examples/contrib/nonogram_regular.py +++ b/examples/contrib/nonogram_regular.py @@ -65,7 +65,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nonogram_table.py b/examples/contrib/nonogram_table.py index 403abbcd7c..d539a35aaf 100644 --- a/examples/contrib/nonogram_table.py +++ b/examples/contrib/nonogram_table.py @@ -65,7 +65,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nonogram_table2.py b/examples/contrib/nonogram_table2.py index 64e69ed441..6e643c2dfc 100644 --- a/examples/contrib/nonogram_table2.py +++ b/examples/contrib/nonogram_table2.py @@ -65,7 +65,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nontransitive_dice.py b/examples/contrib/nontransitive_dice.py index 2ac7080438..3604842ac6 100644 --- a/examples/contrib/nontransitive_dice.py +++ b/examples/contrib/nontransitive_dice.py @@ -66,7 +66,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nqueens.py b/examples/contrib/nqueens.py index de89cea0e1..1a8e7cd79f 100644 --- a/examples/contrib/nqueens.py +++ b/examples/contrib/nqueens.py @@ -21,7 +21,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nqueens2.py b/examples/contrib/nqueens2.py index 96a7393046..aa6f6eff45 100644 --- a/examples/contrib/nqueens2.py +++ b/examples/contrib/nqueens2.py @@ -24,7 +24,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nqueens3.py b/examples/contrib/nqueens3.py index 9dd9f65ac0..d14db010d5 100644 --- a/examples/contrib/nqueens3.py +++ b/examples/contrib/nqueens3.py @@ -26,7 +26,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/nurse_rostering.py b/examples/contrib/nurse_rostering.py index 224d50557b..48b54b8ed6 100644 --- a/examples/contrib/nurse_rostering.py +++ b/examples/contrib/nurse_rostering.py @@ -28,7 +28,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp from collections import defaultdict diff --git a/examples/contrib/nurses_cp.py b/examples/contrib/nurses_cp.py index 7ae782615e..c7d7ed1936 100644 --- a/examples/contrib/nurses_cp.py +++ b/examples/contrib/nurses_cp.py @@ -1,4 +1,3 @@ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/olympic.py b/examples/contrib/olympic.py index f5de69b007..9a6cc978af 100644 --- a/examples/contrib/olympic.py +++ b/examples/contrib/olympic.py @@ -55,7 +55,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/organize_day.py b/examples/contrib/organize_day.py index 8d2d323d0e..92c3776e88 100644 --- a/examples/contrib/organize_day.py +++ b/examples/contrib/organize_day.py @@ -31,7 +31,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/p_median.py b/examples/contrib/p_median.py index ce33a34c75..433e24230a 100644 --- a/examples/contrib/p_median.py +++ b/examples/contrib/p_median.py @@ -33,7 +33,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/pandigital_numbers.py b/examples/contrib/pandigital_numbers.py index 7d8b4acd83..5fb81f1a53 100644 --- a/examples/contrib/pandigital_numbers.py +++ b/examples/contrib/pandigital_numbers.py @@ -60,7 +60,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/photo_problem.py b/examples/contrib/photo_problem.py index 3d4b4debc9..6a513d8480 100644 --- a/examples/contrib/photo_problem.py +++ b/examples/contrib/photo_problem.py @@ -45,7 +45,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/place_number_puzzle.py b/examples/contrib/place_number_puzzle.py index a329a0b915..40162e59ce 100644 --- a/examples/contrib/place_number_puzzle.py +++ b/examples/contrib/place_number_puzzle.py @@ -39,7 +39,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/post_office_problem2.py b/examples/contrib/post_office_problem2.py index 8fd2acf11c..bfe43a10c5 100644 --- a/examples/contrib/post_office_problem2.py +++ b/examples/contrib/post_office_problem2.py @@ -53,7 +53,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/production.py b/examples/contrib/production.py index 69a081e676..68c537c88d 100644 --- a/examples/contrib/production.py +++ b/examples/contrib/production.py @@ -21,7 +21,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/project_scheduling_sat.py b/examples/contrib/project_scheduling_sat.py index 23f6ab3dbd..a88e657a85 100644 --- a/examples/contrib/project_scheduling_sat.py +++ b/examples/contrib/project_scheduling_sat.py @@ -1,4 +1,3 @@ -from __future__ import division from ortools.sat.python import cp_model diff --git a/examples/contrib/pyls_api.py b/examples/contrib/pyls_api.py index f808ae9cb0..de94046bf0 100644 --- a/examples/contrib/pyls_api.py +++ b/examples/contrib/pyls_api.py @@ -1,4 +1,3 @@ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/quasigroup_completion.py b/examples/contrib/quasigroup_completion.py index 9410aba8cc..b675eac9bc 100644 --- a/examples/contrib/quasigroup_completion.py +++ b/examples/contrib/quasigroup_completion.py @@ -52,7 +52,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/regular.py b/examples/contrib/regular.py index ea74802729..9c7a094c80 100644 --- a/examples/contrib/regular.py +++ b/examples/contrib/regular.py @@ -37,7 +37,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/regular_table.py b/examples/contrib/regular_table.py index e06ed72d2f..fcfe6f4201 100644 --- a/examples/contrib/regular_table.py +++ b/examples/contrib/regular_table.py @@ -37,7 +37,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/regular_table2.py b/examples/contrib/regular_table2.py index 95b4056c8f..95f5154551 100644 --- a/examples/contrib/regular_table2.py +++ b/examples/contrib/regular_table2.py @@ -37,7 +37,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/rogo2.py b/examples/contrib/rogo2.py index 8874b16ac1..914c90384d 100644 --- a/examples/contrib/rogo2.py +++ b/examples/contrib/rogo2.py @@ -44,7 +44,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys import re diff --git a/examples/contrib/safe_cracking.py b/examples/contrib/safe_cracking.py index 7330eda962..bf99494469 100644 --- a/examples/contrib/safe_cracking.py +++ b/examples/contrib/safe_cracking.py @@ -44,7 +44,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/scheduling_speakers.py b/examples/contrib/scheduling_speakers.py index 4026e72dca..41544410b1 100644 --- a/examples/contrib/scheduling_speakers.py +++ b/examples/contrib/scheduling_speakers.py @@ -28,7 +28,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/scheduling_with_transitions_sat.py b/examples/contrib/scheduling_with_transitions_sat.py index 490b9eaa5f..23d7187df3 100644 --- a/examples/contrib/scheduling_with_transitions_sat.py +++ b/examples/contrib/scheduling_with_transitions_sat.py @@ -4,9 +4,6 @@ @author: CSLiu2 """ -from __future__ import print_function -from __future__ import absolute_import -from __future__ import division import argparse import collections diff --git a/examples/contrib/secret_santa.py b/examples/contrib/secret_santa.py index b9a4acd7a5..b5bb4afe9f 100644 --- a/examples/contrib/secret_santa.py +++ b/examples/contrib/secret_santa.py @@ -59,7 +59,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/secret_santa2.py b/examples/contrib/secret_santa2.py index df1a52233e..4eae4493d0 100644 --- a/examples/contrib/secret_santa2.py +++ b/examples/contrib/secret_santa2.py @@ -60,7 +60,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/send_more_money_any_base.py b/examples/contrib/send_more_money_any_base.py index 872efcad40..795363355d 100644 --- a/examples/contrib/send_more_money_any_base.py +++ b/examples/contrib/send_more_money_any_base.py @@ -41,7 +41,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/send_most_money.py b/examples/contrib/send_most_money.py index 18d295a0f5..ab35ad62ac 100644 --- a/examples/contrib/send_most_money.py +++ b/examples/contrib/send_most_money.py @@ -37,7 +37,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/seseman.py b/examples/contrib/seseman.py index 3099fb0f91..f60a185c94 100644 --- a/examples/contrib/seseman.py +++ b/examples/contrib/seseman.py @@ -53,7 +53,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/seseman_b.py b/examples/contrib/seseman_b.py index 49622c0902..c96505d615 100644 --- a/examples/contrib/seseman_b.py +++ b/examples/contrib/seseman_b.py @@ -55,7 +55,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/set_covering.py b/examples/contrib/set_covering.py index 2dc807228c..875ca4817a 100644 --- a/examples/contrib/set_covering.py +++ b/examples/contrib/set_covering.py @@ -30,7 +30,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/set_covering2.py b/examples/contrib/set_covering2.py index 68ac218d46..6ae299b1bd 100644 --- a/examples/contrib/set_covering2.py +++ b/examples/contrib/set_covering2.py @@ -32,7 +32,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/set_covering3.py b/examples/contrib/set_covering3.py index 4bca057db3..7fa1e01b29 100644 --- a/examples/contrib/set_covering3.py +++ b/examples/contrib/set_covering3.py @@ -45,7 +45,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/set_covering4.py b/examples/contrib/set_covering4.py index 9b497028b4..ba217cc42d 100644 --- a/examples/contrib/set_covering4.py +++ b/examples/contrib/set_covering4.py @@ -65,7 +65,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/set_covering_deployment.py b/examples/contrib/set_covering_deployment.py index 02970279ca..5ee5796dc7 100644 --- a/examples/contrib/set_covering_deployment.py +++ b/examples/contrib/set_covering_deployment.py @@ -38,7 +38,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/set_covering_skiena.py b/examples/contrib/set_covering_skiena.py index 526570de4f..21f02b6660 100644 --- a/examples/contrib/set_covering_skiena.py +++ b/examples/contrib/set_covering_skiena.py @@ -38,7 +38,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/set_partition.py b/examples/contrib/set_partition.py index 2d291816e0..9227af0944 100644 --- a/examples/contrib/set_partition.py +++ b/examples/contrib/set_partition.py @@ -44,7 +44,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/sicherman_dice.py b/examples/contrib/sicherman_dice.py index cdef954b13..342e8e5b58 100644 --- a/examples/contrib/sicherman_dice.py +++ b/examples/contrib/sicherman_dice.py @@ -58,7 +58,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/ski_assignment.py b/examples/contrib/ski_assignment.py index 4240f34170..063c00df65 100644 --- a/examples/contrib/ski_assignment.py +++ b/examples/contrib/ski_assignment.py @@ -47,7 +47,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/stable_marriage.py b/examples/contrib/stable_marriage.py index 4d45cb921e..1831c470ae 100644 --- a/examples/contrib/stable_marriage.py +++ b/examples/contrib/stable_marriage.py @@ -37,7 +37,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/steel.py b/examples/contrib/steel.py index ebe00dccce..fd6b7be6f9 100644 --- a/examples/contrib/steel.py +++ b/examples/contrib/steel.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function import argparse from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/steel_lns.py b/examples/contrib/steel_lns.py index 20d30c7f46..93d9a8e241 100644 --- a/examples/contrib/steel_lns.py +++ b/examples/contrib/steel_lns.py @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function import argparse from ortools.constraint_solver import pywrapcp import random diff --git a/examples/contrib/stigler.py b/examples/contrib/stigler.py index a58c6e2e0f..094639e666 100644 --- a/examples/contrib/stigler.py +++ b/examples/contrib/stigler.py @@ -117,7 +117,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.linear_solver import pywraplp diff --git a/examples/contrib/strimko2.py b/examples/contrib/strimko2.py index fe818b9dde..883ef0f97a 100644 --- a/examples/contrib/strimko2.py +++ b/examples/contrib/strimko2.py @@ -42,7 +42,6 @@ This model was created by Hakan Kjellerstrand (hakank@gmail.com) See my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/subset_sum.py b/examples/contrib/subset_sum.py index ff2119cafc..cdf308834b 100644 --- a/examples/contrib/subset_sum.py +++ b/examples/contrib/subset_sum.py @@ -38,7 +38,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/survo_puzzle.py b/examples/contrib/survo_puzzle.py index e8f2e4b18a..8a31e0fa35 100644 --- a/examples/contrib/survo_puzzle.py +++ b/examples/contrib/survo_puzzle.py @@ -59,7 +59,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/toNum.py b/examples/contrib/toNum.py index 68b631bc0c..a985041ac9 100644 --- a/examples/contrib/toNum.py +++ b/examples/contrib/toNum.py @@ -22,7 +22,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp # diff --git a/examples/contrib/traffic_lights.py b/examples/contrib/traffic_lights.py index 8333c0cb53..ed8bef7284 100644 --- a/examples/contrib/traffic_lights.py +++ b/examples/contrib/traffic_lights.py @@ -69,7 +69,6 @@ http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/vendor_scheduling.py b/examples/contrib/vendor_scheduling.py index 276b2abfcd..e681d8b70b 100644 --- a/examples/contrib/vendor_scheduling.py +++ b/examples/contrib/vendor_scheduling.py @@ -1,4 +1,3 @@ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/volsay.py b/examples/contrib/volsay.py index 89eac28f0f..b3d9fdf8bd 100644 --- a/examples/contrib/volsay.py +++ b/examples/contrib/volsay.py @@ -21,7 +21,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.linear_solver import pywraplp diff --git a/examples/contrib/volsay2.py b/examples/contrib/volsay2.py index 2fe5ed92b5..ebcab60262 100644 --- a/examples/contrib/volsay2.py +++ b/examples/contrib/volsay2.py @@ -22,7 +22,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.linear_solver import pywraplp diff --git a/examples/contrib/volsay3.py b/examples/contrib/volsay3.py index 3742a75c1c..7abeebb6a6 100644 --- a/examples/contrib/volsay3.py +++ b/examples/contrib/volsay3.py @@ -22,7 +22,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from ortools.linear_solver import pywraplp diff --git a/examples/contrib/wedding_optimal_chart.py b/examples/contrib/wedding_optimal_chart.py index 7cca649f95..722f4b7727 100644 --- a/examples/contrib/wedding_optimal_chart.py +++ b/examples/contrib/wedding_optimal_chart.py @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function from ortools.constraint_solver import pywrapcp from ortools.constraint_solver import solver_parameters_pb2 """Finding an optimal wedding seating chart. diff --git a/examples/contrib/who_killed_agatha.py b/examples/contrib/who_killed_agatha.py index 6e8398d0c1..619263f32b 100644 --- a/examples/contrib/who_killed_agatha.py +++ b/examples/contrib/who_killed_agatha.py @@ -59,7 +59,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function from collections import defaultdict from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/word_square.py b/examples/contrib/word_square.py index 3eae4ac593..972ed10198 100644 --- a/examples/contrib/word_square.py +++ b/examples/contrib/word_square.py @@ -37,7 +37,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys import re from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/xkcd.py b/examples/contrib/xkcd.py index 4a5cea7355..8eef7f6f16 100644 --- a/examples/contrib/xkcd.py +++ b/examples/contrib/xkcd.py @@ -36,7 +36,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_cp_solver/ """ -from __future__ import print_function from ortools.constraint_solver import pywrapcp diff --git a/examples/contrib/young_tableaux.py b/examples/contrib/young_tableaux.py index 085ce02211..f47186ced0 100644 --- a/examples/contrib/young_tableaux.py +++ b/examples/contrib/young_tableaux.py @@ -60,7 +60,6 @@ Also see my other Google CP Solver models: http://www.hakank.org/google_or_tools/ """ -from __future__ import print_function import sys from ortools.constraint_solver import pywrapcp