I have an optimisation issue. It's about a product that contains 20 parts (the order of producing doesn't matter). I've got 3 similar machine that can produce all 20 parts.
I've got the 20 parts represented in minutes (ie. it takes 3min to produce the first part and 75min to produce the second part, etc)
ItemTime<-c(3,75,55,12,45,55,11,8,21,16,65,28,84,3,58,46,5,84,8,48)
So to produce 1 product it takes 730 min.
sum(ItemTime)
The aim is to minimise the production of one product by allocating the good item to the three machines.
sum(ItemTime/3)
So actually I need to be as close as 243.333 min (730/3)
The amount of possibility is huge 3^20
I guess there are many different optimal solutions. I would like that R give me all of them. I don't need only to know total time that will need machine 1 2 and 3 : I also need to know which items to give to machine 1, to machine 2 and to manchine 3.
Alternatively, if it's too long I would like to choose a sample without repetition that is as reasonable as possible...
Can I solve my issue with R language?