Skip to content

Fix max matrix size in SCIPexprComputeQuadraticCurvature #134

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

Conversation

MaximSmolskiy
Copy link
Contributor

@MaximSmolskiy MaximSmolskiy commented Apr 19, 2025

Problem that in comment and in calculation number 214748364 was used as INT_MAX, but INT_MAX is equal to 2^31 - 1 = 2147483647, so last digit was missed

@svigerske svigerske self-assigned this Apr 28, 2025
@svigerske
Copy link
Member

I suppose we can change it. But computing the eigenvalues+vectors for matrices of such large dimension with a dense code won't be particular fast. Using some sparse routines would be better here, but we don't have this available at the moment.

@svigerske
Copy link
Member

Applied this change to master via c952b3a.

@svigerske svigerske closed this May 1, 2025
@MaximSmolskiy MaximSmolskiy deleted the fix-max-matrix-size-in-SCIPexprComputeQuadraticCurvature branch May 1, 2025 15:31
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