Linear Programming magnitude error

8 visualizaciones (últimos 30 días)
Krishna Subiyanto
Krishna Subiyanto el 8 de Nov. de 2019
Hello,
I have problem in using linear programming toolbox. When i input the parameter it say "LINPROG stopped because some objective or constraint matrix coefficients are too large in magnitude."
My equation is actually simple : 4.2e+218 X(1) + 3.5e+207 X(2) + 5.8e+218 X(3) + 6.7e+218 X(4) = 1
did i make any mistake in the input?
the input i write is shown below :
A=[1 1 1 1];
b=1;
f=[4.2e+218 3.5e+207 5.8e+218 6.7e+218]
x = linprog(f,A,b);

Respuestas (0)

Categorías

Más información sobre Linear Programming and Mixed-Integer Linear Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by