Maximize z in the following linear program:

1 Ansicht (letzte 30 Tage)
Afuaab Koohg
Afuaab Koohg am 24 Sep. 2023
Kommentiert: Torsten am 24 Sep. 2023
I have a question about Linear program
Given A = [1 1; -1 1; 0 -1], b = [10;10;0]
maximize z
subject to A(i) * x + z ≤ b(i) ∀i ∈{2,3}
-A(t) * x + z ≤ -b(t) ∀t ∈{1}
z ≤ 1 \\* or any other constant
  8 Kommentare
Afuaab Koohg
Afuaab Koohg am 24 Sep. 2023
@Torsten: Could you share your code becauise I get
Torsten
Torsten am 24 Sep. 2023
Done.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by