mpsolve - maxplus linear system solver
W is a full maxplus matrix giving a weakbasis of the solution set in X of AX = BX. This is only a tentative inefficient program.
a=#([1,0;0,1]);b=#([1,0;0,1]);mpsolve(a,b) a=#([1,0;0,1]);b=#([1,%0;0,%0]);mpsolve(a,b) a=#([1,0,%0;0,1,%0]);b=#([%0,%0,0.5;%0,%0,0]);mpsolve(a,b)