linprog for three dimensional variable

2 次查看(过去 30 天)
hi. Can I use matlab linprog to solve a problem with three dimensional variable?
Please guide. Thanks.

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-10-9
The dimensions of the optimization variable does not matter for linprog(). If the variable is 3D, it just means that f should have three elements, A should be x*3, and B should be x*1.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by