I'm looking for a program probably an expert or knowledge base system that I can set up to work out the relationship between time and resources from a collection of tasks if they were done in a arbitary order, I suppose its similar to microsoft project however instead of manually entering in the data I'd want a pool of data that I can ask questions to find out how quickly a serises of tasks could be done and which order would maximize its effectiveness.

Is there such an application or would I need to program this myself probably in prolog?