Analog implementation of a 'neural' optimization network