formatting tweak to optimizer.py