Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

maximal weights allowed and int overflow problem #68

Open
zhiyuan8 opened this issue Nov 19, 2019 · 0 comments
Open

maximal weights allowed and int overflow problem #68

zhiyuan8 opened this issue Nov 19, 2019 · 0 comments

Comments

@zhiyuan8
Copy link

Greetings editors,
I have a graph with very imbalanced weights. There are 2000 edges, and around 1000 of them have weights 10 million. When partition, I get a negative cutting edge cost which indicates int overflow.
In your src/metis.h, it is specified:
#define IDXTYPEWIDTH 64
Then I modified REALTYPEWIDTH to be 64:
#define REALTYPEWIDTH 64

However, after I build it by:
sudo python3 setup.py install

The test case still reports a negative cutting edge cost. May I know how to fix this issue? Thanks!

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

No branches or pull requests

1 participant