in reply to minimizing simple linear equations

symbolic stuff is tough; one good program that you can download from nikhef is __form__ by Jos Vermasern (at least some version if free...) I think you can easily generate a small form program, call form on it and parse it back... good luck http://www.nikhef.nl/~t68/ Math::Symbolic on CPAN can handle this too... -- sgt