Except it's so very, very, wrong. Malls are typically large, and it'd have to be one to provide you with supplies for a long time. So you'd need more people to help you cover that ground, which means the supplies will last for less time. Next, if you're able to get into the mall, so can other people/zombies. So you have to seal it quickly, which you probably can't do. And it's probably full of people anyway, and there's a decent chance one of them is already infected. There's even a decent chance that it's filled with zombies already, in which case you need some strategy for getting in and clearing the way, cleaning up the mess, and sealing the place off. This would probably be a complicated task for a company of marines, even if they were properly supplied.
Computer program is wrong, unless you're already way out of town in your own private mountain fortress villa, you're fucked.