Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 697 Bytes

Readme.md

File metadata and controls

20 lines (16 loc) · 697 Bytes

This is a solution to the Menu Knapsack problem.

Pre-Reqs

  1. Maven
  2. Java

Run java -version and mvn -version in the command line to ensure they are installed.

Building

  1. git clone https://github.com/athornburg/MenuKnapsack.git
  2. cd MenuKnapsack
  3. Ensure text documents are in the MenuKnapsack/src/main/resources folder of the project.
  4. mvn clean
  5. mvn package
  6. For output with repitition: sh target/bin/MenuKnapsack -r menu.txt
  7. For output without repitition: sh target/bin/MenuKnapsack -n menu.txt