2

I have implemented a Lemke-Howson algorithm in python and I'd like to be able to show the game polytopes and the path that the algorithm follows graphically. I want something simple like this:

enter image description here

James Buck
  • 1,640
  • 9
  • 13

1 Answers1

2

There is not a quick solution to plotting polytopes and paths that I know of. However you can plot multiple polygons on once plot and then plot your paths over them. You will need to combine ideas and implementations from the following references:

Community
  • 1
  • 1
tmthydvnprt
  • 10,398
  • 8
  • 52
  • 72