Given that the weak principle of EES software is its inability to perform multi-objective optimization, at least without external help, I'd like to know how to use Matlab's genetic algorithm in EES without modifying the program set up in EES, which will enable me to minimize the payback period and maximize the thermal and exergy efficiencies of a combined cooling and power generation cycle by defining four independent variables.If anyone out there has ever solved a case like this, please let me know.Thanks in advance.