Customized code generation based on user specifications for simulation and optimization. (2nd February 2019)