How can I use GA to specific variants with discrete variables?

2 views (last 30 days)
Good morning!
I'm optimizing using GA. In my problem I have several variants (eg A, B, C, ...) for which certain data are specified. I would like to choose the best variant but I do not know how to save this problem. Here, my variables are basically known and correlate with each other (eg for variant A variable 1 is 0.25 and variable 2 is 0.5, in variant B variable 1 is 0.4 and variable 2 is 0.7 etc.). Please help. There will be a lot of criteria functions and I do not know if GA is justified here.
Magda

Answers (1)

Stephan
Stephan on 25 Jun 2019
  1 Comment
Magdalena Gicala
Magdalena Gicala on 25 Jun 2019
Thank you, Stephan!
I know this solution, but in my case the variables are interrelated and they together determine the given variant. For example, IF variable 1 is 0.25 and variable 2 is 0.5 THEN it is variant A, IF variable 1 is 0.4 and variable 2 is 0.7 THEN it is variant B etc. Then I have criteria such as cost and performance and I want to choose the best variant...

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!