multiple decision variables in matlab programming

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).

Respuestas (0)

Preguntada:

el 23 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by