Decision and optimization problems in the unreliable-circuit logic. (1st April 2017)