Linear Programming magnitude error

8 次查看(过去 30 天)
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);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Programming and Mixed-Integer Linear Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by