-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/13/12 9:21 PM, Ariel Constenla-Haile wrote: > Hi, > > On Thu, Dec 13, 2012 at 11:45:16AM -0800, [email protected] > wrote: >> I have experience with the Nelder Mead Simplex, and have written >> a simulated annealing optimization program in C++ and published a >> paper in which it was used for some very non-linear data fitting. >> Either of these could be implemented, although the simulated >> annealing routine is probably more complicated that what is >> really needed. If one or more people would be willing to help >> develop the parameter dialog interface > > You don't need to implement a dialog, all you need to do is develop > a class that implements some interfaces > http://www.openoffice.org/api/docs/common/ref/com/sun/star/sheet/XSolver.html > > > http://www.openoffice.org/api/docs/common/ref/com/sun/star/sheet/XSolverDescription.html > > In code, it's a header file and one or two sources, look at the > current linear implementation: > http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sccomp/source/solver/ > > > >> and can do the bindings required to tie in the C++ code to open >> office so it can become an extension I would be very willing to >> work with them. I've read online about the process and it seems >> to be rather daunting to me. I am really just a >> scientist/engineer and I cannot pull off the OO interface on my >> own... I am used to writing for linux (Cygwin) and compiling >> under gcc. > > Note that you can do it as an extension, without needing to > compile the whole OpenOffice code, simply install the SDK from > http://www.openoffice.org/download/other.html#tested-sdk > > The SDK on Windows does not work with cygwin, simply make, zip > (sed and cat for AOO 4.0), and the MS compiler (I only tried with > the 2008 Express edition). > >> Anyone want to help with this or form a project team on >> Sourceforge or similar? > > I can make an skeleton for the add-in extension if you want. I > prefer working in Apache Extras > http://code.google.com/a/apache-extras.org/hosting/ (it's Google > Code, if you're already familiar with it). > > Of course, if you are willing to, it could be added to the > application source code (but this way, you will need a core > developer, and testing will imply compiling the whole OpenOffice > source code).
or starting with a Java test first which should be the easiest one using the NetBeans plugin. I found http://commons.apache.org/math/apidocs/org/apache/commons/math/optimization/direct/NelderMeadSimplex.html But if you are interested to dive deeper in the code it would be perfect to have it in the core directly later ;-) Building AOO on Linux should be possible, it is probably the easiest platform to get started with and when you already have experience here. Anyway welcome at Apache OpenOffice and feel free to ask further questions Juergen -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQIcBAEBCgAGBQJQyv6rAAoJEM/u8xZRtf3on8EP/2GS5bCF6pv/gybhgm/5YWey EnMnE5WRLxRrqK+PpFqhmm7jhUmjohOpDhreSh+nUDj+LU5fei7wMRMy1qTklmXx S5ByzdbOxeRKIKRFomdbO3egVO7rvVqYY3eArjKtgsVkIW67XsBprOn6PEW7GgUi mqKDCPEz+jeh02TrymFgWUAB2Qq4mTU5Vw40FUb0ayOvS+xHJkXN9+fBCpTfvHuG SnG6HybdsWU3f2c3TPJ3R758kNQVN6ywtsFJqQz3hVdC5Z0P4CZFBFLqSNEOW/UK i6Wf9iIbXJ+KGONOUPYbcMFTH8pge3Q/wfa7xzEcW6PLzzOmHPZqEvONw3hsL6cx KLdZh9y2rKyyDji3wXOTXlQgD2/sDFY6QOi7n4y1cp175n1M2soKVjxBUZbGglEO tvN0g0X72+aS/YaJIbbY0K3ZQi/0ydm6Eh0ZaiPouP0X3UmfADobSbey8SEiRCng AGixYYZe7hX7gP0ZgKQ2Ez8m1vV5E7CbwNPFUQy5GMHT7QSrVz3ZKG24OACFdtUX 2AUoOkMhT1YkKEb3D9/qfGiD1plkqn+Hz54GUOD7Ax6SH4a3a2WF9DNXb7Zz95gH lI49Fx3Mp5Q9/cJhkWmvxyukeOmdO2lhpnp20N4R0TD7AnxWpwhUCgZTSiWgRu60 c2jP7B11uqUKGvHx7y7i =Jzok -----END PGP SIGNATURE-----
