PlatEMO icon indicating copy to clipboard operation
PlatEMO copied to clipboard

NaNs in Hypervolume Calculation for M>3

Open sohailreddy opened this issue 4 years ago • 2 comments

The hyper volume calculation for test problem with M>3 yields NaNs. This probably has to do with Monte Carlo computation for the HV? I tried it with Two_Arch2 and RVEA on WFG1-9 and DTLZ1-4 problems with M=3,5,8,10,15. HV calculations with M=3 are fine but M>3 always give NaNs.

image

sohailreddy avatar Oct 06 '20 21:10 sohailreddy

Hello, the HV for high dimensions is calculated based on GPU, which will be error and return NaN if the GPU calculation is not supported on the device. The GPU calculation can be closed in Lines 57-58 of the file HV.m.

DestinyMy avatar Oct 09 '20 13:10 DestinyMy

@DestinyMy Add a Switch button to turn on/off the GPU calculation feature? Let's add it to the TODO list.

anonymone avatar Dec 04 '20 04:12 anonymone