I was listening to a lecture by Andy Naselli on "Do we Have a Free Will?" found here. It was a very good and well reasoned argument for free agency against free will. He mentioned middle knowledge and I wanted to refresh my memory so did a quick search. Here is a quick definition:
If Aristotle had not been a student of Plato, then would Aristotle have chosen to start his school at Lyceum? If you believe God knows the answer to this question, you probably believe God has middle knowledge.
Middle knowledge is a form of knowledge first attributed to God by the sixteenth century Jesuit theologian Luis de Molina (pictured to the left). It is best characterized as God’s prevolitional knowledge of all true counterfactuals of creaturely freedom. This knowledge is seen by its proponents as the key to understanding the compatibility of divine providence and creaturely (libertarian) freedom (see Free Will).
You can find the whole article here.