Add optimization.cc