You're kidding, right? Why the heck would you use math that involves the calculation of finite dimensional vectors and matrices... especially with regards to resources, which is a trio variable... that if plotted manually can friggin take hours, and can stress most computers, and CAN'T be DONE ON A CALCULATOR, over a game where you can just use a bit of mathematical common sense to excel in?
You either don't know what you're talking about, or have way too much time on your hands.
BTW: If you designed a program that can maximize troop production [(s1)(x1) +.... (sn)(xn)], where maximization is troop profit against cost, subject to the constraint of time of travel (A), subject to the constraint of production speed (F), subject to the constraint to AN UNDEFINED BOUNDARY, WHICH IS A QUADRATIC EQUATION PER UNIT OF PROFIT v. TIME, graphed in an (xyz), where the hypothetical limits are the intersections of the graph, WHICH IS A MUCH EASIER equation complex, but no one in their right mind would WANT to do it. That's just a variable in your linear programming matrix.
If you program a code like this that can actually run on a regular computer without crashing it, I'll make you filthy rich.
Stop fronting, muhannad. Knowing the concept of how LP is intended to work and actually utilizing it is 2 different things. There is a reason why mathematical consulting firms are paid millions of dollars to solve equations like this for corporations.
Normal people try their utmost hardest not to use math that the great majority of the population never will learn in their entire lifetime, because it isn't fun to do so. It's work.
I'm glad that you learned the concept of LP in your calc 2/calc 3/ finite math class, but here is not the place to be flaunting it.