Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.
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

Description

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions