Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
There are a few small improvements I have in mind to cache results that should ideally make it more responsive after it finds the first solution, such as this one: https://github.com/factoriolab/factorio-lab/issues/420, but it would not speed up the process of finding the initial solution.
The calculator uses a linear program and the Simplex method to solve for the production chain in cases like that. I wrote a document about the process here. To visualize it in the flow diagram I just use a third party library that handles circular loops, d3-sankey-circular.
I use a Lua tool here. You're welcome to try running it against your mod sets, but it can be a little tricky to use.