Have a Look at StarOffice 9
Solver - Use this powerful tool to optimize problems, functions when presented with constraints.
Copyright 1994-2009 Sun Microsystems, Inc.