generate several scenarios and compare optimization result

3 views (last 30 days)
Hi all
i am doing optimization with genetic algorithm. i have n number of variables x=[x1, x2, x3,....xn]
X is calculated by eq: xn = Prop(n)/ Pmcr
i want the algorithm to make the following two scenarios,
for every (x < 0.3 )
scenario.1: replace it with (0) and complete the code until the end, and store the output value of fitness function as one of the solution
scenario.2: replace this x with (Prop(n) + Elec / Pmcr) and also go through a sequance of different operations until the end of code
both scenarios are to be excuted and compared by the optimization algorithm

Answers (0)

Community Treasure Hunt

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

Start Hunting!