Abstract
Recently, a number of researchers have suggested light-based devices to solve combinatorially interesting problems. In this paper, we design a light based device to solve a generalized version of the subset sum problem which was previously handled by Oltean and Muntean [Solving the subset-sum problem with a light-based device. Natural Computing]. We further design a system which is capable of providing us with the solution subset of the problem in addition to the YES/NO answer to the question of whether there exists a solution or not.