I'd like to be able to do linear programming to arbitrary precision. The documentation that I've found claims that both the glpk and PPL solvers should do this, but I haven't been able to get either to work.
As an example, the following code prints c to high precision, but the solutions only to 12 digits. Where should I look for guidance?
Note: this seeks to maximize x+y given that 3x<=1 and 3y<=1, so the solution is (1/3, 1/3)
Mike M
R=RealField(100)
c=Matrix(R, 2, 1, [-1, -1])
G=Matrix(R, 2, 2, [3, 0, 0, 3])
h=Matrix(R, 2, 1, [1, 1])
print c # To check the precision being used by "print"
print
sol=linear_program(c,G,h)
print sol['x']
sol=linear_program(c,G,h, solver='glpk')
print sol['x']
sol=linear_program(c,G,h, solver='PPL')
print sol['x']