dc.contributor.advisor | Holly Zullo | |

dc.contributor.advisor | Mark Parker | |

dc.contributor.advisor | Jeffrey Morris | |

dc.contributor.author | Gilbertson, Claire | |

dc.date.accessioned | 2020-04-30T10:08:07Z | |

dc.date.available | 2020-04-30T10:08:07Z | |

dc.date.issued | 2008-04-01 | |

dc.identifier.uri | https://scholars.carroll.edu/handle/20.500.12647/3431 | |

dc.description.abstract | We explore the knapsack problem where the goal is to maximize the value of packed objects for a certain container. The knapsack problem is NP-complete which means the time needed to solve it exactly grows exponentially as the size of the data set increases. Due to the infeasibility of using algorithms which find all possible solutions, we can use heuristics which are methods used to estimate a solution rapidly. We create a Java program to test seven heuristics on 21 data sets. The seven packing algorithms include four basic greedy algorithms, two backtracking methods, and one random packer. We use data sets from a standard library and create our own data sets with specific characteristics. The greedy algorithm which sorts by largest utility and the one of the backtracking methods perform the best. | |

dc.title | Heuristics for the Knapsack Problem | |

dc.type | thesis | |

carrollscholars.object.degree | Bachelor's | |

carrollscholars.object.department | Mathematics, Engineering & Computer Science | |

carrollscholars.object.disciplines | Applied Mathematics; Mathematics | |

carrollscholars.legacy.itemurl | https://scholars.carroll.edu/mathengcompsci_theses/56 | |

carrollscholars.legacy.contextkey | 11252924 | |

carrollscholars.object.season | Spring | |

dc.date.embargo | 12/31/1899 0:00 | |