liuhuanshuang / geatpy-NSGA2--

使用python的geatpy进化算法包中的NSGA2算法求解多染色体多目标问题
12 stars 1 forks source link

代码理解 #1

Open WangYanZSH opened 2 years ago

WangYanZSH commented 2 years ago

您好,请问定义问题的self.a二十条表示什么

liuhuanshuang commented 2 years ago

你好,self.a表示惩罚系数矩阵,也可以理解为权重矩阵。 其中inf,表示该路径不可行。

@.***

发件人: WangYanZSH 发送时间: 2021-11-01 17:10 收件人: liuhuanshuang/geatpy-NSGA2-- 抄送: Subscribed 主题: [liuhuanshuang/geatpy-NSGA2--] 代码理解 (Issue #1) 您好,请问定义问题的self.a二十条表示什么 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

WangYanZSH commented 2 years ago

感谢回复!那请问里面timearray维度疑似224,工人费用维度为15,self.a维度为20*4,维度并不一致,这里相称得到目标函数,怎么理解,您这边注释也打上了问号

WangYanZSH commented 2 years ago

相乘