geatpy icon indicating copy to clipboard operation
geatpy copied to clipboard

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

Open zhiyunjiang opened this issue 2 years ago • 1 comments

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

zhiyunjiang avatar Mar 01 '22 06:03 zhiyunjiang

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

geatpy-dev avatar Mar 02 '22 01:03 geatpy-dev