add linear programming template using simplex algorithm