A hardware accelerated solution for topological network optimization problem: given a set of resistors and a resistance value, find a series-parallel combination of the resistors such that the equivalent resistance is as close as possible to the given resistance value.