ffxiv-craft-opt-web icon indicating copy to clipboard operation
ffxiv-craft-opt-web copied to clipboard

Find shorter sequences automatically?

Open haasn opened this issue 5 years ago • 2 comments

The crafting optimizer as is will happily squeeze as many quality-improving actions as it can into the sequence, unless you specifically set limits in place to prevent it from doing so. But often, even much shorter sequences will still achieve a 100% quality minimum. Sometimes it can be absurd, like when it generates multi-macro sequences for comparatively simple crafts. But on the other hand, it can sometimes be needed - even multi-macro sequences can't guarantee a 100% HQ on some level 50 master crafts (with level 71 crafting gear).

I usually end up guesstimating a size limit, and re-running the optimizer if I don't manage to get 100% HQ in the "worst case" (according to the monte-carlo trials); because I prefer having a shorter macro over a longer macro (for obvious reasons). Would it be possible to somehow alter the algorithm to somehow automatically prefer finding shorter sequences where those are still sufficient to guarantee HQ items?

haasn avatar Jul 12 '19 11:07 haasn

It does try to find shorter sequences but it still tries to maximize the Quality value. But it doesn’t check the ether HQ has reached 100%.

 Not sure if there’s a case where exceeding max quality is desirable or whether there’s a danger to penalizing exceeding max quality but it could be an option. On Jul 12, 2019, 7:10 AM -0400, Niklas Haas [email protected], wrote:

The crafting optimizer as is will happily squeeze as many quality-improving actions as it can into the sequence, unless you specifically set limits in place to prevent it from doing so. But often, even much shorter sequences will still achieve a 100% quality minimum. Sometimes it can be absurd, like when it generates multi-macro sequences for comparatively simple crafts. But on the other hand, it can sometimes be needed - even multi-macro sequences can't guarantee a 100% HQ on some level 50 master crafts (with level 71 crafting gear). I usually end up guesstimating a size limit, and re-running the optimizer if I don't manage to get 100% HQ in the "worst case" (according to the monte-carlo trials); because I prefer having a shorter macro over a longer macro (for obvious reasons). Would it be possible to somehow alter the algorithm to somehow automatically prefer finding shorter sequences where those are still sufficient to guarantee HQ items? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

doxxx avatar Jul 12 '19 13:07 doxxx

Hi there, I get it, but sometimes you don't know what is the max length in advance, plus, it would make the sim much faster in my opinion if we could limit the target for the quality. (I mean numerical or percentagewise. Like "stop adding more quality if quality reached 150%") Screenshot 2021-11-28 050845 y.

Avi0627 avatar Nov 28 '21 04:11 Avi0627