Trial for building an elegant numeric optimization framework of my own.