Modified optimization-task.rb