Text this: Adaptive design of a class of electrical networks using mathematical optimization /