-
Notifications
You must be signed in to change notification settings - Fork 228
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
Constrained optimization (IPNewton?) for big numbers #651
Comments
Have you tried if it works already? If it doesn't, I believe it can be enabled fairly easily by relaxing the number type specifications in the relevant IPNewton code. I have not planned to do so myself, but it should not be too difficult so please have a go and make a PR :) |
That shouldn’t be a problem to get to work, if it doesn’t already. If BigFloats don’t work, I’d consider it a bug that should be fixed. |
Good to know it should work in general! And that the fix should be easy.
The rest of the code with big.() is below, but basically it will show the same "no method" issue in optimize():
|
This is positivefactorizations again? I’ll look into it, thanks for bringing it up |
I think this goes deeper than that. The error appears when IPNewton calls On Julia 0.6, you can create pivoted Cholesky factorization for BigFloat matrices, but they have only implemented On Julia 0.7, pivoted Cholesky factorization has not been implemented for non-BLAS types:
|
I guess we have
|
Hmm, I’ll have to be at a computer to understand the issue |
Sorry, I didn't explain the issue very well. Let me know if I should expand on what I mean after you've had the opportunity to look at it on a computer ;) |
I'm looking into solving a problem with Edit: I found out this is an issue with A = zeros(BigFloat, 0, 5)
b = zeros(BigFloat, 0)
A \ b |
+1 |
@edljk this fixed for me, I temporarily overload these methods until it's in the Julia version I'm using: JuliaLang/LinearAlgebra.jl#1080 |
Making |
Hello,
Following the JuliaLang/julia#647 and the fix JuliaLang/julia#648 (which works - thanks!). Are the any available options of constrained problems for BigFloat? Any plans to add methods for bigs to IPNewton or other options?
Thanks again!
The text was updated successfully, but these errors were encountered: