Genetic Algorithm Java | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 1

Genetic Algorithm Java

There's a set of boxes to be delivered, each box has a value and weight, there's one delivery vehicle, there's capacity for total weight a vehicle can carry and a quota, minimum value you want to carry at one time, the problem is to find a subset of the objects whose total weight is at most equal to the capacity and total value is least equal to the quota, (e.g Object A- weight 70 value 80, object B-weight 50 value 50, Object C- weight 50, value 50) capacity is 110 and quota is 90, the solution would be {B,C}... I need assistance with this question, thanks

25th Sep 2019, 11:05 AM
Lleko X
Lleko X - avatar
1 ответ
0
At least try and show the code you have written
8th Mar 2021, 6:19 PM
Manthan Verma
Manthan Verma - avatar