There is a serious bug in Perkun2. It fails to interpret the input variables values properly when multiple agents are in place. I created a model for two players and found out that Perkun2 always gets "surprised".
I am very sorry about the bug, I will try to fix it.
The optimization itself seems to work properly.