K-OPT

  • replace the notion of one favorable swaps by a search of a favorable sequence of swaps

  • do not search for the entire set of sequences but build one incrementally.In fact,it's a process from 2-opt to 3-opt to 4-opt to···and then stop and compare all of these costs and find the best opt.

  • find a good k dynamically at a fraction of the cost

  • explore a sequence of swaps of increasing sizes

steps:

  • choose a vertex and its edge =(,) (cause this edge is long)

  • choose an edge =(,) with d()<d()

  • if none exist,restart with another vertex

  • else,we have a solution by removing the edge (,) and connecting (,)

  • compute the cost but do not connect (still, (,) is long)

  • instead, we restart the above process with and its pretended edge (,)

  • now it's like 3-opt, but still we don't want to stop here.do the above process (i.e. the k-opt algorithm) again and again and again···

  • now it's like 4-opt. And we can stop here to get a good sequence because we can't find a shorter edge from .

  • OK,so now we have done our first iteration, we can then choose another vertex and start the second iteration···

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值