Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Solver Rounding Errors Workaround] disable converter recipes by default #186

Open
faerine opened this issue Jan 3, 2025 · 0 comments
Open
Labels
New Tools This one will be handled in new Tools, a completely separate project that is currently being written

Comments

@faerine
Copy link

faerine commented Jan 3, 2025

The linear solver of the tools seems to have problems with float rounding errors. It will regularly generate nonsensical chains like in my screenshot, where random nodes are isolated (like unpackage nitric acid) or produce byproducts for no reason (like Empty Fluid Tanks) with a quantitiy of ~0.

grafik

Since this is only happening with tools after 1.0 and the solver has not changed [I guess], I had the suspicion that it is caused by the new converter recipes. They change the "directioness" of the solution graph because every raw resource can be created in another way now. This gives a decision point right from the start. I was able to verify that the behavior is indeed caused by the converter recipes. The 0 nodes vanish if all converter recipes are disabled manually.

So I propose to actually make this the default setting of tools (converter recipes disabled) because it will cause less confusion and clutter. I think resource conversion is very rarely what players will do, given it is a Tier 9 technology and uses valuable SAM. So resource conversion opt-in instead of opt-out should be the default.

@greeny greeny added the New Tools This one will be handled in new Tools, a completely separate project that is currently being written label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Tools This one will be handled in new Tools, a completely separate project that is currently being written
Projects
None yet
Development

No branches or pull requests

2 participants