Linear Programming magnitude error

8 visualizzazioni (ultimi 30 giorni)
Krishna Subiyanto
Krishna Subiyanto il 8 Nov 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);

Risposte (0)

Categorie

Scopri di più su Linear Programming and Mixed-Integer Linear Programming in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by