Approximate survey propagation for statistical inference. (6th February 2019)