Good comments on programming style, but you might want to choose a name other than "linear programming", as that term was long ago adopted (with no negative connotations that I'm aware of) by the kind of folks who try to solve optimization problems. More info here if you really want to know.