modify optimizer initial type
add module figure
add create_optimizer.h