Skip to content

This was part of the lecture "object oriented programming of heuristics" at the KU Ingolstadt.

Notifications You must be signed in to change notification settings

flo1166/KnapsackProblem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

KnapsackProblem

The knapsack problem is a well known optimization problem where you want to pack items within a limited room. The items have a value, which indicates how much you would like to take them with you. This script doesn't find the best solution (so it doesn't maximize the value). But it gives a hint on how to program this heuristic with java in a object oriented way.

  • Item: to build items
  • ItemTest: the main script to be executed
  • Knapsack: different functionalities (like pack the knapsack or calculate if weight can be included in knapsack until capacity)

About

This was part of the lecture "object oriented programming of heuristics" at the KU Ingolstadt.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages