convexchecker
This script may be easily converted to a function which could be an extremely useful subroutine in optimization problems to check whether the objective function is globally convex. It may also be used to derive the expressions for gradient and Hessian of the given multidimensional real valued function along with giving their values at the point entered. It uses Sylvester's criterion to check positive definiteness of the Hessian, as it checks whether all the principal minors of the Hessian are positive.
Cite As
Bapi Chatterjee (2024). convexchecker (https://www.mathworks.com/matlabcentral/fileexchange/23106-convexchecker), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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.5.0.0 | A small error was rectified |
||
1.4.0.0 | A very small mistake was rectified. |
||
1.3.0.0 | Actually there were no problems as such in the code except perhaps no help description was written. Now a good help description has been written. Also robust error checks have been added. |
||
1.0.0.0 |