Cracking the Scheduling Code in Hay Day

by th1nhng0on 6/7/2024, 6:25 AMwith 5 comments

by fscaramuzzaon 6/7/2024, 9:40 PM

This kind of project reminded me of the homework we had to do in uni for the "formal methods for real-time systems" course. We had to use UPPAAL [1] to verify the stability of a transportation belt with some machines doing things with some delays and other stuff. As far as I remember UPPAAL provides also some python libraries, that can be used to make automated tests. It would be interesting to see how Hay Day scenarios could be implemented in UPPAAL and test different approaches. Anyway, very nice project, the article is really well written as well.

[1] https://uppaal.org/

by kxcrossingon 6/7/2024, 2:07 PM

Is there a typo in here?

“ Given a set of orders, find a schedule that maximize the makespan of the orders.”

Shouldn't the target be to minimize the makespan?

by peter_l_downson 6/7/2024, 3:59 PM

Great writeup, bookmarked for any future case where I run into a similar problem.