Removed duplicate declaration of the route /optimization