Apply Restrictions
Version 1.2.0.0 (6.03 KB) by
Tyler Ransom
Implements parameter restrictions for optimization problems
applyRestr.m implements parameter restrictions for optimization problems (most notably, fminunc). applyRestrGrad implements these parameter restrictions on the analytical gradient. The file example_constraints.m shows how to use these on a very simple dataset, auto.mat (also included).
Cite As
Tyler Ransom (2024). Apply Restrictions (https://www.mathworks.com/matlabcentral/fileexchange/47284-apply-restrictions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Optimization Toolbox in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Conditional Logit, normalMLE.m
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.