Set up the variables for the problem