Research Article
A Hybrid Soft Computing Approach for Subset Problems
Algorithm 4
Hybrid ACO + CP for SCP and SPP.
(1) Begin | (2) InitParameters() | (3) While remain iterations do | (4) Foreach ant do | (5) While solution is not completed and ( <> ) do | (6) Choose next column with Transition Rule Probability | (7) feasible():= AC3{/* Filtering */} | (8) If feasible()
then | (9) AddColumnToSolution | (10) Else | (11) Backtracking{/* Set uninstantiated */} | (12) End If-Else | (13) AddColumnToTabuList | (14) End While | (15) End Foreach | (16) UpdateOptimum() | (17) UpdatePheromone() | (18) End While | (19) Return | (20) End |
|