cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Optimization with Genetic algorithm

Re: Optimization with Genetic algorithm

xb, xe, yb and ye are for 2D problem.

There is a trick for 5D problem  too! 

Re: Optimization with Genetic algorithm

I know they are for 2D problem, just wanted to make sure what they stand for. I don't like tricks 😛

Re: Optimization with Genetic algorithm

Could you give me some clue? 🙂 I've been struggling with this and have no slightest idea where to even look for.

Re: Optimization with Genetic algorithm

One method of the choking the minimum of the function of more than 2 argument:

x15.png 

Re: Optimization with Genetic algorithm

From the figure I see you use minimize function. Does the same applies to the MGA ? Would be a possibility to send the file in xmcd ?

Re: Optimization with Genetic algorithm


@Murarz wrote:

From the figure I see you use minimize function. Does the same applies to the MGA ? Would be a possibility to send the file in xmcd ?


Sorry, I have not the xmcd-file. But you can create it yourself using the picture.

I can create it myself too - but...

Re: Optimization with Genetic algorithm

Thank you 🙂 But can I this trick of yours apply to the 5-variable function for the genetic algorithm? I mean how should I specify xx,xn in this case since as you said it is for a 2D problem? To be honest I don't understand what you have achieved with this.

Was it about fixing 3 variables from the minimize function, and looking for other two from the genetic algorithm ?

Highlighted

Re: Optimization with Genetic algorithm

Can I get any piece of advice how to convert this genetic alg for a 5 variable function ?  I am still dealing with this but with no sucess. 😞

Re: Optimization with Genetic algorithm

x5.png

Re: Optimization with Genetic algorithm

Thanks for the reply. But I still can't connect the dots. I assume that it relates to the previous post with the guessed values and 2D plots while using the minimize function. But my point the whole time is in using this 5D function for the Genethic algorithm where there are many local minima. Will it work in this case too ? I mean how should I specify xe and xb ?