Solution for complex assembly and job-shop environments