Lei-Kun / End-to-end-DRL-for-FJSP

This is the official code of the publised paper 'A Multi-action Deep Reinforcement Learning Framework for Flexible Job-shop Scheduling Problem'
MIT License
236 stars 55 forks source link

一个不影响的bug。 #10

Closed Iamfxz closed 1 year ago

Iamfxz commented 1 year ago

你好,感谢分享代码,我在断点修改的时候发现如下代码存在问题:

https://github.com/leikun-starting/End-to-end-DRL-for-FJSP/blob/34c4a78f1f3eab3340d3c4ac901d7d6258bed508/FJSP_MultiPPO/FJSP_Env.py#L177-L183

image

我猜测这里应该改成self.first_col[i]和self.last_col[i], 经测试后两者赋值的效果是一致的。