MATLAB: [HELP] fmincon to ga

fminconfmincon to gagagenetic algorithmGlobal Optimization ToolboxoptimizationOptimization Toolbox

Hi guys,
I have a o object function that i write for fmincon.
What should i change to minimize same object function by a ga(genetic algorithm) any tips,suggestions will be amazingly help me.
I explained the functions/problem/object (fitness) function better in comments below.

Best Answer

You shouldn't have to change anything!
In fact you can use ga as the coarse minimization method and then use fmincon as a 'HybridFcn' for the finer tuned minimization after ga has gotten close.
doc gaoptimset