geatpy-dev / geatpy

Evolutionary algorithm toolbox and framework with high performance for Python
http://www.geatpy.com
GNU Lesser General Public License v3.0
2.02k stars 726 forks source link

使用NSGA3模板进行多目标优化时,若没有解能够满足CV矩阵中的约束,那么程序会报错吗?还是说不会报错,只是让NDSet的size=0? #265

Open zhiyunjiang opened 2 years ago

zhiyunjiang commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

geatpy-dev commented 2 years ago

很久以前的版本会主动抛出异常。最近几个版本,都不会。