How to indicate I am looking for the minimum value using a Genetic Algorithm in Matlab Optimization Toolbox -
How to indicate I am looking for the minimum value using a Genetic Algorithm in Matlab Optimization Toolbox -
i using optmization toolbox in matlab multi objective solver using genetic algorithms , need know how specify looking 2 values create function minimum:
function y = gamultiobjectivefunction(x) q=x(1); d=x(2); y(1) = -(rev(q) - cost(q, d)); %by minimizing create -(profit) minimum, %meaning +(profit) maximum y(2) = 3*(power(q, 1.4))*((log(power(q,3)*d))/(d+10))+(rand*30); end when run it, gives me results create sense, not know how tell toolbox lower 2 functions are, better.
i appreciate help, give thanks you
algorithm matlab optimization genetic-algorithm
Comments
Post a Comment