An optimized production assignment algorithm for custom-made garments