Find Jobs
Hire Freelancers

Genetic Algorithm with Java_2

$30-250 USD

In Progress
Posted almost 6 years ago

$30-250 USD

Paid on delivery
General Description: Maximize f(X1, X2, X3) = (X1)^2 + (X2)^2 + (X3)^2 for -1.0 <= Xi <= 1.0, i = 1, 2, 3. While creating the population, directly create it with bit string NOT decimal numbers. After selection, crossover, and mutation, decode the bit strings back to decimal numbers within given interval -1.0 <= Xi <= 1.0. And then evaluate the fitness with the given function. The following will give you the detail about this. In this project, each gene on the chromosome will be 10-bit string. For example, (X1, X2, X3) = (0000000010, 1001100001, 1110011100) will be one of the individuals. Then, treat those bit strings with selection, crossover, and mutation. After those, you must convert (decode) the bit string (genes) back to decimal numbers, and then plug in to the fitness function to get the decimal fitness. After the conversion, the genes (X1, X2, X3), need to be within the constraint of -1.0 <= Xi <= 1.0, i = 1, 2, 3. The next paragraph will tell you how to decode the bit string. The population size will be 20 individuals. That is, the goal is to find values of X1, X2, and X3 (in the given interval) that will cause f(.,.,.) to have the maximum value. Use proportional selection, single-point crossover, and bit-wise mutation. For the mutation method this time, just simply flip the bit if need to perform the mutation. Decoding Method: As the description above, each gene Xi is -1.0 <= Xi <= 1.0. Therefore in binary bit string, we set 0000000000 <= Xi <= 1111111111. From 0000000000 to 1111111111, they can represent 1024 numbers. From -1 to 1, the range is 2 so that 2/ 1023 = 0.001955, which means: 0000000000 = (-1)dec, 0000000001 = -1 + 0.001955 * 1 = (-0.99845)dec, 0000000010 = -1 + 0.001955 * 2 = (-0.99609)dec, … 1111111111 = -1 + 0. 0.001955 * 1023 = (0.999965)dec Use the decimal numbers converted from bit strings to evaluate the fitness function to get the fitness, so the fitness will be the decimal number also. Use the following parameter values: N (Population Size) = 20; pc (Crossover Rate) = 0.6 to 1.0; pm (Mutation Rate) = 1/30; max generations (for use as a stopping condition) = 50. For each of three “typical” single runs, report the following: At intervals of 10 generations, the best and the worst fitnesses in the current generation and the corresponding X-vectors; the average fitness of all the members of the current generation; the best-of-run solution (the vector and its fitness). Next, collect data on 30 independent runs, and then report, at intervals of 10 generations, the following averages (and the corresponding standard deviations) over 30 items: the best-of-generation fitness, the average-of-generation fitness, the best-of-run fitness. That is, these three quantities are each an average of 30 values.
Project ID: 16718595

About the project

4 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $139 USD for this job
User Avatar
Dear Client I have experience working in Java and android mobile development i can surely get this project done for you i think you should give me chance Client Satisfaction is my Top Priority I hope i wont disappoint you with my work You can see my reviews for my previous work Hope to see you in chat soon for further details
$155 USD in 3 days
5.0 (35 reviews)
4.7
4.7
User Avatar
Hello, I have read the details of the project and I can complete it as required with mu=y experience on it. Kindly check my profile https://www.freelancer.com/u/mzdesmag to see my past works and reviews. Thanks
$111 USD in 1 day
4.3 (16 reviews)
4.5
4.5
User Avatar
Hello, How you doing over there? I have seen your project requirement and I believe that it matches from skill set. I have my expertise in Java and I have been creating projects in other languages like C, C++ so I know exactly how to play with bits. Coming to my experience, I have total 6+ years of experience in doing professional and freelancer work. I assure you that if you will give me the opportunity to do this work for you then I promise you to deliever you the jewel. Please feel free to message me anytime. Thanks!!
$155 USD in 3 days
5.0 (5 reviews)
2.6
2.6

About the client

Flag of UNITED STATES
Saint louis, United States
5.0
11
Payment method verified
Member since Oct 27, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.