Designing double sampling plan requires identification of sample sizes and acceptance numbers. In this paper a genetic algorithm has been designed for the selection of optimal acceptance numbers and sample sizes for the specified producer s risk and consumer s risk. Implementation of the algorithm has been illustrated numerically for different choices of quantities involved in a double sampling plan.