fmincon or linprog use in minimization?
3 views (last 30 days)
Show older comments
Hi community,
As I am busy trying to optimize the function I encouter quite some difficulties. As I am not certain which optimization function to use( fmincon or linprog)? The letters are vectors and A is a m*n matrix. I am trying to optimize the values of Z & Y. In which antother problem arises as well, since z and y have different dimensions. Z is a 1x1 vector ( a number) and Y is a 2x1 vector. Does someone has a tip on which function to use and how to deal with the dimensional problems of the decision variables? Thankyou
min (l-q).'*z-s.'*y
s.t. y=x-A.'*z
0<z<d , y>0
1 Comment
Accepted Answer
More Answers (2)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!