Maximum-Weight Two Boxes Symmetric Difference Problem
arXiv:2605.22690
Abstract
Let be a set of points in the plane, where each element of is assigned a weight , positive or negative. In this paper, we present an algorithm that runs in time and space to find two possibly overlapping axis-aligned rectangles and so as to maximize the total weight of the points contained in the symmetric difference of and . The same optimization framework can easily be adapted to solve related problems such as to maximize the total weight in the symmetric difference of boxes and/or in the union of boxes.