We extend the model for supply chains developed in [S. Göttlich, M. Herty and A. Klar, Commun. Math. Sci. 3, No. 4, 545–559 (2005; Zbl 1115.90008)]. The model consists of partial differential equations governing the dynamics on each processor. Furthermore, a modelling of different types of vertices is motivated and discussed. Then, optimization problems are introduced and numerically investigated. A comparison of computing times shows the efficiency of partial differential equations for solving supply chain problems.