On Tue, Mar 22, 2005 at 08:09:40 -0500, Christopher Browne <[EMAIL PROTECTED]> wrote: > > Are you certain it's a linear system? I'm not. If it was a matter of > minimizing a linear expression subject to some set of linear > equations, then we could model this as a Linear Program for which > there are some perfectly good solvers available. (Few with BSD-style > licenses, but we could probably get some insight out of running for a > while with something that's there...)

For less than 100 equations and 100 unknowns, you should be able to use naive solvers. After that you don't get very accurate answers without being more careful. I still have my numerical analysis text books around and can look algorithms up for doing this without too much trouble. ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match