{"id":28250,"date":"2024-10-27T15:32:58","date_gmt":"2024-10-27T15:32:58","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28250"},"modified":"2024-11-26T07:05:33","modified_gmt":"2024-11-26T07:05:33","slug":"%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%99%b8%ed%8c%90%ec%9b%90%ec%9d%98-%ec%88%9c%ed%9a%8c-%ea%b2%bd%eb%a1%9c-%ec%a7%9c%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28250\/","title":{"rendered":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30"},"content":{"rendered":"<p><body><\/p>\n<article>\n<header>\n<p><strong>\uc548\ub155\ud558\uc138\uc694!<\/strong> \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc778 &#8220;\uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c&#8221;\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uadf8\ub798\ud504 \uc774\ub860, \uc870\ud569 \ucd5c\uc801\ud654, \uadf8\ub9ac\uace0 \uc804\ubc18\uc801\uc778 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ud544\uc694\ub85c \ud569\ub2c8\ub2e4.<\/p>\n<\/header>\n<section>\n<h2>\ubb38\uc81c \uc815\uc758<\/h2>\n<p>\uc678\ud310\uc6d0 \ubb38\uc81c(Travelling Salesman Problem, TSP)\ub294 n\uac1c\uc758 \ub3c4\uc2dc\uc640 \uac01 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc678\ud310\uc6d0\uc774 \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ud55c \ubc88\uc529 \ubc29\ubb38\ud558\uace0 \ub2e4\uc2dc \ucd9c\ubc1c \ub3c4\uc2dc\ub85c \ub3cc\uc544\uc624\ub294 \ucd5c\uc18c \uacbd\ub85c\uc758 \uae38\uc774\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc785\ub825\uc73c\ub85c\ub294 \ub3c4\uc2dc\uc758 \uc218 n\uacfc \uac01 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac \ud589\ub82c\uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.<\/p>\n<h3>\uc785\ub825 \ud615\uc2dd<\/h3>\n<ul>\n<li>\uccab \ubc88\uc9f8 \uc904: \ub3c4\uc2dc\uc758 \uc218 n (1 \u2264 n \u2264 10)<\/li>\n<li>\uc774\ud6c4 n\uac1c\uc758 \uc904: \uac70\ub9ac \ud589\ub82c, i\ubc88\uc9f8 \uc904\uc5d0\ub294 i\ubc88\uc9f8 \ub3c4\uc2dc\uc640 \uac01 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac\uac00 \uc8fc\uc5b4\uc9d0 (A[i][j]\ub294 \ub3c4\uc2dc i\uc5d0\uc11c j\uae4c\uc9c0\uc758 \uac70\ub9ac)<\/li>\n<\/ul>\n<h3>\ucd9c\ub825 \ud615\uc2dd<\/h3>\n<p>\ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud558\uace0 \ub2e4\uc2dc \uc2dc\uc791 \ub3c4\uc2dc\ub85c \ub3cc\uc544\uc624\ub294 \ucd5c\uc18c \uacbd\ub85c\uc758 \uae38\uc774\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>\ubb38\uc81c \ud480\uc774 \uc811\uadfc\ubc95<\/h2>\n<p>\uc774 \ubb38\uc81c\ub294 NP-Hard \ubb38\uc81c\uc5d0 \uc18d\ud558\uae30 \ub54c\ubb38\uc5d0, \uac00\uc9c0\uce58\uae30\ub97c \ud1b5\ud55c \ub3d9\uc801 \ud504\ub85c\uadf8\ub798\ubc0d \uae30\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc744 \ud1b5\ud574 \ubaa8\ub4e0 \uac00\ub2a5\ud55c \uacbd\ub85c\ub97c \ud0d0\uc0c9\ud558\ub294 \uac83\uc774 \uc544\ub2c8\ub77c, \uacbd\ub85c\ub97c \ub9cc\ub4e4\uba74\uc11c \uac00\uc7a5 \ube44\uc6a9\uc774 \uc801\uc740 \uacbd\ub85c\ub9cc\uc744 \uc120\ud0dd\ud558\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<h3>1\ub2e8\uacc4: \ub370\uc774\ud130 \uad6c\uc870 \uc124\uacc4<\/h3>\n<p>\uc6b0\uc120 \ub3c4\uc2dc\uc758 \uac70\ub9ac \uc815\ubcf4\ub97c \uc800\uc7a5\ud560 \uac70\ub9ac \ud589\ub82c\uc744 2\ucc28\uc6d0 \ubc30\uc5f4\ub85c \uc120\uc5b8\ud569\ub2c8\ub2e4. \ub610\ud55c \uac01\uac01\uc758 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud588\ub294\uc9c0\ub97c \uccb4\ud06c\ud560 \ubc30\uc5f4 \ubc0f \ud604\uc7ac\uae4c\uc9c0\uc758 \ucd1d \uac70\ub9ac \uac12\uc744 \uc800\uc7a5\ud560 \ubcc0\uc218\ub97c \uc120\uc5b8\ud569\ub2c8\ub2e4.<\/p>\n<h3>2\ub2e8\uacc4: \ube44\ud2b8\ub9c8\uc2a4\ud06c\uc640 \uc7ac\uadc0 \ud568\uc218 \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>\uac01 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud588\ub294\uc9c0\ub97c \ube44\ud2b8\ub9c8\uc2a4\ud06c\ub97c \ud1b5\ud574 \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \uc7ac\uadc0 \ud568\uc218\ub97c \ud1b5\ud574 \ub2e4\uc74c \ub3c4\uc2dc\ub85c \uc774\ub3d9\ud560 \ub54c\ub9c8\ub2e4 \ubc29\ubb38\ud55c \ub3c4\uc2dc\ub97c \uccb4\ud06c\ud558\uace0, \ucd5c\uc885\uc801\uc73c\ub85c \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud55c \ud6c4 \ub2e4\uc2dc \uc2dc\uc791 \ub3c4\uc2dc\ub85c \ub3cc\uc544\uc624\ub294 \uacbd\ub85c\uc758 \uac70\ub9ac\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4. \ubc29\ubb38\ud55c \ub3c4\uc2dc\ub294 \ube44\ud2b8\ub9c8\uc2a4\ud06c\ub97c \ud1b5\ud574 \uc27d\uac8c \ud45c\ud604\ud560 \uc218 \uc788\uae30 \ub54c\ubb38\uc5d0 \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3\ub2e8\uacc4: \ucd5c\uc801 \uacbd\ub85c \ucc3e\uae30<\/h3>\n<p>\ubaa8\ub4e0 \uac00\ub2a5\ud55c \uacbd\ub85c\ub97c \ud0d0\uc0c9\ud560 \ud544\uc694 \uc5c6\uc774, \ud604\uc7ac \uc120\ud0dd\ub41c \uacbd\ub85c \uc911\uc5d0\uc11c \ucd5c\uc18c \uac70\ub9ac\ub97c \uacc4\uc0b0\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \uc9c4\ud589\ud569\ub2c8\ub2e4. \ub9cc\uc57d \uc8fc\uc5b4\uc9c4 \uacbd\ub85c\uac00 \ucd5c\uc885\uc801\uc73c\ub85c \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud55c \uacbd\uc6b0, \uc774\uc804 \uac70\ub9ac\uc640 \ube44\uad50\ud558\uc5ec \ucd5c\uc19f\uac12\uc744 \uac31\uc2e0\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>\uc2a4\uc704\ud504\ud2b8 \ucf54\ub4dc \uad6c\ud604<\/h2>\n<p>\uc544\ub798\ub294 \uc2a4\uc704\ud504\ud2b8\ub97c \uc774\uc6a9\ud55c \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c\ub97c \ucc3e\ub294 \ucf54\ub4dc\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>\nlet INF = Int.max\nvar dist: [[Int]] = []\nvar n = 0\nvar dp: [[Int]] = []\nvar visited: Int = 0\nvar ans: Int = INF\n\nfunc tsp(pos: Int, visited: Int) -&gt; Int {\n    if visited == (1 &lt;&lt; n) - 1 {\n        return dist[pos][0] != 0 ? dist[pos][0] : INF\n    }\n    \n    if dp[pos][visited] != -1 {\n        return dp[pos][visited]\n    }\n    \n    var minimum = INF\n    for city in 0..<n &#038;=\"\" (1=\"\" (visited=\"\" +=\"\" -=\"\" <<=\"\" city))=\"\" city,=\"\" dp[pos][visited]=\"minimum\" findminimumroute()=\"\" func=\"\" if=\"\" let=\"\" minimum=\"min(minimum,\" new_dist=\"dist[pos][city]\" new_dist)=\"\" return=\"\" tsp(pos:=\"\" visited=\"\" visited:=\"\" {=\"\" |=\"\" }=\"\"> Int {\n    visited = 1 \/\/ start from city 0\n    dp = Array(repeating: Array(repeating: -1, count: 1 &lt;&lt; n), count: n)\n    let minimumDistance = tsp(pos: 0, visited: visited)\n    return minimumDistance\n}\n\n\/\/ \uac70\ub9ac \ud589\ub82c \uc608\uc2dc\ndist = [\n    [0, 10, 15, 20],\n    [10, 0, 35, 25],\n    [15, 35, 0, 30],\n    [20, 25, 30, 0]\n]\nn = dist.count\n\nlet result = findMinimumRoute()\nprint(\"\ucd5c\uc18c \uacbd\ub85c\uc758 \uae38\uc774\ub294 \\(result)\uc785\ub2c8\ub2e4.\")\n            <\/n><\/code><\/pre>\n<\/section>\n<section>\n<h2>\ucf54\ub4dc \ubd84\uc11d \ubc0f \ub3d9\uc791 \uc6d0\ub9ac<\/h2>\n<p>\uc774 \ucf54\ub4dc\ub294 \ube44\ud2b8\ub9c8\uc2a4\ud06c\ub97c \ud65c\uc6a9\ud558\uc5ec \ubc29\ubb38 \uc644\ub8cc \uc5ec\ubd80\ub97c \uccb4\ud06c\ud558\uace0, \uc7ac\uadc0\uc801\uc73c\ub85c \uac00\ub2a5\ud55c \uacbd\ub85c\ub97c \ud0d0\uc0c9\ud558\uc5ec \ucd5c\uc18c \uacbd\ub85c\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4. \uac01 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud560 \ub54c\ub9c8\ub2e4 \ucd1d \uac70\ub9ac\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\uace0, \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud55c \ud6c4 \ucd5c\uc885\uc801\uc73c\ub85c \uc2dc\uc791 \ub3c4\uc2dc\ub85c \ub3cc\uc544\uc624\ub294 \uacbd\ub85c\uc758 \uac70\ub9ac\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<h3>1. dp \ubc30\uc5f4 \ucd08\uae30\ud654<\/h3>\n<p>dp \ubc30\uc5f4\uc740 \uac01 \ub3c4\uc2dc\uc640 \ubc29\ubb38 \uc0c1\ud0dc\uc5d0 \ub530\ub978 \ucd5c\uc18c \uacbd\ub85c \uac70\ub9ac\ub97c \uc800\uc7a5\ud569\ub2c8\ub2e4. \ucc98\uc74c\uc5d0\ub294 \ubaa8\ub4e0 \uc694\uc18c\ub97c -1\ub85c \ucd08\uae30\ud654\ud558\uc5ec \ubc29\ubb38\ud558\uc9c0 \uc54a\uc740 \uc0c1\ud0dc\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/p>\n<h3>2. \uc7ac\uadc0 \ud568\uc218 tsp()<\/h3>\n<p>\uc7ac\uadc0 \ud568\uc218 tsp()\ub294 \ud604\uc7ac \uc704\uce58(pos)\uc640 \ubc29\ubb38\ud55c \ub3c4\uc2dc \ube44\ud2b8\ub9c8\uc2a4\ud06c(visited)\ub97c \uc778\uc790\ub85c \ubc1b\uc544 \ucd5c\uc801 \uacbd\ub85c\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4. \ub9cc\uc57d \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ubc29\ubb38\ud55c \uacbd\uc6b0, \uc2dc\uc791 \ub3c4\uc2dc\ub85c \ub3cc\uc544\uac00\ub294 \uacbd\ub85c\ub97c \ube44\uc6a9\uacfc \ube44\uad50\ud558\uc5ec \ucd5c\uc18c\uac12\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<h3>3. \uacbd\ub85c \uacc4\uc0b0<\/h3>\n<p>\ube44\ud2b8\ub9c8\uc2a4\ud06c\ub97c \ud1b5\ud574 \uc544\uc9c1 \ubc29\ubb38\ud558\uc9c0 \uc54a\uc740 \ub3c4\uc2dc\ub97c \uccb4\ud06c\ud558\uace0, \ub2e4\uc74c \ub3c4\uc2dc\ub85c\uc758 \uc774\ub3d9\uc744 \uacc4\uc0b0\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \ubaa8\ub4e0 \uac00\ub2a5\uc131\uc744 \ud0d0\uc0c9\ud569\ub2c8\ub2e4. \uac01 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac\uc5d0\uc11c `tsp()`\ub97c \ud638\ucd9c\ud558\uc5ec \uc804\uccb4 \uacbd\ub85c \uac70\ub9ac\ub97c \ub204\uc801\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \ubb38\uc81c\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ube44\ud2b8\ub9c8\uc2a4\ud06c\uc640 DP\ub97c \ud65c\uc6a9\ud558\uc5ec \ud6a8\uc728\uc801\uc73c\ub85c \ud574\uacb0\ud560 \uc218 \uc788\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub17c\uc758\ud588\uace0, \uc2a4\uc704\ud504\ud2b8 \ucf54\ub4dc\ub97c \uc9c1\uc811 \uc791\uc131\ud574\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ub098\uc624\ub294 \uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0\ub2a5\ub825\uc744 \ud55c\uce35 \ub354 \ud0a4\uc6b0\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p>\uc5ec\ub7ec\ubd84\uc758 \ucf54\ub529 \uc5ec\uc815\uc5d0 \ub3c4\uc6c0\uc774 \ub418\uae38 \ubc14\ub78d\ub2c8\ub2e4! \uac10\uc0ac\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc778 &#8220;\uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c&#8221;\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uadf8\ub798\ud504 \uc774\ub860, \uc870\ud569 \ucd5c\uc801\ud654, \uadf8\ub9ac\uace0 \uc804\ubc18\uc801\uc778 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ud544\uc694\ub85c \ud569\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \uc678\ud310\uc6d0 \ubb38\uc81c(Travelling Salesman Problem, TSP)\ub294 n\uac1c\uc758 \ub3c4\uc2dc\uc640 \uac01 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc678\ud310\uc6d0\uc774 \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ud55c \ubc88\uc529 \ubc29\ubb38\ud558\uace0 \ub2e4\uc2dc \ucd9c\ubc1c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28250\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27],"tags":[],"class_list":["post-28250","post","type-post","status-publish","format-standard","hentry","category-27"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/28250\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc778 &#8220;\uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c&#8221;\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uadf8\ub798\ud504 \uc774\ub860, \uc870\ud569 \ucd5c\uc801\ud654, \uadf8\ub9ac\uace0 \uc804\ubc18\uc801\uc778 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ud544\uc694\ub85c \ud569\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \uc678\ud310\uc6d0 \ubb38\uc81c(Travelling Salesman Problem, TSP)\ub294 n\uac1c\uc758 \ub3c4\uc2dc\uc640 \uac01 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc678\ud310\uc6d0\uc774 \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ud55c \ubc88\uc529 \ubc29\ubb38\ud558\uace0 \ub2e4\uc2dc \ucd9c\ubc1c &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28250\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:32:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:05:33+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/28250\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28250\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30\",\"datePublished\":\"2024-10-27T15:32:58+00:00\",\"dateModified\":\"2024-11-26T07:05:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28250\/\"},\"wordCount\":26,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/28250\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28250\/\",\"name\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T15:32:58+00:00\",\"dateModified\":\"2024-11-26T07:05:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28250\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28250\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28250\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/28250\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\uc704\ud504\ud2b8 \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529 \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc778 &#8220;\uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c&#8221;\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \uadf8\ub798\ud504 \uc774\ub860, \uc870\ud569 \ucd5c\uc801\ud654, \uadf8\ub9ac\uace0 \uc804\ubc18\uc801\uc778 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c \ud574\uacb0\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ud544\uc694\ub85c \ud569\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \uc678\ud310\uc6d0 \ubb38\uc81c(Travelling Salesman Problem, TSP)\ub294 n\uac1c\uc758 \ub3c4\uc2dc\uc640 \uac01 \ub3c4\uc2dc \uac04\uc758 \uac70\ub9ac\uac00 \uc8fc\uc5b4\uc84c\uc744 \ub54c, \uc678\ud310\uc6d0\uc774 \ubaa8\ub4e0 \ub3c4\uc2dc\ub97c \ud55c \ubc88\uc529 \ubc29\ubb38\ud558\uace0 \ub2e4\uc2dc \ucd9c\ubc1c &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/28250\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:32:58+00:00","article_modified_time":"2024-11-26T07:05:33+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/28250\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28250\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30","datePublished":"2024-10-27T15:32:58+00:00","dateModified":"2024-11-26T07:05:33+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28250\/"},"wordCount":26,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/28250\/","url":"https:\/\/atmokpo.com\/w\/28250\/","name":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T15:32:58+00:00","dateModified":"2024-11-26T07:05:33+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28250\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28250\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28250\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\uc704\ud504\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc678\ud310\uc6d0\uc758 \uc21c\ud68c \uacbd\ub85c \uc9dc\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=28250"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28250\/revisions"}],"predecessor-version":[{"id":28251,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28250\/revisions\/28251"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}