Relay control systems optimized for various performance criteria