Package org.ddolib.examples.boundedknapsack


package org.ddolib.examples.boundedknapsack
This package implements the acs, astar and ddo models for the Bounded Knapsack Problem (BKS). A bounded knapsack problem is a variation of the classic knapsack problem where each item can be included in the knapsack a limited number of times. Given a knapsack having a maximum (weight) capacity, a set of items {1, ... ,n} where all items of type i have a profit value values_i, a weight weights_i and a quantity quantity_i of identical copies of this item. The goal is to select quantities of each item i, such that the total weight of the selected items does not exceed the knapsack capacity and the total profit is maximized.
  • Class
    Description
    Bounded Knapsack Problem (BKS) with Acs.
    Bounded Knapsack Problem (BKS) with AsTar.
    Bounded Knapsack Problem (BKS) with Ddo.
    Implementation of a dominance rule for the Bounded Knapsack (BKS) problem.
    A fast lower bound implementation for the BKSProblem (Bounded Knapsack Problem).
    Entry point for solving the Bounded Knapsack Problem (BKS) using a Large Neighborhood Search (LNS) approach combined with Decision Diagram Optimization (DDO).
    Represents an instance of the Bounded Knapsack Problem (BKP).
    Enumeration defining possible correlation types between item weights and profits when generating random instances.
    A default state ranking implementation for the Bounded Knapsack Problem (BKP).
    A relaxation strategy for the Bounded Knapsack Problem (BKP) used in relaxed decision diagrams.