This problem is what should the economy produce in order to satisfy consumer wants (as seen by demand curves) as best as possible using the limited resources available. If a country produces goods in a way that maximises consumer satisfaction then the economy is allocatively efficient.