Branch: master
Find file History
Pull request Compare This branch is 1 commit ahead, 12 commits behind awslabs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Solving Knapsack problem with Amazon SageMaker RL

This shows an example of how to use SageMaker RL to address a canonical operations research problem. We choose which items to put in the Knapsack. Our objective is to maximize the value of the items in the bag; but we cannot put all the items in as the bag capacity is limited.


  • rl_knapsack_clippedppo_coach_tensorflow_customEnv.ipynb: Notebook used for training the policy to address the knapsack problem.
  • src/
    • custom environments and simulator defined here.
    • launcher for coach training.
    • launcher for coach evaluation.
    • coach preset for Clipped PPO.