Skip to content

raunakkmr/non-monotonic-resource-utilization-in-the-bandits-with-knapsacks-problem-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem

This repository contains code for the paper "Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem" published in NeurIPS 2022.

Usage

  1. Create a data file according to the format mentioned in the data/format.txt and store it in the data directory.
  2. Change directory to src.
  3. Run python main.py --data_filename {name of the data file created in step 1} --trials {number of trials of the algorithms to average over} --learning {include if you want to run the learning algorithm, exclude if not}.
  4. The plots are stored in the plots directory.

Citation

If you use this code, please cite the following paper

@inproceedings{kumar2022nonmonotonic,
  author    = "Kumar, Raunak and Kleinberg, Robert D.",
  title     = "Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem",
  year      = "2022",
  booktitle = "Proceedings of the 36th Conference on Neural Information Processing Systems (\textbf{NeurIPS})"
}

About

This repository contains code for the paper "Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages