A simple Final Scheduler with prolog.
To run the code:
-Run prolog-swi
[scheduler].
consult('info').
Or any knowledge base you have prepared.
final_plan(FinalPlan)
%to see all the combinations
clear_knowledge_base
%to delete all the assertions from the consulted file
consult('')