A method of optimizing an order of component mounting which includes
optimizing an order of component mounting for any one pattern among the
plurality of patterns, calculating a quotient and a remainder by dividing
the total number of the patterns included in the board by the number of
mounters, determining the quotient as the number of patterns to be
allocated in a case where the remainder is zero. The optimization method
also includes determining a number, which is the quotient plus one, as
the number of patterns to be allocated to the same number of the mounters
as the remainder, starting from the mounter in a process farthest
upstream, determining the quotient as the number of patterns to be
allocated to the rest of the mounters, in the case where the remainder is
one or greater, and allocating the allocated number of patterns, to each
of the mounters.