Linprog of max LP
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
For

Runing the code:
% Linprog defined on min problem and Ax<=b for max problem take - objectiveFunction
%% The problem
objectiveFunction = -1 * [10 6 -8];
A = [5 -2 6; 10 4 -6];
b = [20 ;30];
%%Sloution 
linprog (objectiveFunction, A,b)
I get that "Problem is unbounded." but the answer seems to be 170/3 
3 comentarios
Respuestas (0)
Ver también
Categorías
				Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

