I want to use ANN-GA hybrid method for optimization. I know the use of ANN toolbox in matlab. but dont know where i can find the modelling equation of ANN so that i can use that for GA in matlab toolbox?
Once you get your desire ANN model, you have to generate a function by clicking 'MATLAB Function' (Fig. 2).
Then you have to save the function (default name is 'myNeuralNetworkFunction').
(keep file name and function same) (Fig. 4)
Again, you have to create a custom function using 'myNeuralNetworkFunction'
For instance, the function name 'funct' (Fig. 5) (keep file name and function name same).
Now, your objective function is 'funct'. Here, a negative sign is given because the present study is for maximization. (GA toolbox only do minimization, therefore the function has been modified with negative sign). For minimization problem, please keep it positive.
Do not worry, there will be a negative value of an optimum objective function after GA optimization. However, you have to take the mod value of the function.