Efficient frequency conversion based on local optimization theory. (18th November 2015)