- Write A=LLT as nonlinear constraints. This has the advantage it can be part of an NLP model and maintains the factorization during the solve. Of course, this makes the NLP (much) more difficult. Example gams model.
- Program a Cholesky algorithm directly in GAMS. Example gams model. This only works on parameters
- Call an external Cholesky solver. This is probably better for large matrices. Example gams model.
I am a full-time consultant and provide services related to the design, implementation and deployment of mathematical programming, optimization and data-science applications. I also teach courses and workshops. Usually I cannot blog about projects I am doing, but there are many technical notes I'd like to share. Not in the least so I have an easy way to search and find them again myself. You can reach me at erwin@amsterdamoptimization.com.
Wednesday, May 21, 2008
Cholesky Decomposition in GAMS
Three ways to do a Cholesky decomposition in GAMS:
Subscribe to:
Post Comments (Atom)
Thanks a lot! I am looking for the solution to this and I found your example.
ReplyDeleteAlso thanks for the "invert.exe"