1.here a unit matrix100010001how do i convert each row of this matrix in decimal form?i.e100 means 4,010 means 2.and the result will be <4,2,1>2.how can i write a code of assignment problem using genetic algorithm?
Start with code to do the conversion of the bits in to decimal. Once you have that code, feed p(2) to the end in to that, divide the result by 2^n, and then use the first bit, p(1) to do the sign adjustment