Optimization of Knapsack Problem by GMJG