simultaneous linear equations minimization by linprog command
2 ビュー (過去 30 日間)
古いコメントを表示
how can i minimize some simultaneous linear equations by 'linprog' command(script)? for example we have three variables and we want to minimize each of them such that the summation of variables is constant and also there are some other constraints. how can i compute minimum of each variable with mentioned command?
0 件のコメント
回答 (2 件)
Seth DeLand
2014 年 1 月 14 日
The summation of the variables being equal to a constant could be taken care of by an equality constraint. In that case, your Aeq matrix would be [1 1 1], and beq would be whatever you wanted the variables to sum up to.
There's a good video here that shows how to setup a linear optimization problem using linprog: http://www.mathworks.com/videos/mathematical-modeling-with-optimization-part-2-68974.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Linear Programming and Mixed-Integer Linear Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!