An Optimization Problem Arising in the Design of Multiring Systems