Cost of optimal solution is : 499995 the stocks in the index fund are: 1 2 fund stock tracks target stocks 2 -----> 1 2 -----> 2 2 -----> 3 2 -----> 4 2 -----> 5 number of iterations: 0