calculate the value of objective function input chrom ---------- one single chroms cusnum --------- number of customers a b ----------- time window L -------------- latest arrival time to depot outpu
这个目标函数是计算遗传算法中每个个体(一组车辆路径)的适应度,即路径的总距离加上路径中每个顾客迟到时间的惩罚。
原文地址: https://www.cveoy.top/t/topic/ewro 著作权归作者所有。请勿转载和采集!