<oembed><type>rich</type><version>1.0</version><author_name>npub1gudxspr8gkafq0mvzrwpj5qyuhtr3euwqf08rlkdr63zhe39l30qzplrqg</author_name><author_url>https://nostr.ae/npub1gudxspr8gkafq0mvzrwpj5qyuhtr3euwqf08rlkdr63zhe39l30qzplrqg</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2022-03-19&#xA;📝 Original message:&#xA;Dear Carsten, Rene and fellow lightning developers,&#xA;&#xA;Regarding the approximation quality of the minimum convex cost flow formulation for multi-part payments on the lightning network [1] and Carsten&#39;s discussion points on Twitter [2] and on the mailing list:&#xA;&#xA;&gt; 8) Quality of Approximation&#xA;&gt;&#xA;&gt; There are some problems in computer science that are hard/impossible to&#xA;&gt; approximate, in the sense that any kind of deviation from the optimum&#xA;&gt; could cause the computed results to be extremely bad. Do you have some&#xA;&gt; idea (or proof) that your kind of approximation isn&#39;t causing a major&#xA;&gt; issue? I guess a piece-wise linearization with an infinite number of&#xA;&gt; pieces corresponds to the optimal result. Given a finite number of&#xA;&gt; pieces, how large is the difference to the optimum?&#xA;&#xA;I did some literature research and came across an insightful paper [3] by Dorit Hochbaum from 1993, that proves proximity results for integer and continuous optimal solutions of the minimum convex cost flow as well as proximity results of the optimal solutions for a piecewise linear approximation and the original problem.&#xA;&#xA;Admittedly theoretical results, however, it further underpins that a piecewise linear approximation is a reasonable approach to find optimal flows and even shows that searching for optimal solutions on the continuous domain (e.g. with descent methods from convex optimization) also gives near-optimal solutions on the integer domain.&#xA;&#xA;Cheers,&#xA;Martin&#xA;&#xA;[1] https://arxiv.org/abs/2107.05322&#xA;[2] https://twitter.com/renepickhardt/status/1502293438498234371&#xA;[3] https://www.worldscientific.com/doi/abs/10.1142/9789812798190_0005&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220319/f278c153/attachment.html&gt;</html></oembed>