This article presents a nonlinear programming mathematical model that coordinates inventories and production in logistics network made up of plants, distributors, retailers. The procedure for formulating solving the uses programming, linear heuristics, Lagrangian relaxation stages.