# Multi objective optimization using genetic algorithm

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.

• Why don't you try it out and see if it works? – Yuval Filmus Jul 10 '17 at 9:07
• 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. – Saifullah Khalid Jul 10 '17 at 17:24