How does divine foreknowledge relate to human choice?

Human Ability and Acts, Divine Will and Decree, and Pleasure and Anger