/usr/share/doc/python-glpk/examples/example.py is in python-glpk 0.4.52-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | import glpk
print "starting..."
example = glpk.glpk("example.mod")
example.update()
example.solve()
print "solution:", example.solution()
print "solution is also here: x =", example.x, "y =", example.y
|