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

Limit Maximum Length does not appear to be working

Open dilleh opened this issue 6 years ago • 3 comments

Required Information

Class: All Level: 70 Craftsmanship: 1645 Control: 1529 CP: 400 Recipe Name: Cloud Pearl Recipe Level: 64 Solver Seed: 121446

Expected Behaviour

A macro is generated with maximum 15 steps

Actual Behaviour

Capture

A macro is generated (which works nicely) with as many as 30 steps

Steps To Reproduce

Appears to work with any recipe that I have tried on multiple computers

dilleh avatar May 08 '19 14:05 dilleh

Did you rerun the Solver after setting the max length?

doxxx avatar May 09 '19 12:05 doxxx

I've tried resetting and starting and going back to simulator and solving from there and neither seem to confine it to 15 steps

dilleh avatar May 09 '19 19:05 dilleh

The max length is implemented as a penalty in the solver's objective function. In other words, sequences evaluated by the solver which exceed the max length are not completely excluded, just considered worse than sequences which don't exceed the max length. If the sequences which do not exceed the max length are otherwise poor solutions (low quality, unreliable, etc.) then the solver may still pick the longer sequence as the "best".

doxxx avatar May 17 '19 16:05 doxxx