I need a simple windows application to generate all possible combinations of foods (specified by user) which satisfy fall within a range of nutritional requirements. All the requirements are specified by the user and include total calories, grams of fat, grams of carbohydrates, and grams of protein. The user would input an acceptable range (ex. Calories within range of 2000-2300, grams of fat within range of 40-50, ......) as well as a list of foods (calories, food name, grams fat, grams carbs, grams protein). The program would generate a list of all the possible food combinations from the list of foods specified by the user, which satisfy all the requirements. The program must select at least one food from each category (breakfast, lunch, snack, dinner entre, and dinner side) and each food item cannot be used more than 2 times. In short I want this program to automatically generate meal plans that meet my requirements. I am looking more for functionality so the interface can be extremely simple. Any programming language is acceptable as long as it works with windows 7.