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

x-axis setup wrong in expensive setting #2097

Closed
brockho opened this issue Apr 11, 2022 · 6 comments
Closed

x-axis setup wrong in expensive setting #2097

brockho opened this issue Apr 11, 2022 · 6 comments
Assignees
Labels

Comments

@brockho
Copy link
Contributor

brockho commented Apr 11, 2022

Describe the bug
In the expensive setting, the x-axis is wrongly scaled in the latest cocopp version:

image

Before, we had way shorter runtimes (up to 10^3 times dimension only) displayed such that most of the plot wasn't just white. Many thanks to @rleriche for actually reporting this issue in a call earlier today.

Your System (please complete the following information when it seems relevant):

  • Operating system: shouldn't matter
  • COCO version: latest 2.6.2
@brockho brockho added the bug label Apr 11, 2022
@brockho
Copy link
Contributor Author

brockho commented Apr 19, 2022

I can reproduce the bug. Before the bugfix, you might want to go back to an old version:

  1. Download version 2.4 here: https://github.com/numbbo/coco/releases [download links are at the bottom of each release.]

  2. Because in previous versions like 2.4, we had hard-coded links to the previous webpage at coco.gforge.inria.fr which is now down and replaced by numbbo.github.io/data-archive/, an additional step has to be done: Once you downloaded and unzipped the file, you will have to find the file archiving.py in code-postprocessing/cocopp/ and replace the line

    coco_url = "https://coco.gforge.inria.fr/"

with

coco_url = "https://numbbo.github.io/data-archive"

  1. Then install the cocopp package from your local folder by typing within the folder where the file do.py is located:

    python do.py install-postprocessing

This worked for me and resulted in the correct x-axis again.

If the above does not work immediately, uninstall the cocopp module by typing pip uninstall cocopp --yes until the output says there is nothing to uninstall. Now, the python do.py install-postprocessing should work.

@nikohansen
Copy link
Contributor

We identified commit f5289e3 as a potential reason (though we don't understand how) and decided, due to lack of other ideas, to test whether the error remains before/after this commit specifically.

@nikohansen
Copy link
Contributor

Now I actually understand the problem, will provide a fix.

@nikohansen nikohansen self-assigned this Apr 21, 2022
@nikohansen
Copy link
Contributor

Should be fixed with the latest update of the development branch (though I didn't cross-check the output).

@rleriche
Copy link

rleriche commented Apr 21, 2022 via email

@nikohansen
Copy link
Contributor

nikohansen commented Apr 23, 2022

The fix 4a6cc23 is now in the development branch, 005f1c4 fixes the new comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants