Linear Programming magnitude error
8 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!