Skip to content

Foreman v2.0 - dev.11

Compare
Choose a tag to compare
@DanielKote DanielKote released this 15 Nov 02:30

Added Features:

  • Solver options added (advanced).
  • Solver options: Can now enable output pulling, which will attempt to maximize the automatic consumption nodes. Warning: this can often lead to no solution if you havent manually set enough inputs! After all, if there is a way to set the output to infinity while abiding by your manually set nodes, then that becomes the optimal path! In most cases this option should not be used, but in complex chains with multiple overflow void nodes it is quite likely that the 'optimal' route to minimizing the number of factories for a given input is to void everything as fast as possible. In this situation enabling output pulling can help.
  • Solver options: For output pulling, a multiplier number is available to be modified to set exactly how much of a weight you want your outputs to have. Too high can lead to unbound solutions, while too low will not pull enough to give a non-zero answer. Default 1 should work for most cases, but sometimes need to be increased (Full chart of seablock to make T3 modules required pull of 2.9)
  • Solver options: Each recipe node can now be set to 'low priority' and a low priority multiplier can be set in options. What this means is that the 'weight' of the low priority factories will be increased by the multiplier, so as to de-incentivize the node's use. This can help guide item flow away from voiding nodes for eample. Warning: too high values (or overuse of low priority) can lead to the graph trying to find 'alternative' ways of getting rid of items, and can lead to 'overproduction' of 'waste' as a way of minimizing factory count (ex: seablock chart deciding to void chemicals by creating a ton of T2 modules and just not outputting them anywhere as an alternative to void recipe nodes).
  • Graph summary now available! Will list the total power consumption, production, buildings, item throughputs, and much more!
  • Graph summary can also export CSV files for the given data.
  • Key nodes added - these are specific nodes that you can flag and give a title to that will appear in their own dedicated section of the graph summary. Should be quite helpful for giant graphs to select key flows you are interested in, run a few tests (exporting CSVs for each) and finally compare the outputs in excel or something.

Bugfixes:

  • Fixed ordering of items/recipes that wasnt happening according to Factorio standards in rare cases
  • Maximum flow and factory count will now work properly (were just straight up broken previously). Can now set 10million/sec throughput as maximum manual flow, and 1 million buildings for a given recipe node. Should be enough even for the most crazy ultra-mega-bases.

Changes:

  • Solver updated to new standard (plus updated to current version of Google OR Tools). Solution is based off of minimizing number of buildings instead of 'min flow'. This shouldnt be noticeable in most cases, though this means that between 2 recipe nodes the solver will always pick the one with less buildings (modules included) if it can. Ex: for basic oil vs advanced oil, it might pick basic over advanced if basic requires less buildings (note: miners also count as buildings!), like if you beaconed that part of the graph.
  • Default node direction and solver options are now saved to the save-file (as with other defaults).
  • Solver options will be set to defaults on foreman startup.
  • Removed auto-low-priority for void recipes. It was doing more harm than good, plus the feature was migrated to 'low-priority' node settings (manually set)
  • Versioning added to the exe file along with the top right corner of the application (Issue #12)