GENERICITY IN POLYNOMIAL OPTIMIZATION