Professional Documents
Culture Documents
Abstract
Basic characteristics and the solvability of linear systems in max-min algebra are presented. It
is shown how to compute maximal and minimal solutions for two-sided problem A ⊗ x =
B ⊗ x for matrices of type (1, n). The basic problem for matrices of type (1, n) is extended by
adding an upper bound and a lower bound for the solution. Concrete examples are provided
for better understanding of computation principles in max-min algebra. Reader can try the
presented algorithms on the web site. Algorithms are implemented in programming language
Java and are offered as an open library.
Key words: max-min algebra, two-sided problem
For matrices A, B over R we can define operations ⊕, ⊗ analogously as in linear algebra over
R with addition and multiplication. We assume matrices A, B of suitable types.
Example 1
5
(3 7 2) ⊗ 4 = (3 ⊗ 5) ⊕ (7 ⊗ 4) ⊕ (2 ⊗ 9) = 3 ⊕ 4 ⊕ 2 = 4
9
Two types of matrix equation are of interest in extremal algebras. The first type is the problem
of the form A ⊗ x = b (one-sided problem), with matrix A on the left-hand side and with the
right-hand side vector b. Such a matrix equation corresponds to a system of linear equations,
as we know it from linear algebra.
The second type of matrix equation is of the form A ⊗ x = B ⊗ x (two-sided problem) , with
matrices on both sides of the equation. In the extremal algebras there is no inverse operation
to ⊕, and hence the matrix B on the right side cannot be transferred to the left side of the
equation.
In this paper we solve the two-sided problem for matrices of special type (1, n). Let us denote
two matrices A, B of type (1, n) and vector of unknown values x of type (n,1), sets of indexes
M = {1, 2, …, m}, N = {1, 2, …, n}. We are looking for the maximal or minimal solution
x = ( x1 , x 2 ,..., x n ) T of linear equations of the system
A ⊗ x=B ⊗ x (1)
For given matrices A, B, the set of all solutions to the system (1) is denoted by S (A, B).
Equivalently, we are looking for maximal values of the unknown vector x satisfying the
equation
max j =1..n (min( a1 j , x j )) = max j =1..n (min(b1 j , x j )) , j = 1, …, n.
n n
Let us denote a = max j =1..n (a11 , L , a1n ) = ⊕ a1 j , b = max j =1..n (b11 , L , b1n ) = ⊕ b1 j . There are 3
j =1 j =1
possibilities: a = b, a < b, or a > b. The following Lemmas describe the first two cases; the
third case can be described analogously as the second one.
x1 = ∞ , x 2 =5 because a2 > b, x 3 = ∞ , so x = ( ∞ , 5, ∞ )
Remark 1
Maximal solution with given lower-bound constraint (l1 ,...l n ) T ≤ ( x1 ,...x n ) T - is defined
analogously as the maximal solution without restriction. If maximal solution without
restriction is not greater or equal than the given lower bound l, than system A ⊗ x=B ⊗ x,
l ≤ x has no maximal solution. In other cases solution is the same, as the solution of the
system without any restriction.
exist 3 possibilities: a = b, a < b, or a > b. The following Lemmas describe the first two cases;
the third case can be described analogously as the second case.
Example 4
Example of exactly one minimal solution, a > b:
A ⊗ x =B ⊗ x , set equation with values:
x1 x1
(5 7 3) ⊗ x 2 = (3 5 4) ⊗ x 2 .
x x
3 3
6
n n
l = 4 , a = ⊕ (a j ⊗ l j ) = ⊕ (5 ⊗ 6, 7 ⊗ 4, 3 ⊗ 6) = 5,
j =1 j =1
6
n n
b = ⊕ (b j ⊗ l j ) = ⊕ (3 ⊗ 6, 5 ⊗ 4, 4 ⊗ 6) = 4,
j =1 j =1
x = (6, 5, 6).
7. Conclusions
This paper describes the notation of max-min algebra and shows how to compute maximal
and minimal solution for two sided problem A ⊗ x = B ⊗ x for matrices of type (1, n), which is
further extended by adding upper bound and lower bound and provided with examples.
Algorithm is implemented in programming language Java and is free available on the web
site.
Alena Pozdílkova, Pavel Krbálek, Department of Information Technologies, Fakuty of
Informatics and Management, University of Hradec Králové, Rokitanského 62, 500 03
Hradec Králové, Pavel.Krbalek@uhk.cz, Alena.Pozdilkova@uhk.cz
Literature
1. Butkovič, P., Zimmermann, K.: Strongly polynomial algorithm for solving two-sided
systems of (max, plus)-linear equations, Discrete Applied Math. 154 (2006), pp. 437-446.
5. Myšková, H.: Solvability of interval systems of fuzzy linear equations., Proc. of the
International Conference Mathematical Methods in Economics and Industry 2007,
Herlany (Slovakia), pp. 153-157.