MATLAB: Can SPEA2 be used instead of inbuilt NSGA2 inmatlab

global optimizationlinear constrainstsMATLABnsga2spea2

I need to use SPEA2 for my research. I have standalone implementation of spea2 from Yarpiz but unfortunately it doesn't have support for linear constraints like matlab GA, so I wanted to ask if we can some how use spea2 instead of using inbuilt NSGA2. This way I feel we can use inbuilt genetic operations like mutationadaptfeasible. Otherwise, if some can share code of spea2 which can handle linear constraints. I would appreciate any help.

Best Answer

No, you cannot do that.
Also I would understand http://ieeexplore.ieee.org/document/7804288/ to mean that SPEA2 cannot handle constraint violation in its original form, which would be a problem for ga() and gamultiobj()