|
From: | Vijay Patil |
Subject: | Re: [Help-glpk] Irrational numbers |
Date: | Tue, 12 Aug 2008 17:00:27 +0530 |
Your semantics are incorrect.
Irrational means the number can not be represented as P/Q, where P and Q are integers.
For example, 1/3 is not irrational. It is a rational number that is repeating in the base 10 numbering system.
The sqrt(2) is irrational.
Note that your proposed fix – to represent the objective value using only integer coefficients – is not a fix in general since the course of the linear/integer program will probably have many non-integer values in the tableau.
More importantly, note that your problem has multiple optimal. x_1 = 0, x_2 = 6 is feasible with objective value of 1.
Your proposed solution of x_1=2, x_2=2 is feasible, with the same objective value of 1.
[Prev in Thread] | Current Thread | [Next in Thread] |