added retrial number, and removed optimization specification from config file