Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when using "official" slsqp data #2302

Closed
nikohansen opened this issue Jun 12, 2024 · 1 comment
Closed

Warning when using "official" slsqp data #2302

nikohansen opened this issue Jun 12, 2024 · 1 comment

Comments

@nikohansen
Copy link
Contributor

When processing bbob/2020/SLSQP-11-scipy, I get the following warnings

[/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1052](https://file+.vscode-resource.vscode-cdn.net/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1052): UserWarning:   less than 15 instances in the set [1, 72, 78, 5, 76] (f23, 2D)
  warnings.warn('  less than ' + str(expectedNumberOfInstances) +
[/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1068](https://file+.vscode-resource.vscode-cdn.net/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1068): UserWarning: Some DataSet of SLSQP-11-scipy_Hansen was not consistent
  warnings.warn('Some DataSet of {0} was not consistent'.format(self.algId))  # should rather be in the previous messages
[/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:2424](https://file+.vscode-resource.vscode-cdn.net/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:2424): UserWarning: merged DataSet(SLSQP-11-scipy_Hansen on f23 2-D) getting an inconsistent data set DataSet(SLSQP-11-scipy_Hansen on f23 2-D)
  warnings.warn("merged {} getting an inconsistent data set {}".format(o, i))
[/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1052](https://file+.vscode-resource.vscode-cdn.net/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1052): UserWarning:   less than 15 instances in the set [1, 72, 78, 5, 76] (f23, 3D)
  warnings.warn('  less than ' + str(expectedNumberOfInstances) +
[/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:2424](https://file+.vscode-resource.vscode-cdn.net/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:2424): UserWarning: merged DataSet(SLSQP-11-scipy_Hansen on f23 3-D) getting an inconsistent data set DataSet(SLSQP-11-scipy_Hansen on f23 3-D)
  warnings.warn("merged {} getting an inconsistent data set {}".format(o, i))
[/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1052](https://file+.vscode-resource.vscode-cdn.net/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:1052): UserWarning:   less than 15 instances in the set [1, 72, 78, 5, 76] (f23, 5D)
  warnings.warn('  less than ' + str(expectedNumberOfInstances) +
[/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:2424](https://file+.vscode-resource.vscode-cdn.net/Users/hansen/opt/anaconda3/envs/coco/lib/python3.12/site-packages/cocopp/pproc.py:2424): UserWarning: merged DataSet(SLSQP-11-scipy_Hansen on f23 5-D) getting an inconsistent data set DataSet(SLSQP-11-scipy_Hansen on f23 5-D)
  warnings.warn("merged {} getting an inconsistent data set {}".format(o, i))

and many more with "less than 15 instances in the set" [4, 75, 2, 73, 79] (f6, 2D), [1, 72, 78, 5, 76] (f21, 2D), [4, 75, 2, 73, 79, 1, 72, 78, 3, 74, 80, 71, 77] (f8, 10D), [1, 72, 78, 5, 76, 4, 75, 71, 77, 3, 74, 80]...

The read data themselves look fine, all functions have the 15 instances [1, 2, 3, 4, 5, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80]. The distribution of the data over several files or folders seems to trigger the (unnecessary) warnings which is probably somewhat new?

@nikohansen
Copy link
Contributor Author

Will be fixed with the next push.

nikohansen added a commit that referenced this issue Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant