翻訳と辞書
Words near each other
・ 2/20th Battalion (Australia)
・ 2/21st Battalion (Australia)
・ 2/22nd Battalion (Australia)
・ 2/23/03 – Perth, Australia
・ 2-nitrophenol 2-monooxygenase
・ 2-Nitropropane
・ 2-nitropropane dioxygenase
・ 2-Nitrotoluene
・ 2-Nonanol
・ 2-Nonenal
・ 2-Norbornyl cation
・ 2-Octanol
・ 2-Octyl cyanoacrylate
・ 2-OH-NPA
・ 2-Oleoylglycerol
2-opt
・ 2-Oxazolidone
・ 2-oxo-3-(5-oxofuran-2-ylidene)propanoate lactonase
・ 2-oxo-4-hydroxy-4-carboxy-5-ureidoimidazoline decarboxylase
・ 2-oxo-acid reductase
・ 2-oxoadipate reductase
・ 2-oxoaldehyde dehydrogenase (NAD+)
・ 2-oxoaldehyde dehydrogenase (NADP+)
・ 2-oxobutyrate synthase
・ 2-oxoglutaramate amidase
・ 2-oxoglutarate (2OG)-dependent dioxygenases
・ 2-oxoglutarate carboxylase
・ 2-oxoglutarate decarboxylase
・ 2-oxoglutarate dioxygenase (ethylene-forming)
・ 2-oxoglutarate synthase


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

2-opt : ウィキペディア英語版
2-opt

In optimization, 2-opt is a simple local search algorithm first proposed by Croes in 1958 for solving the traveling salesman problem. The main idea behind it is to take a route that crosses over itself and reorder it so that it does not.
- A B - - A - B -
X ==>
- C D - - C - D -
A complete 2-opt local search will compare every possible valid combination of the swapping mechanism. This technique can be applied to the travelling salesman problem as well as many related problems. These include the vehicle routing problem (VRP) as well as the capacitated VRP, which require minor modification of the algorithm.
This is the mechanism by which the 2-opt swap manipulates a given route:
2optSwap(route, i, k)
Here is an example of the above with arbitrary input:
example route: A ==> B ==> C ==> D ==> E ==> F ==> G ==> H ==> A
example i = 4, example k = 7
new_route:
1. (A ==> B ==> C)
2. A ==> B ==> C ==> (G ==> F ==> E ==> D)
3. A ==> B ==> C ==> G ==> F ==> E ==> D (==> H ==> A)
This is the complete 2-opt swap making use of the above mechanism:
repeat until no improvement is made
}
}
Note: If you start/end at a particular node or depot, then you must remove this from the search as an eligible candidate for swapping, as reversing the order will cause an invalid path.
For example, with depot at A:
A ==> B ==> C ==> D ==> A
Swapping using node() and node() would yield
C ==> B ==> A ==> D ==> A
which is not valid (does not leave from A, the depot).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「2-opt」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.