This example refer to the following post.
computationalchi2017/layout_optimization.ipynb at final ยท johnhw/computationalchi2017