Abstract. Attempts to solve optimization problems using nonlinear schemes have a long history. The impossibility of the transition process in the classical model of the Dennis electric circuit is noted with ideal elements. In order for the transient process to proceed in such a circuit, it is proposed to attach charge accumulators to the nodes of the circuit. Calculation of the transient process in the electrical model of a weighted directed graph with accumulators can be carried out by fixing the time intervals through which it is possible to calculate the values of the charges at the nodes of the graph. This allows you to get an accurate picture of the transition process of the electrical circuit model for finding the shortest path in a weighted directed graph. Keywords: Transition process, optimization problems, modelling, electric circuit, nonlinear schemes.