LCP / MCP solver (Newton-based)
Version 1.0.0.0 (2.79 KB) by
Yuval
Solve the Linear Complementarity Problem.
x = LCP(M,q) solves the LCP
x >= 0
Mx + q >= 0
x'(Mx + q) = 0
x = LCP(M,q,l,u) solves the generalized LCP (a.k.a MCP)
l < x < u => Mx + q = 0
x = u => Mx + q < 0
l = x => Mx + q > 0
x = LCP(M,q,l,u,x0,display) allows the optional initial value 'x0' and
a binary flag 'display' which controls the display of iteration data.
Cite As
Yuval (2025). LCP / MCP solver (Newton-based) (https://www.mathworks.com/matlabcentral/fileexchange/20952-lcp-mcp-solver-newton-based), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Weather and Atmospheric Science in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |