A distributed optimization model for wood drying with several different boards simultaneously is presented. Optimization is performed with a gradient-based program. During optimization, convex subproblems are created and transformed to the dual problem and solved. Arbitrary outtakes and board dimensions are possible, as well as different material data and distribution of sapwood and heartwood. It is also possible to optimize drying schedules where drying of boards with variations in environmental conditions is simulated. A two-dimensional orthotropic drying model is used in the moisture transport and structural analysis, where the variation in radial and tangential directions are considered. The influence of temperature and moisture content on material data and mechanical properties is also taken into account. The drying schedules achieved are optimized to minimize drying time for a representative mixture of boards. A numerical example is presented where the drying schedule is optimized for two boards with different outtakes and distributions of sapwood and heartwood. Optimization is performed with two computers in a network. Drying starts from the fibre saturation point in these simulations.