微透镜阵列里有上百个镜子,想以每个镜子的gamma作为变量进行优化,以得到比较均匀的光照。想问下这个优化该怎么设置呢?变量太多了,之前做过NSRAY的优化,但是总出现“Abnormal Optimization Run Completion - The optimizer cannot modify the variables because of restrictions imposed by active constraints. To allow optimization to continue,consider adjusting or disabling one or more of the constraints.”