ai4co / rl4co

A PyTorch library for all things Reinforcement Learning (RL) for Combinatorial Optimization (CO)
https://rl4.co
MIT License
381 stars 70 forks source link

[BugFix] Fix a bug in the augmentation of FFSP instances #192

Closed LTluttmann closed 3 months ago

LTluttmann commented 3 months ago

Description

Fixes a bug in the augmentation of a FFSP instance, where stages were assigned the wrong machines in the pre_step of the environment.

Also added marginally faster tensordict dataset which uses slightly (around 30%) more CPU and improved the MatNet code a little bit.

Motivation and Context

Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. You can use the syntax close #15213 if this solves the issue #15213

Types of changes

What types of changes does your code introduce? Remove all that do not apply:

Checklist

Go over all the following points, and put an x in all the boxes that apply. If you are unsure about any of these, don't hesitate to ask. We are here to help!