Budget-constrained optimal retention with an upper limit on the retained loss. Issue 3 (15th March 2020)