Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
LCPSolve(M,q) solves the linear complementarity problem:
w = M*z + q, w and z >= 0, w'*z = 0
The function takes the matrix M and the vector q as arguments. The function has three return variables. The first the vectors w and the second is the vector z, found by complementary pivoting. The third return is a 1 by 2 vector. The first component is a 1 if the algorithm was successful and a 2 if a ray termination resulted. The second component is the number of iterations performed in the outer loop.
We acknowledge the work LCPSolve.py in the OpenOpt python package by Rob Dittmar, Enzo Michelangeli and IT Vision Ltd
Zitieren als
Andreas Almqvist (2026). A pivoting algorithm solving linear complementarity problems (https://de.mathworks.com/matlabcentral/fileexchange/41485-a-pivoting-algorithm-solving-linear-complementarity-problems), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert: An LCP solution of the linear elastic contact mechanics problem, A cavitation algorithm
Allgemeine Informationen
- Version 1.1.0.0 (3,07 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.0 | Including all authors in the copyright |
||
| 1.0.0.0 |