-
Notifications
You must be signed in to change notification settings - Fork 4
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
LEDA is unavailable #1
Comments
Just wondering, did you find a solution to this? The only thing used from LEDA is the leda_real type, and I'm looking at an alternative exact math library - so far without much success, though. (The problem could be my integration code, though, not the library.) |
@JensRestemeier @kannoneer I did not try to replace using an exact library, a good starting point could be to check what they use for CGAL (https://www.cgal.org/) |
I experimented with RealExpr https://cs.nyu.edu/exact/realexpr/Expr.html - this version crashes with a stack overflow, and with a rewrite of RealExpr in "Core 2" https://cs.nyu.edu/exact/, which is far too slow. I was wondering, how efficient/effective were calculations with the leda_real type? I was going to experiment with a few more exact or arbitrary precision libraries, though it would be useful to know what the most promising direction is. Also, would it make sense to select a separate datatype for the initial polytope, and for the for CSG operation? |
I added support for GNU mpfr (https://www.mpfr.org/) which seems to improve things a bit, though I still need to verify the case where no CSG operation seems to take place. New dependencies are MPFR, GMP (https://gmplib.org/) and DearIMGUI ( https://github.com/ocornut/imgui ) |
@JensRestemeier Thanks for your interest in visilib. I was wondering if it would be possible to integrate your support for mpfr and GMP into the main branch of visilib. Do you plan to create a pull request for it? About you non recursive solve function implementation, does it help? I made the assumption in the past that at a level of recursion > 200, the algorithm was loosing himself in an infinite recursive loop, and that a stack less approach would lead to the same result... |
You're welcome to integrate the mpfr and gmp changes. The non-recursive function does seem to help, though it still doesn't seem to scale as well as I hoped. I was going to investigate the silhouette code, but I'm busy with other things for the moment. I was going to create a pull request once I've got everything working. You're welcome to take any code you find useful, though I would avoid the non-recursive function for now. |
First of all, thanks for sharing this amazing piece of software. But I'm having problems compiling with exact arithmetic support because LEDA library is not available anymore.
The website at http://www.algorithmic-solutions.info/free/d5.php says
Is there any workaround for this? I can build and run the demo without exact arithmetic support though.
The text was updated successfully, but these errors were encountered: