https://9dok.net/document/zgwjdeo8-probability-vector-estimation-under-constraints-by-discounting.html