first functional prototype of building and solving LP