实验数据(算法复杂度)
摘自Ant Colony Optimization
4 实例:JSP
Job-shop Scheduling Problem
M:机器数量 J :任务数 ojm:工序 djm:工时
O ,o jm, :工序集合
JSP(Muth & Thompson 6x6)
m.t Job1 3.1 Job2 2.8 Job3 3.5 Job4 2.5 Job5 3.9 Job6 2.3
Update the shortest tour found
TSP蚁群算法(ant-cycle)
Step 4.2
For every edge (i,j) For k:=1 to m do
m
ij
k ij
k 1
k ij
Q Lk
0
if (i, j) tour described by tabuk otherwise
TSP蚁群算法(ant-cycle)
Step 6
If (NC < NCMAX) and (not stagnation behavior) then Empty all tabu lists Goto step 2 else Print shortest tour Stop
3 蚁群算法调整与参数设置
符合TSP规则; 完成一次旅行后,在经过的路径上释放信息
素; 无需按原路返回。
实例:TSP(参数与机制)
路径上的信息素浓度 ij (t) 信息素更新
ij (t n) ij (t) ij
信息素释放(ant-cycle)
m
ij
k ij
k 1
k ij
Q Lk
if k - th ant uses edge (i, j) in its tour (between time t and t n)