Giter Site home page Giter Site logo

Comments (11)

dpo avatar dpo commented on August 25, 2024 1

It's not difficult, but there's the risk that I would shift a zero pivot the wrong way, adding or taking away curvature in the wrong place. However, as you might notice in the paper I quoted above, there are reasons related to optimization for introducing such regularizations at the optimization level. We did something similar for SDP, so I'm quite sure you could argue the same for conic optimization: https://dx.doi.org/10.1080/10556788.2016.1235708.

See also #9.

from ldlfactorizations.jl.

dpo avatar dpo commented on August 25, 2024 1

ps: it's automatic in https://github.com/JuliaSmoothOptimizers/LimitedLDLFactorizations.jl

from ldlfactorizations.jl.

dpo avatar dpo commented on August 25, 2024 1

A complete factorization using this package should be more efficient that with LimitedLDLFactorizations, and implementing limited factorizations in this one is probably more difficult.

from ldlfactorizations.jl.

dpo avatar dpo commented on August 25, 2024

Does this help: https://doi.org/10.1137/S0895479897321088 ?

from ldlfactorizations.jl.

dpo avatar dpo commented on August 25, 2024

Also if you slightly regularize the zero block (to make it negative definite), an LDL' factorization always exists and the performance of your code should not be affected much.

from ldlfactorizations.jl.

chriscoey avatar chriscoey commented on August 25, 2024

Thank you! So if I have a situation like [0 A'; A H] where H is PSD, you suggest replacing the zero block with say -1e-10 * I? is there a reason why negative definite works better than positive definite in the 0 block?

from ldlfactorizations.jl.

dpo avatar dpo commented on August 25, 2024

It makes the matrix quasi-definite. If H isn't posdef, you could also add a small multiple of the identity to it. You'll want to use -1.0e-8 * I (square root of machine epsilon) or larger. See, e.g., https://dx.doi.org/10.1007/s12532-012-0035-2 and references in there.

from ldlfactorizations.jl.

chriscoey avatar chriscoey commented on August 25, 2024

Thank you! That was very helpful. I think I know how to proceed, and I'll close the issue.

Would be great if this was automatic in your package. Not sure how feasible that would be.

from ldlfactorizations.jl.

chriscoey avatar chriscoey commented on August 25, 2024

Fascinating. I will think more carefully about the curvature point in the conic context. Thank you!

from ldlfactorizations.jl.

chriscoey avatar chriscoey commented on August 25, 2024

Another question: why have both this package and the limitedldlfactorizations.jl package?

from ldlfactorizations.jl.

chriscoey avatar chriscoey commented on August 25, 2024

Good to know. Thanks!

from ldlfactorizations.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.