Planning the perfect diet