multiple decision variables in matlab programming

2 次查看(过去 30 天)
I currently have the linprog working with one decision variable. But is there a way to solve a program with 2 decision variables?
For example, my second decision variable is:
z = .5(x1 + x2).

回答(0 个)

类别

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