Job shop scheduling simulation

Whether it is possible to achieve optimized scheduling simulation of the job shop for discrete processing time, such as using genetic algorithms. How can I use discrete time (with some kind of distribution) in optimized scheduling simulation?