Skip to content

Solving Scheduling Problem (VRP) Using Genetic Algorithm in Pymoo #254

Answered by blankjul
ZaRiyam asked this question in Q&A
Discussion options

You must be logged in to vote

Hi ZaRiyam,

Yes, MILP and genetic algorithms might approach optimization problems very differently.

For mixed variables problems, I recommend having a look at customization.
I have written an example for subset selection: https://pymoo.org/customization/subset.html
Basically, you define your own operators (sampling, crossover, mutation) that operate on the genotype.

The information about your problem is not sufficient to give a direct answer to your question. But I recommend first thinking about the genotype representation and the operators.

Keep in mind that the GA approach is different. For instance, for the TSP problem where you intend actually trying to find a permutation (let us say …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZaRiyam
Comment options

Answer selected by ZaRiyam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants