clean contrib notebook
This commit is contained in:
@@ -96,7 +96,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -116,7 +116,6 @@
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"from collections import defaultdict\n",
|
||||
"\n",
|
||||
|
||||
@@ -133,7 +133,6 @@
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -119,7 +119,6 @@
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
|
||||
@@ -117,7 +117,6 @@
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"import re\n",
|
||||
"\n",
|
||||
|
||||
@@ -99,7 +99,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -108,7 +108,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -115,7 +115,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -102,7 +102,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -110,7 +110,6 @@
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -106,7 +106,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -120,7 +120,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -109,7 +109,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from collections import *\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -108,7 +108,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"#\n",
|
||||
|
||||
@@ -128,7 +128,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -124,7 +124,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -106,7 +106,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -125,7 +125,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -111,7 +111,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -127,7 +127,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -110,7 +110,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.sat.python import cp_model\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -114,7 +114,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -103,7 +103,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -120,7 +120,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -79,7 +79,6 @@
|
||||
"# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
|
||||
"# See the License for the specific language governing permissions and\n",
|
||||
"# limitations under the License.\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -131,7 +131,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -132,7 +132,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -95,7 +95,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -95,7 +95,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -119,7 +119,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -104,7 +104,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -113,7 +113,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -104,7 +104,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -108,7 +108,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -113,7 +113,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -123,7 +123,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -124,7 +124,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -136,7 +136,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -115,7 +115,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_cp_solver/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -93,7 +93,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -81,9 +81,6 @@
|
||||
"# limitations under the License.\n",
|
||||
"\"\"\"Solve the magic sequence problem with the CP-SAT solver.\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import absolute_import\n",
|
||||
"from __future__ import division\n",
|
||||
"from __future__ import print_function\n",
|
||||
"\n",
|
||||
"from ortools.sat.python import cp_model\n",
|
||||
"\n",
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -96,7 +96,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -110,7 +110,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -101,7 +101,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -115,7 +115,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -96,7 +96,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -96,7 +96,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -131,7 +131,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -115,7 +115,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -108,7 +108,6 @@
|
||||
" http://geodisi.u-strasbg.fr/~daurat/papiers/tomoqconv.pdf\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -134,7 +134,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -134,7 +134,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -134,7 +134,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -135,7 +135,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -93,7 +93,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -95,7 +95,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"from collections import defaultdict\n",
|
||||
"\n",
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -124,7 +124,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -100,7 +100,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -102,7 +102,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -129,7 +129,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -114,7 +114,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
|
||||
@@ -108,7 +108,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.linear_solver import pywraplp\n",
|
||||
"\n",
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from __future__ import division\n",
|
||||
"\n",
|
||||
"from ortools.sat.python import cp_model\n",
|
||||
"\n",
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -121,7 +121,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -106,7 +106,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -106,7 +106,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -106,7 +106,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -113,7 +113,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"import re\n",
|
||||
"\n",
|
||||
|
||||
@@ -113,7 +113,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -73,9 +73,6 @@
|
||||
"@author: CSLiu2\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from __future__ import absolute_import\n",
|
||||
"from __future__ import division\n",
|
||||
"\n",
|
||||
"import argparse\n",
|
||||
"import collections\n",
|
||||
|
||||
@@ -128,7 +128,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -129,7 +129,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -110,7 +110,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"import sys\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -106,7 +106,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -124,7 +124,6 @@
|
||||
" Also see my other Google CP Solver models:\n",
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -99,7 +99,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -101,7 +101,6 @@
|
||||
" http://www.hakank.org/google_or_tools/\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"from __future__ import print_function\n",
|
||||
"from ortools.constraint_solver import pywrapcp\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user