This a GA implementation using binary and real coded variables. Mixed variables can be used. Constraints can also be handled. All constraints must be greater-than-equal-to type (g >= 0) and normalized (see the sample problem in prob1 in objective()).
We demonstrate a method for encoding and decoding the [24,12,8] extended binary Golay code using a simple apparatus. We also present several generalizations of this construction which admit similar decoding algorithms.
convert.asm:
1.From ASCII resp. BCD to binary
2.From binary to ASCII resp. BCD
3.From binary to Hex-ASCII
Bin_Bcd.c:
uchar BcdToBin(uchar val)
uchar BinToBcd(uchar val)