Single and multiobjective genetic algorithm toolbox for Matlab in C++
11 June 2007Sastry, K. (2007). IlliGAL Report No. 2007017. University of Illinois at Urbana-Champaign, Urbana IL. [Documentation - PDF] [Documentation - PS] [Download source code].
Abstract:
This report provides documentation for the general purpose genetic algorithm toolbox for matlab in C++. The fitness function used in the toolbox is written in matlab. The toolbox provides different selection, recombination, mutation, niching, and constraint-handling operators. Problems with single and multiple objectives can be solved with the toolbox. Moreover, the toolbox is easily extensible and customizable for incorporating other operators and for solving user-defined search problems.
Related Posts:
- Single and Multiobjective Genetic Algorithm Toolbox in C++
- χ-ary extended compact genetic algorithm for matlab in C++
- Fast and accurate reaction dynamics via multiobjective genetic algorithm optimization of semiempirical potentials
- Multiojbective hBOA, clustering, and scalability
- Extended compact genetic algorithm in matlab

2 Responses to “Single and multiobjective genetic algorithm toolbox for Matlab in C++”
July 18th, 2008 at 9:16 am
Dear Dr. Sastry;
I have downloaded the GAToolbox_matalb, but I could’nt use it,I use Matlab 7.3.0 and Visual C++ 6.0,would you please guide me?
i copy the errors which apear on matlab command window, after using mex to compile the source code:
===============================================
>> mex -output GAtbxm *.cpp
chromosome.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(547) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(173) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(169) : while compiling class-template member function ‘class std::basic_ostream<char,struct std::char_traits > &__thiscall std::basic_ostream<char,struct std::char_traits >::operator <<(double)’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(234) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(229) : while compiling class-template member function ‘class std::basic_ostream<char,struct std::char_traits > &__thiscall std::basic_ostream<char,struct std::char_traits >::put(char)’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(234) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(229) : while compiling class-template member function ‘class std::basic_ostream<unsigned short,struct std::char_traits > &__thiscall std::basic_ostream<unsigned short,struct std::char_traits >::put(unsigned short)’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(46) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(41) : while compiling class-template member function ‘bool __thiscall std::basic_istream<char,struct std::char_traits >::ipfx(bool)’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(46) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(41) : while compiling class-template member function ‘bool __thiscall std::basic_istream<unsigned short,struct std::char_traits >::ipfx(bool)’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xstring(525) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xstring(521) : while compiling class-template member function ‘void __thiscall std::basic_string<char,struct std::char_traits,class std::allocator >::_Copy(unsigned int)’
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xstring(525) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xstring(521) : while compiling class-template member function ‘void __thiscall std::basic_string<unsigned short,struct std::char_traits,class std::allocator >::_Copy(unsigned int)’
fatal error C1900: Il mismatch between ‘P1′ version ’19991026′ and ‘P2′ version ’19970710′
C:\PROGRA~1\MATLAB\R2006B\BIN\MEX.PL: Error: Compile of ‘chromosome.cpp’ failed.
??? Error using ==> mex
Unable to complete successfully.
=============================================
Thanks a lot
Respectfully,
s.akhoondian
March 24th, 2009 at 5:01 am
Can you guide for the moti objective optimization using weighted sum approach in Genetic algorithm with matlab codings