I’ve responded to @feep’s ticket, so this is mainly for future reference (and for me to talk through the fix).
- Yeah, that appears to be a bug. It’s on my to-do list now.
The optimizer knows to penalize that much free time in the morning, when the “Optimize” button is clicked. The rules get more complicated in an “Evaluate” scenario when you’ve got:
- Multiple visits to the same ride
- Only one Lightning Lane to use for those rides
- And several of the visits can occur during the LL return time window
There’s special look-ahead code for Evaluate that tries to determine which visit benefits most from that LL use. But it can’t backtrack to consider everything. (Why? One of the bedrock principles of Evaluate is that it does one pass over the plan to calculate waits. It’s not supposed to test alternatives or make decisions, because those decisions should be up to you. In theory, anyway.)
Anyway, my approach for this is that the optimizer should see the “Use Rope Drop” flag and not add in that free time under those conditions. I think this is relatively straightforward to fix.
I’ll probably work on this next week, and I’m working with @feep on workarounds for his July 5 visit. (I don’t want to make an optimizer change before a long holiday weekend, as you can imagine.)
If any of you are math nerds, the interesting thing about choosing Lightning Lanes is that it makes touring plan optimization many orders of magnitude more difficult. One reason is that the impact of each LL choice affects wait times for the steps after it. So you don’t know really know the second LL to get until you’ve identified the first.
The general optimization for a touring plan with N steps has N! things to consider. So for 10 steps, there are 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 = 3,628,800 possible touring plans.
That’s not particularly hard - the software can get exact answers for up to 15 attractions reliably (1.3 trillion possible touring plans).
But the number grows faster than exponentially with each step you add. Adding 2 more steps to a 15-step plan doesn’t double the number of possibilities - it increases by a factor of 272 (17 x 16 x 15 x … x 1).
Let’s assume there are 10 MK attractions that are good uses of Lightning Lane, and we want to choose the 3 “in advance”. There are (n choose k) = (10 choose 3) = 120 different ways to do that.
So for each candidate touring plan we have from the 1.3 trillion options, there are 120 ways to choose just the first 3 Lightning Lanes. You can see how this gets complicated fast.