One of the most common applications of metabolic circuits is to produce a desired chemical in a chassis organism, such as the Escherichia coli (E. coli), by importing heterologous genes encoding for the enzymes that participate in the biosynthetic pathway. Recently, an automated pipeline named RetroPath was developed to synthesise embedded metabolic circuits [1]. These circuits are to be embedded in E. coli for a wide range of applications such as regulating biomass productions, sensing specifc molecules, processing specific molecules, and releasing specific molecules. In this paper, we improve the efficiency of RetroPath via quadratic programming