form_cycle added to tsp_evaluate