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

LUDecomposition error in a mixed bootstrap program #28

Closed
shachrazad opened this issue Dec 12, 2017 · 9 comments
Closed

LUDecomposition error in a mixed bootstrap program #28

shachrazad opened this issue Dec 12, 2017 · 9 comments

Comments

@shachrazad
Copy link

I am currently trying and failing to implement a mixed bootstrap program. A truncated system for one correlation function with 1x1 polynomials matrices works, but the full system with 2x2 polynomial matrices does not.

I keep getting the error message

"sdpb: src/Matrix.cpp:196: void LUDecomposition(Matrix&, std::vector&): Assertion `info == 0' failed.
Aborted (core dumped)"

What causes this error? Is it a mistake in the implementation of the normalization condition or of the polynomial matrices?

@davidsd
Copy link
Owner

davidsd commented Dec 13, 2017 via email

@shachrazad
Copy link
Author

Well, the program itself is kind of complicated to show here but I can reproduce the error message in a simple setting. If I take the example in "Bootstrap2dExample.m" and then add a extra {0} to all the polynomials as well as to the norm and the objective, then the same mistake appears. I would have thought that nothing bad would happen by such an addition.

@davidsd
Copy link
Owner

davidsd commented Dec 13, 2017 via email

@shachrazad
Copy link
Author

Ok, so no flat directions for the function. I am however not fully sure what that means exactly. In the simplest case of "Bootstrap2dExample.m", the pols are 1x1 matrices, pols={V1(x),....,V_S(x)}, where I dropped the prefactors. Each of the V_i is a vector of the same length as norm. Is the existence of a flat direction equivalent to the existence of a vector alpha, s.t. alpha.V_i=alpha.norm=0 and also alpha is independent of x? That can be hard to find....

As a side note, multiplying the polynomials by x (not the prefactor, so basically doing
pols=pols/. PositiveMatrixWithPrefactor[a_,b_]:> PositiveMatrixWithPrefactor[a, x b])
leads to a different error, namely "Segmentation fault (core dumped)"

@davidsd
Copy link
Owner

davidsd commented Dec 13, 2017 via email

@shachrazad
Copy link
Author

I did find the zero directions. Thanks again for the help!

@davidsd
Copy link
Owner

davidsd commented Dec 14, 2017

Great! If you have time, it would be great if you could add a few sentences to the manual describing the error and how to fix it.

@davidsd davidsd closed this as completed Dec 14, 2017
@shachrazad
Copy link
Author

"it would be great if you could add a few sentences to the manual describing the error and how to fix it."
Sorry for my ignorance, but where can I add this? I'll gladly do it.

@davidsd
Copy link
Owner

davidsd commented Dec 14, 2017 via email

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

No branches or pull requests

2 participants