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

simple scheme of choosing a column for gomory cut #7039

Closed
wants to merge 4 commits into from
Closed

Conversation

levnach
Copy link
Contributor

@levnach levnach commented Dec 5, 2023

The idea is to choose columns with small non-integral part, and, of course, randomize the choice. Break the equality by comparing usage_in_terms.

unsigned k = random() % n;

double k_ratio = k / (double) n;
k_ratio *= k_ratio*k_ratio; // square k_ratio to make it smaller
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a cube, not a square

@levnach levnach closed this Dec 19, 2023
@levnach levnach deleted the gcut branch December 19, 2023 19:09
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

Successfully merging this pull request may close these issues.

2 participants