High order sparse matrix LCP solver?

Please don't post Bullet support questions here, use the above forums instead.
Andrey Tuganov
Posts: 10
Joined: Mon Jan 01, 2007 9:04 pm
Location: Munich

High order sparse matrix LCP solver?

Post by Andrey Tuganov »

Hi! I was looking for a large (100-10000 rows) sparse matrix LCP solver in internet some time ago. I found one: PATH. It works but there are some drawbacks: I guess it?s not free; it?s bulky and not open. Hard to understand what?s inside, impossible to make tweaks. So I decide for a simple Gauss-Seidel algorithm. Is there anything what is already made, open and better than that? I tend to favor precision over speed.
Jan Bender
Posts: 111
Joined: Fri Sep 08, 2006 1:26 pm
Location: Germany

Post by Jan Bender »

Maybe you should take a look at PARDISO:

http://www.computational.unibas.ch/cs/s ... e/pardiso/

I use the commercial version of it which is integrated in the Intel MKL and it works well.

Jan
Andrey Tuganov
Posts: 10
Joined: Mon Jan 01, 2007 9:04 pm
Location: Munich

Post by Andrey Tuganov »

Looks like it solves Linear Equations not LCP. That I need too however, I'll try to compare it with UMFPACK.
ngaloppo
Posts: 11
Joined: Wed Dec 06, 2006 1:59 am
Location: Chapel Hill, NC

Post by ngaloppo »

I've used PARDISO. Indeed, I don't think it does LCP.

It's fast but I'm not convinced about its speed, especially about the backsubstitution part.

Let me know how it compares to UMFPACK, I'm interested.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

I asked Kenny Erleben, and he mentioned this link:

http://www.cs.wisc.edu/cpnet/

There is a bunch of libraries out there. CPNET got a small collection of links for some of these.

Also one can reformulate complimentarity problems, using smooth or nonsmooth reformulations. This will result in most cases result in typical constrainted optimization problems. If one do this then there is even more libraries out there that one can use... CPNET also got a lot of references to papers explaining these reformulations.

The downside is that most of these libraries are concerned with robustness and accuracy, they are not focused on game/graphics kind of numerics...
Erin Catto
Posts: 316
Joined: Fri Jul 01, 2005 5:29 am
Location: Irvine

Post by Erin Catto »

Often a physics problem can be expressed as a box constrained quadratic program (equivalent to an LCP). For that I recommend GPCG and variations.

http://citeseer.ist.psu.edu/benson99gpcg.html
Jan Bender
Posts: 111
Joined: Fri Sep 08, 2006 1:26 pm
Location: Germany

Post by Jan Bender »

Looks like it solves Linear Equations not LCP.
Sorry that was my mistake. I didn't read LCP.

Jan
ngbinh
Posts: 117
Joined: Fri Aug 12, 2005 3:47 pm
Location: Newyork, USA

Post by ngbinh »

IMHO, Tod Munson's PATH is one of the most stable LCP/NCP solver.
You can try their free version but the matrix size will be limited.