how to minimize one of the output and maximize the other output of the trained neural network with in the given lower and upper bound using the ga.

1 visualización (últimos 30 días)
i trained a neural network which has 3 input parameters and 2 outputs, if i want to minimize both the outputs i am using
objFcn = @(t) sim(net,t'); Where as if i want to maximize the both of the outputs i am using
objFcn = @(t) 1./sim(net,t'); and then after giving this as an objective function then i am giving commands in the command windows like this
nvars =3; LB= [40,10,6]; UB =[85,135,36]; [X,FVAL]=gamultiobj(objFcn,nvars,[],[],[],[].LB,UB)
now my question is , what should i do to maximize one of the output and minimize the other? i tried seperating the outputs and writing them in a function file ,but it didn't work plz give me some example . i hope i was able to make the question clear enough.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by