Evolutionary Bi-objective Optimization for the Dynamic Chance-Constrained Knapsack Problem Based on Tail Bound Objectives

Hirad Assimi, Oscar Harper, Yue Xie, Aneta Neumann, Frank Neumann

Abstract

This paper addresses the Dynamic Chance-Constrained Knapsack Problem (DCCKP), where item weights are stochastic and the total capacity varies over time. We propose a bi-objective evolutionary approach that transforms the single-objective constrained problem into a multi-objective one by introducing a "minimum safe capacity" objective derived from tail inequalities. Our proposed algorithm, POSDC (Pareto Optimization for Stochastic Dynamic Constraint), utilizes these bounds to maintain a diverse population capable of tracking moving optima. Experimental results demonstrate that bi-objective optimization, particularly when using Chernoff bounds, significantly outperforms traditional single-objective evolutionary algorithms in dynamic and uncertain environments.

Introduction

In real-world logistics and resource allocation, optimization problems are rarely static. The Dynamic Chance-Constrained Knapsack Problem (DCCKP) models scenarios where item weights are uncertain (stochasticity) and the total weight limit of the container changes (dynamics). The objective is to maximize profit while ensuring that the probability of exceeding the current capacity remains below a predefined threshold $\alpha$.

Traditional methods often struggle with DCCKP because calculating exact probabilities for chance constraints is computationally expensive (#P-complete). Furthermore, single-objective algorithms often fail to adapt quickly when the capacity limit shifts, as they tend to converge on a single solution that may become infeasible or suboptimal after a dynamic change.

Methodology

Bi-objective Transformation

We propose transforming the DCCKP into a bi-objective problem to improve adaptability and robustness. The two objectives are:

  1. Maximize Total Profit $P(x)$: The standard knapsack objective.
  2. Minimize Stochastic Bound $C^*(x)$: This represents the smallest capacity for which a solution $x$ satisfies the safety constraint $P(\sum w_i x_i > C) \le \alpha$.

Tail Inequalities for Risk Estimation

To efficiently estimate $C^*(x)$, we employ tail inequalities as proxies for the chance constraint:

  • Chebyshev’s Inequality: A general bound requiring only the mean and variance of item weights.
  • Chernoff Bounds: A tighter, exponential bound for sums of independent variables, providing a more precise estimate of the "tail" risk.

The POSDC Algorithm

The Pareto Optimization for Stochastic Dynamic Constraint (POSDC) algorithm is designed to manage these objectives. POSDC maintains two distinct subpopulations: one for feasible solutions and another for "slightly infeasible" solutions. This dual-population approach creates a "genetic reservoir," allowing the algorithm to react instantly if the capacity limit increases, as high-quality solutions for larger capacities are already present in the Pareto front.

Experimental Setup

We evaluated the approach using modified binary knapsack benchmarks. The experiments considered two main problem types: uncorrelated and bounded strongly correlated, where profit is tied to weight, increasing the difficulty of the optimization.

Problem instance types and their weight/profit distributions.

The dynamic environment was controlled by parameters $\tau$ (frequency of change) and $r$ (magnitude of capacity change). Stochasticity was introduced via an uncertainty interval $\delta$ for item weights.

Results and Discussion

The performance was measured using "offline error," representing the gap between the algorithm's best found solution and the theoretical optimum.

Experimental results comparing (1+1)-EA and POSDC using Chebyshev and Chernoff bounds (r=500).

Key Findings

  1. Superiority of Bi-objective EAs: As shown in the results table, POSDC consistently achieved significantly lower offline error compared to the single-objective (1+1)-EA across various settings of $\tau$, $\delta$, and $\alpha$.
  2. Chernoff vs. Chebyshev: Algorithms utilizing Chernoff bounds generally outperformed those using Chebyshev bounds. The tighter estimation provided by Chernoff allows the algorithm to pack items more efficiently while maintaining the required safety margin.
  3. Adaptability to Fast Dynamics: POSDC showed a clear advantage in "fast" environments (low $\tau$). By maintaining a diverse Pareto front of solutions optimized for different capacities, the algorithm tracks the moving optimum more effectively than single-objective counterparts that must "re-learn" after every change.

Conclusion

By incorporating tail bound estimates as a second objective, evolutionary algorithms can solve the Dynamic Chance-Constrained Knapsack Problem more effectively. The bi-objective approach provides a natural mechanism for handling both stochastic uncertainty and dynamic constraints. Future work will explore applying this framework to other complex chance-constrained problems, such as job scheduling and resource allocation in power grids.

Summary updated

BibTeX
@inproceedings{assimi2020evolutionary,
  author = {Hirad Assimi and Oscar Harper and Yue Xie and Aneta Neumann and Frank Neumann},
  title = {{Evolutionary Bi-objective Optimization for the Dynamic Chance-Constrained Knapsack Problem Based on Tail Bound Objectives}},
  booktitle = {ECAI},
  year = {2020},
  doi = {10.3233/faia200107},
}
Figure