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

Swapping out objective function with open-source equivalent #2

Open
sgbaird opened this issue Oct 11, 2022 · 2 comments
Open

Swapping out objective function with open-source equivalent #2

sgbaird opened this issue Oct 11, 2022 · 2 comments

Comments

@sgbaird
Copy link
Member

sgbaird commented Oct 11, 2022

https://github.com/VasiliBaranov/packing-generation

VasiliBaranov/packing-generation#15 (comment)

@sgbaird
Copy link
Member Author

sgbaird commented Dec 13, 2022

@MrJasonBear I'd like to swap out the NGIS executable with the open-source implementation in the packing-generation repo. Then I'd like to have simulations for ~10k points, each repeated ten times (total 100k simulations). I'm planning on 100 particles per simulation to make the computations faster. To do this, it would help a lot if the open-source implementation was available on PyPI (i.e. pip-installable). This makes it so:

  • Running on a high-performance computing platform (in our case, CHPC) becomes trivial via e.g. submitit
  • Others can reproduce or extend the results more easily
  • It makes it easier for us to integrate into future projects

It's more challenging to get C++ working on PyPI than if it were pure Python code. There is some discussion about how to do that here VasiliBaranov/packing-generation#10 (comment). @MrJasonBear do you mind looking into this more to see if it's feasible?

@sgbaird
Copy link
Member Author

sgbaird commented Dec 14, 2022

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