Google: Solve a n-variable formulation

Give you a n-variable formulation, write a program to solve it