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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!