{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:ysu1340654189"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:ysu1340654189","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"The Knapsack Problem, Cryptography, and the Presidential Election","abstract":"<p>The 0-1 Knapsack Problem is an <em>NP</em>-hard optimization problem that has been studied extensively since the 1950s, due to its real world significance. The basic problem is that a knapsack with a weight capacity <em>c</em> is to be filled with a subset of <em>n</em> items. Each item <em>i</em>, has a weight value <em>w<sub>i</sub></em> and a profit value <em>p<sub>i</sub></em>. The goal is to maximize total profit value without the having the total weight exceed the capacity.</p><p>In this thesis, the 0-1 Knapsack Problem is introduced and some of the research and applications of the problem are given. Pisinger's branch-and-bound algorithm that will converge to an optimal solution is presented. One of the earliest applications of the knapsack problem, the knapsack cryptosystems, is then discussed. The earliest knapsack cryptosystem, the Merkle-Hellman Cryptosystem, is described along with how Adi Shamir broke this cryptosystem. Generating functions are then used to provide a number of solutions to a knapsack problem. Using the generating function of the knapsack problem, the paper concludes with an application on the Electoral College.</p>","abstract_html":"&lt;p&gt;The 0-1 Knapsack Problem is an &lt;em&gt;NP&lt;/em&gt;-hard optimization problem that has been studied extensively since the 1950s, due to its real world significance. The basic problem is that a knapsack with a weight capacity &lt;em&gt;c&lt;/em&gt; is to be filled with a subset of &lt;em&gt;n&lt;/em&gt; items. Each item &lt;em&gt;i&lt;/em&gt;, has a weight value &lt;em&gt;w&lt;sub&gt;i&lt;/sub&gt;&lt;/em&gt; and a profit value &lt;em&gt;p&lt;sub&gt;i&lt;/sub&gt;&lt;/em&gt;. The goal is to maximize total profit value without the having the total weight exceed the capacity.&lt;/p&gt;&lt;p&gt;In this thesis, the 0-1 Knapsack Problem is introduced and some of the research and applications of the problem are given. Pisinger&#x27;s branch-and-bound algorithm that will converge to an optimal solution is presented. One of the earliest applications of the knapsack problem, the knapsack cryptosystems, is then discussed. The earliest knapsack cryptosystem, the Merkle-Hellman Cryptosystem, is described along with how Adi Shamir broke this cryptosystem. Generating functions are then used to provide a number of solutions to a knapsack problem. Using the generating function of the knapsack problem, the paper concludes with an application on the Electoral College.&lt;/p&gt;","abstract_has_math":false,"creators":["McMillen, Brandon"],"institution":"Youngstown State University","degree_name":"Master of Science in Mathematics","degree_level":"masters","degree_discipline":"Department of Mathematics and Statistics","degree_department":null,"school":null,"contributors":[],"advisors":["Ritchey, Nathan"],"committee_chairs":[],"committee_members":[],"year":2012,"date_issued":"2012-06-27","date_published":"2012-06-27","updated_at":"2026-11-27T04:38:36Z","subjects":["Mathematics","Knapsack Problem","Cryptography","Generating Functions"],"languages":["English"],"rights":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=ysu1340654189","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=ysu1340654189","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Aysu1340654189","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Aysu1340654189","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Ritchey, Nathan"]},{"key":"dc:creator","label":"Author","values":["McMillen, Brandon"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2012-06-27"]},{"key":"dc:publisher","label":"Institution","values":["Youngstown State University / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Department of Mathematics and Statistics"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Mathematics"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Youngstown State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Mathematics","Knapsack Problem","Cryptography","Generating Functions"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=ysu1340654189"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["<p>The 0-1 Knapsack Problem is an <em>NP</em>-hard optimization problem that has been studied extensively since the 1950s, due to its real world significance. The basic problem is that a knapsack with a weight capacity <em>c</em> is to be filled with a subset of <em>n</em> items. Each item <em>i</em>, has a weight value <em>w<sub>i</sub></em> and a profit value <em>p<sub>i</sub></em>. The goal is to maximize total profit value without the having the total weight exceed the capacity.</p><p>In this thesis, the 0-1 Knapsack Problem is introduced and some of the research and applications of the problem are given. Pisinger's branch-and-bound algorithm that will converge to an optimal solution is presented. One of the earliest applications of the knapsack problem, the knapsack cryptosystems, is then discussed. The earliest knapsack cryptosystem, the Merkle-Hellman Cryptosystem, is described along with how Adi Shamir broke this cryptosystem. Generating functions are then used to provide a number of solutions to a knapsack problem. Using the generating function of the knapsack problem, the paper concludes with an application on the Electoral College.</p>"]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","p.35","299.5 KB"]},{"key":"dc:title","label":"Title","values":["The Knapsack Problem, Cryptography, and the Presidential Election"]}]}],"canonical_facts":{"dc:contributor.advisor":["Ritchey, Nathan"],"dc:creator":["McMillen, Brandon"],"dc:date":["2012-06-27"],"dc:description":["<p>The 0-1 Knapsack Problem is an <em>NP</em>-hard optimization problem that has been studied extensively since the 1950s, due to its real world significance. The basic problem is that a knapsack with a weight capacity <em>c</em> is to be filled with a subset of <em>n</em> items. Each item <em>i</em>, has a weight value <em>w<sub>i</sub></em> and a profit value <em>p<sub>i</sub></em>. The goal is to maximize total profit value without the having the total weight exceed the capacity.</p><p>In this thesis, the 0-1 Knapsack Problem is introduced and some of the research and applications of the problem are given. Pisinger's branch-and-bound algorithm that will converge to an optimal solution is presented. One of the earliest applications of the knapsack problem, the knapsack cryptosystems, is then discussed. The earliest knapsack cryptosystem, the Merkle-Hellman Cryptosystem, is described along with how Adi Shamir broke this cryptosystem. Generating functions are then used to provide a number of solutions to a knapsack problem. Using the generating function of the knapsack problem, the paper concludes with an application on the Electoral College.</p>"],"dc:format":["application/pdf","p.35","299.5 KB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=ysu1340654189"],"dc:language":["English"],"dc:publisher":["Youngstown State University / OhioLINK"],"dc:rights":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."],"dc:subject":["Mathematics","Knapsack Problem","Cryptography","Generating Functions"],"dc:title":["The Knapsack Problem, Cryptography, and the Presidential Election"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["Department of Mathematics and Statistics"],"thesis:degree_level":["masters"],"thesis:degree_name":["Master of Science in Mathematics"],"thesis:institution_name":["Youngstown State University"]},"updated_at":"2026-11-27T04:38:36Z"}