Skip to content

Chenyang-1995/Online-Subset-Sum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Learning-Augmented Algorithms for Online Subset Sum

This is the code for the paper "Learning-Augmented Algorithms for Online Subset Sum"

Requirements

Python >= 3.6.11

Pytorch >= 1.7.0

Adversary Train

To train the adversary network for each algorithm and output the bad instance set, run

bash train_adversary.sh

After training, the instance file for each algorithm will be created.

Algorithm Test

To test the performance of each algorithm in its corresponding instance file, run

bash test.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published