I lowkey kinda actually want to write this sort of optimization program. *For whatever reason, this somehow didn't update at the scheduled time. Apologies to my three readers.