Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7436667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:16:35+00:00 2026-05-29T10:16:35+00:00

I use genetic algorithm in order to solve the NP-hard problem. In fact, it

  • 0

I use genetic algorithm in order to solve the NP-hard problem. In fact, it uses additional local search method, which is an ad-hoc procedure considering problem sprecifics.
Rephrasing the title:
I wonder whether bee/ant colony and PSO algorithms have default drawbacks in comparison to modern GAs?
Actually, I have to justify the choice of GA for solving my problem.
I intentionally don’t want to name the problem, just want to know default and evident (perhaps, unique) GA advantages. Let us pretend that we are given the task to advertise GAs and to criticize other state-of-the-art metaheuristics.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:16:36+00:00Added an answer on May 29, 2026 at 10:16 am

    The genetic algorithm in its canonical form was originally invented for optimizing problems that can be represented by a vector of binary values. If you have such a problem and you know nothing more about it, I’d say the GA is probably the first choice to apply. How such problems are optimized is described in the schema theory which is a neat theoretical basis.

    One problem I have with PSO is the difficulty in tuning the parameters. There is the swarm size, inertia weights, attraction to personal best and attraction to global best. Which are one discrete and three continous parameters. But it’s not so much the amount of parameters, but their effect. One can create all kinds of different swarm behaviors with these parameters and I have seen parameters advised as good ones that are counter-intuitive. Our PSO implementation for example, which is based on the PhD thesis of Pederson defaults to a negative personal best attraction.

    The GA on the other hand has the population size, mutation rate, the crossover, mutation operator, and selection operator. That’s 4 discrete and only one continuous parameter. That may seem much at first, but often, you choose between two or three crossover operators and maybe two or three mutation operators and mutation rate usually doesn’t have such a big effect on the performance as long as it’s > 0. You probably set it to either 5 or 10% and be done with it. That leaves you with population size and selection operator to tune, something which isn’t very difficult. So basically you try about 4-5 different parameter configurations and already get a good picture if it’s able to solve the problem or not. I have to admit, some implementations also have a crossover probability.

    Additionally a GA can also be used for combinatorial optimization, so it can do binary problems, continuous problems, combinatorial problems and thus has many more applications. I think that’s also one reason for its popularity.

    So I think GA is a more robust algorithm with respect to its parameters (its behavior does change of course, but not in the same dramatic way that it does in a PSO). Also it’s wider applicable since it’s not restricted to continuous search spaces.

    Btw, if you’re interested, we’ve developed a software where many such algorithms are implemented and also a number of problems. We use it for solving new problems, and comparing algorithms, as well as parameters. It’s called HeuristicLab and runs on Windows (it has a GUI).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem which I am trying to solve with genetic algorithms. The
I've implemented a genetic algorithm in java to solve the traveling salesman problem for
I'm looking for a practical application to use a genetic algorithm for. Some things
In our program we use a genetic algorithm since years to sole problems for
I recently faced a problem of presenting the output of simple genetic algorithm that
I am trying to write a genetic algorithm for homework to solve the travelling
I use a generic algorithm to write CSV files that in theory works for
I have been working on the Knapsack problem using genetic algorithms. But I have
I'm new to genetic algorithms and I've been assigned to implement a genetic algorithm
Currently I am working on a project that would use genetic algorithms to optimize

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.