Lab 7 - Oct. 6

Today's lab assignment is for you to play around with the sequential knapsack algorithm. Run the code on the department machines; do not use bassi.

  1. Download the sequential code for the knapsack algorithm. A tar file is available here.
  2. Compile the code and get it to run.
  3. Study the code.
  4. Modify code to print the whole table when in debug mode.