add opt2 and tsp main program