MAINT: optimize: remove some unused variables from show_options() in optimize.py

I think the deleted lines are left over from an earlier iteration of the code.