Package org.ddolib.examples.mks
package org.ddolib.examples.mks
The Multidimensional Knapsack Problem (MKP) is a generalization of the KP
to multiple capacity constraints: $n$ items and $m$ dimensions of the knapsack
are given, each dimension with capacity bound $(C_1,\ldots ,C_m)$.
An item $j$ occupies a weight dimension $w^i_j$ in the knapsack
for $i\in\{1,\ldots , m\}$ for a value of $v_j$.
The goal is to select a subset of items whose sum of profits is
maximized so that all the capacity bound constraints hold simultaneously.
-
ClassesClassDescriptionMain class to demonstrate the application of Decision Diagram Optimization (DDO) on a Multi-dimensional Knapsack (MKS) problem instance.Computes a normalized distance between Multi-dimensional Knapsack (MKS) states.Implements a dominance relation for Multi-dimensional Knapsack (MKS) states.Provides a fast lower bound estimation for Multi-dimensional Knapsack (MKS) states.Represents a Multi-dimensional Knapsack Problem (MKS) as a
Problemfor decision diagram optimization.Ranking strategy for multi-dimensional Knapsack (MKS) states.Relaxation strategy for the multi-dimensional Knapsack problem (MKS) states.Represents the state of a multi-dimensional Knapsack problem (MKS) in terms of the remaining capacities of each knapsack dimension.