本研究針對有軟硬限制之最佳化問題發展一啟發式演算法,以改善其收斂解的品質及縮短演算法搜尋時間。本研究針對隨機初始解加以改善,利用決策樹分析題目軟硬限制式資訊,以縮短產生可行初始解之時間。再者,本研究新增鄰域搜尋概念,根據題目軟硬限制式資訊,設計一區域(貪婪)搜尋法,以獲較佳之近似最佳解和縮短其啟發式演算法之收斂時間。 為驗證本研究所發展的啟發式演算法觀念之可行性,本研究以醫護人員排班問題為例,透過兩組醫護人員的人力分配下,測試所發展的啟發式演算法結合粒子群演算法或結合蝙蝠演算法其近似最佳解之品質和求解時間之長短。其數值結果顯示本研究提出之啟發式演算法在結合蝙蝠演算法和結合粒子群演算法均快速產生不錯的初始解,且區域(貪婪)搜尋法在結合蝙蝠演算法和結合粒子群演算法均有效產生更佳的近似最佳解。
This research developed a heuristic algorithm to solve the optimization problems with soft-and-hard constraints in order to improve the solution quality and reduce the solution time. This study combined the information of soft and hard constraints with the decision tree method to generate an initial feasible solution, thereby reducing the generated initial feasible solution’s time. Furthermore, this study applied the local search concept and the information of soft and hard constraints to develop a new local search (greedy) method in order to obtain the better near-optimal solution and reduce the solution time. In order to verify the feasibility of the proposed heuristic algorithm, this research used a radiologist scheduling problem as a case study. Through two numerical sets of different numbers of radiologists, this research tested the solution quality and solution time of two scenarios: the proposed heuristic algorithm with the particle swarm optimization (PSO) and the proposed heuristic algorithm with the bat algorithm (BA). The results showed that, for generating an initial solution, both PSO and BA methods with the designed initial solution mechanism could have better performance on solution time than both PSO and BA methods without the designed initial solution mechanism, and that for generating a local search, both PSO and BA methods with the greedy search could have better performance on solution quality than both PSO and BA methods without the greedy search.