I have an objective function profit = income - expense . I want to solve it using genetic/evolutionary algorithm (strength pareto SPEA2). Since the algorithm is multi-objective so can I consider the income maximization as one objective and expense minimization as second objective?. I am using SPEA2 matlab code from YARPIZ. I am not sure whether this approach of breaking objective function is technically correct. Secondly, please also throw some light on how to do both conflicting objective simultaneously. The code in link is written for minimization of objective functions, but I have to minimize one and maximize other objective.

  • $\begingroup$ Why don't you try it out and see if it works? $\endgroup$ – Yuval Filmus Jul 10 '17 at 9:07
  • $\begingroup$ sir thanks for response, I did it by breaking, now I am faced with issue of how to apply constraints in strength pareto algorithm (SPEA2). I have bound constraints that variable is between 0 and 1 ( minimum 0 and maximum 1). Also the sum of decision variable should be 1. I would appreciate any help. $\endgroup$ – Saifullah Khalid Jul 10 '17 at 17:24

Just define profit as a variable and maximize porfit as your singular objective. In general the objective will depent on multiple variables indirectly and the variables will usually also depend on each other. If this is not the case there are probably much more effective solutions than genetic algorithms.

  • $\begingroup$ sir thanks for response. I will try your suggestion. $\endgroup$ – Saifullah Khalid Jul 10 '17 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.