ANN supported optimization with GA
6 views (last 30 days)
Show older comments
Hi guys,
I am making an optimal design. I have 3 inputs and 1 output. My goal is to maximise the output. There are like one million possibilities and it takes like 5 hours to test each possibility. So since I can`t test all the possibilities, I want to make an optimisation where I use ANN for approximation of the inputs and Genetic algorithm to select the maximum output.
1- So it will be like that: I will make like 20 tests with rondom inputs and get outputs for each test. After that, I will approximate my inputs using the 20 tests (its like generating 1000 tests from 20 tests). At the end, Genetic Algorithm will find the maximum output. How can I do it in MATLAB? Can you advise me some tutorial maybe?
2- If I can make accomplish the #1 once, I am thinking to do it like a loop. So, after getting one optimal design, I will put it together with first population, my population number will be 21. I will make again approximation with ANN, find maximum output with GA and test it again. I will make the same loop like 10 times. How can I do it? Actually it should not be difficult after accomplishing #1, I will repeat the same loop with a population that has more rondom test number.
Your help is very crucial for me, can you show me a way how to do it in MATLAB? Any material could be helpful. Please consider that I am relatively new to MATLAB.
Please see the attached graph to understand better what I say (ElFarra et al. 2012).
Thank you very much.
0 Comments
Accepted Answer
Alan Weiss
on 8 Aug 2017
It sounds like your "inputs" are either integer-valued or categorical, because you say that "...There are like one million possibilities...". So perhaps you would do well to use bayesopt from Statistics Toolbox. It is designed to take few function evaluations, and to make an internal model of the objective function. It works with integer variables or categorical variables. It might be easier to use than a combination of neural networks and the genetic algorithm.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
0 Comments
More Answers (1)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!