Multiobjective Genetic algorithm with integer variables

Hello,
How can i do a multiobjective GA optimization with integer variables constraint.
I usedThe GAMULTIOBJ, but it does not work for integer variables.
Thank you

Answers (3)

Sorry, currently there is no built-in function to perform integer-constrained multiobjective optimization.
Alan Weiss
MATLAB mathematical toolbox documentation

4 Comments

Hello,
is this fixed in the mean time? On the documentation page it is written integer variables can be used for multiobjective GA. Find Pareto front of multiple fitness functions using genetic algorithm - MATLAB gamultiobj - MathWorks Deutschland
The example in Live-Editor works fine but the same example does not work on my version in Matlab (R2020b). Is this available for later versions only?
Thank you
To find out, consult the Release Notes. There you see that integer constraints were first supported in gamultiobj in R2021b.
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Hello all,
Thank your for your continuous help and assistance.
I have a problem while running GAMULTIOBJ with integer variables. I set the population size and number of generations to 50. Consequently when generation terminated and plotting the pareto front, I got oniy 18 points where all of them are duplicated and some others should be omitted if GAMULTIOBJ is working properly.
Kindly find attached the results which i got. Thank you

1 Comment

This looks like a new question to me. I suggest that you repost this question as a new question so that people can see it and possibly answer it.
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

abduselam
abduselam on 14 Mar 2023
Edited: abduselam on 14 Mar 2023
I have the same above question?
Hello,
How can i do a Multiobjective GA optimization with binary variables constraint.
How can i get correct code of the multiobjective GA optimization with integer variables?.
I want your comment.

1 Comment

This looks like a new question to me. I suggest that you repost this question as a new question so that people can see it and possibly answer it.
Meanwhile, you can consult the Release Notes for R2021b.
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Asked:

on 21 Dec 2020

Commented:

on 14 Mar 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!