rajan sthapit
rajan sthapit

Reputation: 4354

Adding constraints for fmincon function in matlab

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

Upvotes: 1

Views: 630

Answers (1)

vharavy
vharavy

Reputation: 4981

Set lb parameter of fmincon function to some little value, 1.0E-08 for instance.

Upvotes: 2

Related Questions