I am afraid that your question is not really easy to understand. Could you clarify what you mean? You probably need to specify the problem that you would like to solve.
Usually it will depend on the kind of objective function you are working with (linear not linear, differential not differential), the dimensions of the program (how many variables and constraints) and the speed of resolution you want to achieve. This discussion will also drive you to some language/application to encode and/or execute the chosen algorithm (for instance languages/software as Fortran, C, R, GAMS, Cplex, Lindo, Matlab, etc...).
Thanks everyone. My objective is the design optimisation of brushless motor. . There are several publications on the optimisation techniques applied to motor design but on what basis do we select any algoritm.? Is there any literature on the selection of type of algorithms. I would also like to know what are the recent effective algorithms evolved.
I suggest you going into google academic and look for significant literature written on that topic. Then you'l begin having some idea on the already used algorithms and encodings. Just something to focus yourself on that matter! ;)