Necessary and sufficient conditions for distributed constrained optimal consensus under bounded input. (15th January 2018)