Maximize Linear Programming using linprog Problem is unbounded?
Mostrar comentarios más antiguos

Dear friends,
what is my mistake about the problem?
Your help would be highly appreciated!
clc,clear;
objectiveFunction = -1 * [2 -1 2];
A = [-1 -1 -1; 2 0 -1;0 -2 1];
b = [-6;-2;0];
lb = [0 0 0];
ub = [Inf Inf Inf];
%%Solution
linprog(objectiveFunction, A,b,[],[],lb,ub)
Respuesta aceptada
Más respuestas (1)
For M >= 4, choose
x1 = 0, x2 = M/2 , x3 = M
Then x = [x1,x2,x3] is feasible and the value of the objective is 3/2*M which can be made as big as you like.
Categorías
Más información sobre Linear Programming and Mixed-Integer Linear Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
