Adding constraints for fmincon function in matlab
-
08-06-2021 - |
Question
I want to add some constraints in the fmincon function. I have three parameters such that all the three parameters should have value greater than 0 . How can I implement this using fmincon function in matlab
Solution
Set lb
parameter of fmincon
function to some little value, 1.0E-08
for instance.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow