“…Although recently heuristic and meta-heuristic algorithms are frequently used in fields close to ATP such as lot sizing (Li et al, 2014;Motta Toledo et al, 2013), production planning (Figueira et al, 2013;Almeder & Hartl, 2013;Seker et al, 2013;Lamghari & Dimitrakopoulos, 2012;Wang & Zheng, 2013;Kazemi Zanjani et al, 2013;Han et al, 2012) or scheduling (Rudek & Rudek, 2013;Behnamian & Fatemi Ghomi, 2013;Lamghari et al, 2013;Eskandari & Hosseinzadeh, 2013Wauters et al, 2012Merdan et al, 2012), just a few studies in the ATP literature have taken advantage of them (Cheng & Cheng, 2011;C-Ritzo et al, 2011;Jeong et al, 2002 In this section, in order to solve medium and large size problems we present a two-phase heuristic algorithm. The first phase is designed to generate an initial solution, which includes allocating the most proper WIP to every order to reduce the total weighted remaining processing time and make an initial feasible schedule.…”