?? readme
字號:
This is the revised version of COOOL (1.1), the CWP Object-Oriented Optimization Library. COOOL is a collection of C++ class libraries forhandling mathematical optimization problems. The library was inspiredby UGA (Uniprocessor Genetic Algorithm) written by Martin Smith andTerri L. Fischer.We try to include a large collection of algorithms in the library, andto keep the user-interfaces consistent for different applications andoptimization algorithms. Users don't have to know much about C++language, only a very preliminary knowledge on syntax is enough forusing COOOL. By utilizing the EXPECT scheme of Don Libe, COOOL isable to link existing executable objective functions: these can bewritten in C, C++, Fortran or other high-level languages.COOOL is composed of three major parts:(1) C++ utilities:Most of these classes are defined by templates. These classes includeVector, Model, List, base Matrix and its derived classes, DenseMatrix, Sparse Matrix, Diag Matrix, and some non-template utilityclasses defined in UGA.(2) Objective Function: Classes for handling different type of objective function. Here, it includes some testing analytical objective-functions: Rosenbrockfunction, quadratic function, and a simple multi-modal testfunction. COOOL also provides means of passing derivative informationof quadratic objective-functions to iterative linear-solvers. Moreimportantly, COOOL adopted the scheme and code from UGA to pass acustomized objective function from an evaluation executable file, soit could be written in any programming language. As an additionalfeature in the revised version, COOOL can take derivative informationpassed through the user-defined file. (3) Optima:This part include a collection of optimization algorithms for solving problems of different nature and purpose. The selection or switch of algorithms is easy. In the demos directory, we provide an example of using COOOL in residual statics estimation of seismic data. However, to generate and run the demo, you need to have another CWP free software package SU (Seismic Unix).The demo directory provides a simple example of optimizing anN-dimensional Rosenbrock function; this file should be a good startingpoint of using COOOL. We also provide an application of COOOL on thestatic estimation of a seismic dataset. However, don't get intimidatedif you are not a seismologist; you only need to think of this as anoptimization problem, as COOOL does. Try it and look into the sourcecode to see how convenient to use COOOL as the optimization tool.However, you do need the CWP-SU package to run the demo.You also need to edit the shell file, OPTIMA, specifying the data format your platform supports (big- or little-endian).Refer to README in the demo directory for detail.The installation the package is easy, the master Makefile shouldinstall the whole thing from the unpacked directory tree. The revised version of COOOL is tested under gcc 2.7.0, but it also works underolder compilers. COOOL should be mostly transportable on different platforms. There isonly one file in COOOL, SlaveForward in src/lib/objfcns, whichrequires system calls and is not completely transportable. We providefour versions: .AIX, .IRIX, .Linux and .NEXT. When installing theCOOOL package, the Makefile detects the machine type and set up asymbolic link from the appropriate SlaveForward file toSlaveForard.cc. For those systems that don't have command "uname"(e.g. NEXT), you might need to set up the link by yourself. If you getthis running on another machine, please let us know. For instructionof installation, read file $COOOLROOT/src/README.install.The current release of COOOL(1.1) doesn't have full man pages, but we areworking on setting up a clear and concise convention for COOOL standard documents. We will also include more optimization algorithms to the library in the near future. We appreciate any bug reports, comments or suggestions. Any questions orcomplaints can be directed to optima@dix.mines.eduP.S. Sorry! The long promised row-action codes still have not been tested, so they are not included in the current release. But I WILL have them done early this summer. H. L. Deng
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -