External penalty function optimization example