"knapsack problem" meaning in English

See knapsack problem in All languages combined, or Wiktionary

Noun

Forms: knapsack problems [plural]
Head templates: {{en-noun}} knapsack problem (plural knapsack problems)
  1. A problem in combinatorial optimization: given a set of items, each with a weight and a value, determine which items to include in the collection so that the total weight is less than or equal to a given limit and the total value is as large as possible.
    Sense id: en-knapsack_problem-en-noun-5Ir88Swq Categories (other): English entries with incorrect language header, Pages with 1 entry, Pages with entries

Inflected forms

{
  "forms": [
    {
      "form": "knapsack problems",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "knapsack problem (plural knapsack problems)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w"
        }
      ],
      "glosses": [
        "A problem in combinatorial optimization: given a set of items, each with a weight and a value, determine which items to include in the collection so that the total weight is less than or equal to a given limit and the total value is as large as possible."
      ],
      "id": "en-knapsack_problem-en-noun-5Ir88Swq",
      "links": [
        [
          "problem",
          "problem"
        ],
        [
          "combinatorial",
          "combinatorial"
        ],
        [
          "optimization",
          "optimization"
        ],
        [
          "set",
          "set"
        ],
        [
          "item",
          "item"
        ],
        [
          "weight",
          "weight"
        ],
        [
          "value",
          "value"
        ],
        [
          "include",
          "include"
        ],
        [
          "collection",
          "collection"
        ]
      ]
    }
  ],
  "word": "knapsack problem"
}
{
  "forms": [
    {
      "form": "knapsack problems",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "knapsack problem (plural knapsack problems)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "Pages with 1 entry",
        "Pages with entries"
      ],
      "glosses": [
        "A problem in combinatorial optimization: given a set of items, each with a weight and a value, determine which items to include in the collection so that the total weight is less than or equal to a given limit and the total value is as large as possible."
      ],
      "links": [
        [
          "problem",
          "problem"
        ],
        [
          "combinatorial",
          "combinatorial"
        ],
        [
          "optimization",
          "optimization"
        ],
        [
          "set",
          "set"
        ],
        [
          "item",
          "item"
        ],
        [
          "weight",
          "weight"
        ],
        [
          "value",
          "value"
        ],
        [
          "include",
          "include"
        ],
        [
          "collection",
          "collection"
        ]
      ]
    }
  ],
  "word": "knapsack problem"
}

Download raw JSONL data for knapsack problem meaning in English (1.0kB)


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2026-03-16 from the enwiktionary dump dated 2026-03-03 using wiktextract (bdd14c0 and 9d9a410). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.