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 8370057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:49:05+00:00 2026-06-09T13:49:05+00:00

I think different machine has different answer for this, let me assume this test

  • 0

I think different machine has different answer for this, let me assume this test is performed in same machine.

Actually I am thinking is it worth to implement Genetic algorithm to one of my problem which I assume it has combination/permutation about 20! (! is factoria, it is not really 20, it could be more or less).

If the number is within an allowable scope, I will use brute force (loop through all the possiblity) instread of using Genetic algorithm, because to design GA and the possibility factor (crossover, mutation rate) are not easy.

How am I going to determine whether GA is suitable for the problem domain?

  • 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-06-09T13:49:06+00:00Added an answer on June 9, 2026 at 1:49 pm

    Good question. There’s no precise answer, it depends on a few “rules of thumb” plus a bit of logic.

    My suggestions:

    • Do the maths to work out how long an exhaustive search will take. This is relatively straightforward, so it’s worth estimating this up-front. If the search space is large (and 20! is probably large enough….) then an exhaustive search is likely to be impractical – e.g. if each solution takes only 1millisecond to evaluate, then doing 20! will still take you 77 million years. Even running a parallel serach with 1000 cores will take 77 thousand years.
    • Remember that GAs don’t usually find the optimal solution – they will often converge to a “local minima” in complex problems. You’ll need to determine whether this is “good enough” for your needs (it often is).
    • Consider that GAs are relatively better when the evaluation function is computationally expensive (e.g. you have to run a small simulation to evaluate each solution). This is because the expensive evaluation makes the overhead of the GA algorithm itself basically irrelevant, and it is worth it because it avoids the evaluation of huge numbers of unfit solutions in the search space.
    • As you noted GAs are tricky to set up and fine-tune – in particular the choise of a good genotype representation and crossover / mutation operators will often make a huge difference to how effective your algorithm will be. You also need to be concious of how you maintain diversity in the population, how big you make each generation etc. It’s a fair project in itself to make a GA run well – there’s quite a lot of “black magic” involved that you will only learn with experience.

    Of course, it’s quite possible that neither exhaustive search nor GAs are right for your problem. Some problems are much better addressed by other approaches, and if you can find a smart algorithm that uses either dynamic programming or divide-and-conquer to solve your specific problem then you may find that your 77 million year exhaustive search can actually be solved in a millisecond. A better algorithm will always beat raw computational power once the problem becomes large enough.

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

Sidebar

Related Questions

There are many errors here in SO, but this scenario I think its different.
I've read other questions with similar titles and I think this is a different
I think it's awesome how PasteBin highlights different languages, how does it work?
I think that handlers in android are tools to get different objects that are
I am confused as android guide says two different things about the same thing.
How do you go about implementing FSM(EDIT:Finite State Machine) states? I usually think about
Similar questions has been asked a lot. But, I think my situation is a
We have an application running where IIS and SQL are on the same machine.
I have been trying to implement remote debugging in two different scenarios both without
If I have a UDP server repeatedly receiving requests from the same client machine,

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.