add optimizer configuration

Include a picture and some example