A Quadratic programming API
Version 1.0.1 (1.77 MB) by
Alain Barraud
At Matlab prompt enter QPBench. A full screen APi appears which gives you the possibility to create QP Problem with known solution.
QPBench is a self contained API to create dense QP problem with known solution and solves it with 3 included solvers : quadprog, Goldfarb Idnani and CPL from Opti Toolbox. Any user solver can be added for checking purpose or testing. The inclusion of CPL can be considered as a exemple to include any new solver according to quadprog like interface. CPL is originnaly a C code which appears here as mexw64 file and its wrapper. If matlab optimization toolbox is not available, a quadprog like code is included as an interface to matlab freely available qpsub file. Many extensions could be added in the future to produce problem with empty feasible domain, unbounded variables, integers constraints.....
This first version however offers the possiblity to manage the dificulty to solve numerically the computed problems, with or without equality constraints, inequality constraints, and to control how many constraints are active at optimum.
Cite As
Alain Barraud (2024). A Quadratic programming API (https://www.mathworks.com/matlabcentral/fileexchange/124260-a-quadratic-programming-api), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with R2017a to R2022b
Platform Compatibility
Windows macOS LinuxTags
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.