(1) Set the maximum number of chaotic iteration
and iterative variable |

// The variable denotes the th chaotic variable in the th iteration |

(2) **for** to **do** |

(3) |

(4) **end for** |

(5) **while** **do** |

(6) **for** to **do** |

(7) |

// represents a candidate solution |

(8) |

(9) **end for** |

* *// Greedy selection is applied between |

(10) **if** |

(11) Replace solution with candidate solution |

(12) Set |

(13) Break |

(14) **else** |

(15) Set |

(16) **end if** |

(17) Set |

(18) **end while** |