Commit 5e94069c by Hebry Yanisa Manihuruk

ils--

parents f0c3b2fa 4c1eac98
...@@ -423,6 +423,7 @@ ...@@ -423,6 +423,7 @@
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 8,
"metadata": {}, "metadata": {},
<<<<<<< HEAD
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
...@@ -727,6 +728,9 @@ ...@@ -727,6 +728,9 @@
] ]
} }
], ],
=======
"outputs": [],
>>>>>>> 4c1eac98fd7d2fd5cf82d0f0ae9468c55d26e2bc
"source": [ "source": [
"printt.result()" "printt.result()"
] ]
...@@ -784,6 +788,7 @@ ...@@ -784,6 +788,7 @@
" if(tes):\n", " if(tes):\n",
" final_solution.append(x1);\n", " final_solution.append(x1);\n",
" return final_solution\n", " return final_solution\n",
<<<<<<< HEAD
"\n", "\n",
"# Class printt \n", "# Class printt \n",
"class printils:\n", "class printils:\n",
...@@ -794,12 +799,15 @@ ...@@ -794,12 +799,15 @@
" print(len(result_), \"\\n\")\n", " print(len(result_), \"\\n\")\n",
" for i in range(len(result_)):\n", " for i in range(len(result_)):\n",
" print(\"Itinerary \", i+1, \" = \", result_[i], \"\\n\")\n", " print(\"Itinerary \", i+1, \" = \", result_[i], \"\\n\")\n",
=======
>>>>>>> 4c1eac98fd7d2fd5cf82d0f0ae9468c55d26e2bc
" " " "
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 10,
<<<<<<< HEAD
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1107,6 +1115,37 @@ ...@@ -1107,6 +1115,37 @@
], ],
"source": [ "source": [
"printils.resultils()" "printils.resultils()"
=======
"metadata": {},
"outputs": [],
"source": [
"#data = df[\"Tempat Wisata\"]\n",
"#xx = initial.solution(data)\n",
"#print(xx[0][0][0][3])"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"#xx.sort(reverse = False)\n",
"#it = 1\n",
"#for i in xx:\n",
"# print(it , \" \", i)\n",
"# it += 1"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"data = df[\"Tempat Wisata\"]\n",
"iteratedlocalsearch.calculate(data)"
>>>>>>> 4c1eac98fd7d2fd5cf82d0f0ae9468c55d26e2bc
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment