Escolar Documentos
Profissional Documentos
Cultura Documentos
r
X
i
v
:
1
3
0
4
.
7
4
6
1
v
1
[
m
a
t
h
.
O
C
]
2
8
A
p
r
2
0
1
3
A Maximization Problem in Tropical Mathematics:
A Complete Solution and Application Examples
Nikolai Krivulin
Abstract
A multidimensional optimization problem is formulated in the trop-
ical mathematics setting as to maximize a nonlinear objective function,
which is dened through a multiplicative conjugate transposition op-
erator on vectors in a nite-dimensional semimodule over a general
idempotent semield. The study is motivated by problems drawn from
project scheduling, where the deviation between initiation or comple-
tion times of activities in a project is to be maximized subject to var-
ious precedence constraints among the activities. To solve the uncon-
strained problem, we rst establish an upper bound for the objective
function, and then solve a system of vector equations to nd all vec-
tors that yield the bound. As a corollary, an extension of the solution
to handle constrained problems is discussed. The results obtained are
applied to give complete direct solutions to the motivating problems
from project scheduling. Numerical examples of the development of
optimal schedules are also presented.
Key-Words: tropical mathematics, idempotent semield, opti-
mization problem, nonlinear objective function, project scheduling.
MSC (2010): 65K10, 15A80, 90C48, 90B35
1 Introduction
Optimization problems that are formulated and solved in the framework of
tropical mathematics oer an evolving research domain in applied mathe-
matics with an expanding application scope. Tropical (idempotent) math-
ematics deals with semirings with idempotent addition and dates back to
pioneering works [1, 2, 3, 4, 5, 6], which were inspired by real-world problems
in operations research, including optimization problems.
The tropical optimization problems under consideration are set up in
the tropical mathematics setting to minimize or maximize linear and non-
linear functions dened on nite-dimensional semimodules over idempotent
= (a
ij
) X
nm
with
entries a
ij
= a
1
ji
. For two conforming matrices A and B without zero
entries, the entry-wise inequality A B implies the inequality A
.
Consider square matrices in X
nn
. A square matrix that has 1 on the
diagonal and 0 elsewhere, is the identity matrix denoted by I . The power
notation with nonnegative integer exponents is used to represent repeated
multiplication by the same matrix with A
0
= I for any A X
nn
.
For any matrix A = (a
ij
) X
nn
, the trace is given by
tr A =
n
i=1
a
ii
.
A matrix is reducible if it can be put in a block-triangular form with
zero blocks above (or below) the diagonal by simultaneous permutation of
rows and columns. Otherwise, the matrix is considered to be irreducible.
Any matrix with regular columns (rows) has only nonzero entries, and so
irreducible.
It is not dicult to see that, for any irreducible matrix A X
nn
, the
matrix I A A
n1
has no zero entries.
Any matrix of one column presents a column vectors. The set of column
vectors with n components over X is denoted by X
n
and forms a nite-
dimensional idempotent semimodule with respect to vector addition and
scalar multiplication. A vector with all components equal to 0 is the zero
vector. A vector is called regular if it has no zero components.
For any regular column vector x = (x
i
) X
n
, there dened a multi-
plicative conjugate transpose x
= (x
i
) as a row vector with components
x
i
= x
1
i
. It is not dicult to verify that if a vector x is regular, then
xx
I . For any two regular vectors x and y of the same order, it holds
that (xy
= yx
.
To simplify some further formulae, we introduce, for any vector x X
n
and matrix A X
mn
, idempotent analogues of the vector and matrix
norms
|x| =
n
i=1
x
i
, |A| =
m
i=1
n
j=1
a
ij
.
6
Denote by 1 a vector with all components equal to 1. Now we can write
|x| = 1
T
x, |A| = 1
T
A1.
For any vectors x and y of the same order, it holds that |xy
T
| =
|x||y|.
3.3 Linear equations and inequalities
Assume A X
mn
to be a given matrix and d X
n
a given vector.
Consider a problem to nd solutions x X
n
to a general equation
Ax = d.
A complete direct solution of the problem is given in a vector form in
[32, 33]. In what follows, we need a solution to a particular case when
m = 1. Given a vector a X
n
and a scalar d X, the problem is to solve
an equation
a
T
x = d. (4)
Based on the solution of the general equation, a solution to (4) is as
follows.
Lemma 1. Let a = (a
i
) be a regular vector and d > 0 a scalar. Then
the solutions of equation (4) form a family of solutions each dened for a
particular i = 1, . . . , n as a set of vectors x = (x
i
) with components
x
i
= a
1
i
d,
x
j
a
1
j
d, j ,= i.
Now we present solutions to another problem to be used below. Given
a matrix A X
nn
, consider a problem of nding regular solutions x X
n
that satisfy an inequality
Ax x. (5)
To describe a solution given in [31, 32], we make some denitions. For
each matrix A X
nn
, a function is introduced that yields a scalar
Tr(A) = tr A tr A
n
.
Under the condition that Tr(A) 1, we further dene an asterate of A
to be the matrix
A
= I A A
n1
.
A direct solution to inequality (5) is given by the next result.
Theorem 2. Let x be the general regular solution of inequality (5) with an
irreducible matrix A. Then the following statements hold:
1. If Tr(A) 1, then x = A
Bx(Ax)
p. (6)
Below a solution to the problem is obtained under fairly general assump-
tions. Furthermore, a solution is given to a particular case of the problem.
An extension of the solution to handle constrained problems is also discussed.
4.1 The main result
The next statement oers a direct complete solution to problem (6).
Theorem 3. Suppose A is a matrix with regular columns, B is a column
regular matrix, p and q are regular vectors. Dene a scalar
= q
BA
p. (7)
Then the maximum in problem (6) is equal to , and attained if and
only if the vector x = (x
i
) has components
x
k
= a
k
p,
x
j
a
1
sj
p
s
, j ,= k,
(8)
for all > 0 and indices k and s given by
k = arg max
1in
q
b
i
a
i
p, s = arg max
1im
a
1
ik
p
i
.
Proof. To verify the statement, we rst show that (7) is an upper bound
for the objective function in problem (6). Then we validate that the regular
vectors x dened as (8) yield the bound, whereas any other vector does not.
Obviously, if a vector x is a solution to (6), then any vector x for all
> 0 is also a solution, and hence the solution to the problem is scale-
invariant.
Since it holds x(Ax)
= (Axx
Bx(Ax)
p q
BA
p = .
To nd vectors that give the bound, we have to solve an equation
q
Bx(Ax)
p = .
8
With an auxiliary variable > 0, the equation is immediately trans-
formed into a system of equations
q
Bx = ,
(Ax)
p =
1
.
Considering that the solution is scale-invariant, we eliminate to get
q
Bx = ,
(Ax)
p = 1.
(9)
Furthermore, we examine all solutions of the rst equation at (9) to nd
those solutions that satisfy the second equation as well.
Due to Lemma 1, the solution of the rst equation in the system is
actually a family of solutions dened for each i = 1, . . . , n as vectors with
components
x
i
= (q
b
i
)
1
,
x
j
(q
b
j
)
1
, j ,= i.
We consider the upper bound and put it into the form
= q
BA
p =
n
i=1
q
b
i
a
i
p = q
b
k
a
k
p,
where k is the index of a maximum term q
b
i
a
i
p over all i = 1, . . . , n.
As the starting point to get a common solution to both equations (9),
we use the solution of the rst equation for i = k, which is given by
x
k
= (q
b
k
)
1
= a
k
p,
x
j
(q
b
j
)
1
= (q
b
j
)
1
q
b
k
a
k
p, j ,= k.
Now we examine the left hand side of the second equation at (9). We
express the vector Ax as a linear combination of columns in the matrix A,
Ax = x
1
a
1
x
n
a
n
.
Then we take x
k
= a
k
p, and consider the term x
k
a
k
= a
k
a
k
p. First
we write
a
k
p = a
1
1k
p
1
a
1
lk
p
l
= a
1
sk
p
s
,
where s is the index of a maximum term a
1
ik
p
i
over all i = 1, . . . , m.
Since the vector x
k
a
k
= a
k
a
k
p has components
x
k
a
sk
= a
sk
a
1
sk
p
s
= p
s
,
x
k
a
jk
= a
jk
a
1
sk
p
s
p
j
, j ,= s,
9
we arrive at a vector inequality Ax x
k
a
k
p.
To satisfy the second equation at (9), the vector inequality must hold as
an equality for at least one component.
By taking x
j
for all j ,= k to meet the condition x
j
a
1
sj
p
s
, we get
a
s1
x
1
a
sn
x
n
= p
s
,
a
i1
x
1
a
in
x
n
p
i
, i ,= s.
With the inequality a
1
sj
p
s
a
j
p (q
b
j
)
1
q
b
k
a
k
p, we conclude
that any vector x with components
x
k
= a
k
p,
x
j
a
1
sj
p
s
, j ,= k,
presents a common solution of both equations at (9), and so a solution to
(6). Taking into account that the solution is scale-invariant, we get (8).
Finally, we show that the solutions to the rst equation for each i ,= k
cannot satisfy the second equation. We assume that q
b
i
a
i
p < q
b
k
a
k
p,
and consider the solution
x
i
= (q
b
i
)
1
q
b
k
a
k
p,
x
j
(q
b
j
)
1
q
b
k
a
k
p, j ,= i.
With the assumption, we have (q
b
i
)
1
q
b
k
a
k
p > a
i
p, and therefore,
x
i
a
i
= a
i
(q
b
i
)
1
q
b
k
a
k
p > a
i
a
i
p.
Now we write Ax x
i
a
i
> a
i
a
i
p, which yields (Ax)
< (a
i
p)
1
a
i
.
Finally, we see that (Ax)
p < (a
i
p)
1
a
i
p = 1, and thus the above
solution fails to solve the entire problem.
4.2 Particular cases
Now we present a particular case of the general problem, which involves
idempotent analogues of the vector and matrix norms. Another particular
case is considered in the next section in the context of solution of scheduling
problems.
Let us assume that p = q = 1 and note that 1
T
a
i
= |a
i
| and b
i
1 =
|b
i
|. Moreover, we have
1
T
Bx(Ax)
1 = |Bx||(Ax)
|, 1
T
BA
1 = |BA
|.
Under these assumptions, problem (6) takes the form
maximize |Bx||(Ax)
|. (10)
It follows from Theorem 3 that a solution to problem (10) goes as follows.
10
Corollary 4. Suppose A is a matrix with regular columns and B is a
column regular matrix. Dene a scalar
= |BA
|.
Then the maximum in problem (10) is equal to , and attained if and
only if the vector x = (x
i
) has components
x
k
= |a
k
|,
x
j
a
1
sj
, j ,= k,
for all > 0 and indices k and s given by
k = arg max
1in
|b
i
||a
i
|, s = arg max
1im
a
1
ik
.
4.3 Extension to constrained problems
The solution to problem (6) can be well extended to cover certain constrained
problems. Specically, assume C X
nn
to be given and consider a problem
maximize q
Bx(Ax)
p,
subject to Cx x.
(11)
By Theorem 2, the inequality constraint in (11) has regular solutions only
when Tr(C) 1. Under this condition, the solution is given by x = C
u
for all regular vectors u, whereas the entire problem reduces to
maximize q
BC
u(AC
u)
p.
The unconstrained problem admits an immediate solution based on The-
orem 3, provided that the matrix AC
is column regular.
Since it holds that C
, have no
zero entries.
It is clear that the condition for A to be row regular is necessary.
Note that the solution to the unconstrained problem is given by Theo-
rem 3 in terms of the auxiliary vector u and, therefore, needs to be trans-
lated into a solution with respect to x with the mapping x = C
u.
Examples of solutions to particular constrained problems drawn from
project scheduling are given in the next section.
11
5 Application to project scheduling
In this section, we revisit scheduling problems (1), (2), and (3) to reformulate
and solve them as optimization problems in the tropical mathematics setting.
To illustrate the results obtained, numerical examples are also given.
5.1 Representation and solution of problems
Taking into account that the representation of the problems in the ordinary
notation involves maximum, addition, and additive inversion, we translate
them into the language of the semield R
max,+
.
We start with problem (1), which can be written in terms of R
max,+
in
a scalar form as
maximize
i=1
y
i
i=1
y
1
i
,
subject to
n
j=1
a
ij
x
j
= y
i
, i = 1, . . . , n.
We introduce a matrix A = (a
ij
) and vectors x = (x
i
) and y = (y
i
) to
shift from the scalar representation to that in the matrix-vector notation
maximize |y||y
|,
subject to Ax = y.
(12)
A complete solution to the problem is given as follows.
Lemma 5. Suppose A is a matrix with regular columns. Dene a scalar
= |AA
|.
Then the maximum in problem (12) is equal to , and attained if and
only if the vector x = (x
i
) has components
x
k
= |a
k
|,
x
j
a
1
sj
, j ,= k,
for all > 0 and indices k and s given by
k = arg max
1in
|a
i
||a
i
|, s = arg max
1in
a
1
ik
.
Proof. By substitution y = Ax, we get an unconstrained problem in the
form of (10). Application of Corollary 4 with B = A completes the solution.
12
Note that the solution is actually determined up to a nonzero factor, and
so can serve as a basis for further optimization of a schedule under additional
constraints, including due date and early start time constraints.
Furthermore, we examine problem (2). When expressed in terms of the
operations in the semield R
max,+
, the problem becomes
maximize
i=1
x
i
i=1
x
1
i
,
subject to
n
j=1
c
ij
x
j
x
i
, i = 1, . . . , n.
With a matrix C = (c
ij
), we switch to matrix-vector notation and get
maximize |x||x
|,
subject to Cx x.
(13)
Lemma 6. Suppose C is an irreducible matrix with Tr(C) 1. Dene a
scalar
= |C
(C
|.
Then the maximum in problem (13) is equal to , and attained if and
only if x = C
u, where u = (u
i
) is any vector with components
u
k
= |(c
k
)
|,
u
j
(c
sj
)
1
, j ,= k,
for all > 0 and indices k and s given by
k = arg max
1in
|c
i
||(c
i
)
|, s = arg max
1in
(c
ik
)
1
.
Proof. It follows from Theorem 2 that each solution to the inequality con-
straint in (13) is given by x = C
. After so-
lution of the last problem according to Lemma 5, we arrive at the desired
result.
Finally, in a similar way as above, problem (3) is represented in the form
maximize |y||y
|,
subject to Ax = y,
Cx x,
(14)
and then accepts a complete solution given by the next result.
13
Lemma 7. Suppose A is a row regular matrix and C a matrix with Tr(C)
1 such that all columns in the matrix D = AC
|.
Then the maximum in problem (14) is equal to , and attained if and
only if x = C
u, where u = (u
i
) is any vector with components
u
k
= |d
k
|,
u
j
d
1
sj
, j ,= k,
for all > 0 and indices k and s given by
k = arg max
1in
|d
i
||d
i
|, s = arg max
1in
d
1
ik
.
Note that the matrix D = AC
4 1 1
2 2 0
0 1 3
.
To apply Lemma 5, we calculate
A
4 2 0
1 2 1
1 0 3
, AA
0 2 4
1 0 2
2 3 0
, = |AA
| = 4.
Furthermore, we get
|a
1
||a
1
| = 4, |a
2
||a
2
| = 1, |a
3
||a
3
| = 3,
and then verify that
|a
1
||a
1
| = max|a
i
||a
i
|[ i = 1, 2, 3, a
1
31
= maxa
1
i1
[ i = 1, 2, 3.
Taking k = 1 and s = 3, we assume = 0 to obtain a solution set
dened by the relations
x
1
= 0, x
2
1, x
3
3.
14
Specically, the solution vector with the latest initiation time and its
related vector of completion time are given by
x =
0
1
3
, y = Ax =
4
2
0
.
To illustrate the solution to problem (13) given by Lemma 6, we examine
a project with start-start precedence constraints dened by a matrix
C =
0 2 1
0 0 2
1 0 0
,
where the symbol 0 = is used to save space.
First we successively nd
C
2
=
0 0 0
1 2 1
0 3 0
, C
3
=
1 2 1
0 1 2
1 0 1
, Tr(C) = 0,
and then form the matrices
C
= I C C
2
=
0 2 1
1 0 2
1 3 0
, (C
0 1 1
2 0 3
1 2 0
.
Furthermore, we calculate
C
(C
0 1 1
2 0 3
1 2 0
, = |C
(C
| = 3.
We examine columns in the matrix C
to get
|c
1
||(c
1
)
| = 2, |c
2
||(c
2
)
| = 3, |c
3
||(c
3
)
| = 2.
We take k = 2 and then identify s = 3. With = 0, we arrive at a set
of solutions x = C
u, where u = (u
i
) is a vector with components
u
1
1, u
2
= 3, u
3
0.
For the solution with the latest initiation time, we have
u =
1
3
0
, x = C
u =
1
3
0
.
15
Now we apply Lemma 7 to solve problem (14), which is to maximize
deviation between completion times of activities in a project with a combined
set of precedence constraints. We consider a project with n = 3 activities,
where start-nish and start-start constraints are given by respective matrices
A =
4 1 1
2 2 0
0 1 3
, C =
0 2 1
0 0 2
1 0 0
.
Using the result of the previous example, we nd the matrix
D = AC
4 1 1
2 2 0
0 1 3
0 2 1
1 0 2
1 3 0
4 2 5
3 2 4
2 1 3
.
Furthermore, we obtain
D
4 3 2
2 2 1
5 4 3
, DD
0 1 2
0 0 1
1 1 0
, = |DD
| = 2.
Analysis of columns in the matrix D gives
|d
1
||d
1
| = 2, |d
2
||d
2
| = 1, |d
3
||d
3
| = 2.
First we take k = 1 and s = 3. With = 0, we get a solution x = C
u,
where the vector u = (u
i
) has components
u
1
= 2, u
2
1, u
3
3.
The solution with the latest initiation times is given by
u =
2
1
3
, x = C
u =
2
1
3
, y = Du =
2
1
0
.
Another solution is obtained by setting k = 3 and s = 3. The vector u
is then dened by
u
1
2, u
2
1, u
3
= 3.
The solution with latest initiation time is obviously the same as before.
References
[1] S. N. N. Pandit, A new matrix calculus,
J. SIAM 9 no. 4, (1961) 632639.
16
[2] R. A. Cuninghame-Green, Describing industrial processes with
interference and approximating their steady-state behaviour, Oper.
Res. Quart. 13 no. 1, (1962) 95100.
[3] A. J. Homan, On abstract dual linear programs,
Naval Res. Logist. Quart. 10 no. 1, (1963) 369373.
[4] B. Gier, Scheduling general production systems using schedule
algebra, Naval Res. Logist. Quart. 10 no. 1, (1963) 237255.
[5] N. N. Vorobev, The extremal matrix algebra, Soviet Math. Dokl. 4
no. 5, (1963) 12201223.
[6] I. V. Romanovski, Asymptotic behavior of dynamic programming
processes with a continuous set of states, Soviet Math. Dokl. 5 no. 6,
(1964) 16841687.
[7] R. A. Cuninghame-Green, Projections in minimax algebra,
Math. Program. 10 (1976) 111123.
[8] L. Superville, Various Aspects of Max-Algebra. PhD thesis, The City
University of New York, New York, 1978.
[9] K. Zimmermann,
Some optimization problems with extremal operations, in
Mathematical Programming at Oberwolfach II, B. Korte and
K. Ritter, eds., vol. 22 of Mathematical Programming Studies,
pp. 237251. Springer, Berlin, 1984.
[10] P. Butkovic and A. Aminu, Introduction to max-linear
programming, IMA J. Manag. Math. 20 no. 3, (2009) 233249.
[11] S. Gaubert, R. D. Katz, and S. Sergeev, Tropical linear-fractional
programming and parametric mean payo games,
J. Symbolic Comput. 47 no. 12, (2012) 14471478,
arXiv:1101.3431 [math.MG].
[12] K. Zimmermann,
Interval linear systems and optimization problems over max-algebras,
in Linear Optimization Problems with Inexact Data, pp. 165193.
Springer, New York, 2006.
[13] K. Zimmermann, Disjunctive optimization, max-separable problems
and extremal algebras,
Theoret. Comput. Sci. 293 no. 1, (2003) 4554.
[14] P. Butkovic and K. P. Tam,
On some properties of the image set of a max-linear mapping, in
17
Tropical and Idempotent Mathematics, G. L. Litvinov and S. N.
Sergeev, eds., vol. 495 of Contemp. Math., pp. 115126. American
Mathematical Society, 2009.
[15] K. P. Tam, Optimizing and Approximating Eigenvectors in
Max-Algebra. PhD thesis, The University of Birmingham,
Birmingham, 2010.
[16] J. Bather, Optimal decision procedures for nite Markov chains.
Part II: Communicating systems, Adv. Appl. Probab. 5 no. 3, (1973)
521540.
[17] M. L. Puterman,
Markov Decision Processes: Discrete Stochastic Dynamic Programming.
Wiley Series in Probability and Statistics. Wiley, 2005.
[18] T. S. R. Murthy and S. Z. Abdin, Minimum zone evaluation of
surfaces, Int. J. Mach. Tools Des. Res. 20 no. 2, (1980) 123136.
[19] A. Gosavi and E. Cudney, Form errors in precision metrology: a
survey of measurement techniques,
Qual. Eng. 24 no. 3, (2012) 369380.
[20] R. Cuninghame-Green, Minimax Algebra, vol. 166 of Lecture Notes in
Economics and Mathematical Systems. Springer, Berlin, 1979.
[21] R. A. Cuninghame-Green and P. Butkovic, Bases in max-algebra,
Linear Algebra and its Applications 389 (2004) 107120.
[22] N. Krivulin, Explicit solution of a tropical optimization problem with
application to project scheduling, arXiv:1303.5457 [math.OC].
[23] V. Tkindt and J.-C. Billaut, Multicriteria Scheduling: Theory,
Models and Algorithms. Springer, Berlin, 2006.
[24] E. L. Demeulemeester and W. S. Herroelen, Project Scheduling: A
Research Handbook. International Series in Operations Research and
Management Science. Springer, 2002.
[25] V. N. Kolokoltsov and V. P. Maslov, Idempotent Analysis and Its
Applications, vol. 401 of Mathematics and Its Applications. Kluwer
Academic Publishers, Dordrecht, 1997.
[26] J. S. Golan, Semirings and Ane Equations Over Them: Theory and
Applications, vol. 556 of Mathematics and Its Applications. Kluwer
Academic Publishers, Dordrecht, 2003.
18
[27] B. Heidergott, G. J. Olsder, and J. van der Woude, Max-plus at Work:
Modeling and Analysis of Synchronized Systems. Princeton Series in
Applied Mathematics. Princeton University Press, Princeton, 2006.
[28] G. Litvinov, The Maslov dequantization, idempotent and tropical
mathematics: A brief introduction,
J. Math. Sci. (N. Y.) 140 no. 3, (2007) 426444,
arXiv:0507014 [math.GM].
[29] M. Gondran and M. Minoux,
Graphs, Dioids and Semirings: New Models and Algorithms, vol. 41 of
Operations Research/ Computer Science Interfaces. Springer, New
York, 2008.
[30] P. Butkovic, Max-linear Systems: Theory and Algorithms. Springer
Monographs in Mathematics. Springer, London, 2010.
[31] N. K. Krivulin, Solution of generalized linear vector equations in
idempotent algebra, Vestnik St. Petersburg Univ. Math. 39 no. 1,
(2006) 1626.
[32] N. K. Krivulin, Methods of Idempotent Algebra for Problems in
Modeling and Analysis of Complex Systems. St. Petersburg University
Press, St. Petersburg, 2009. (in Russian).
[33] N. Krivulin, A solution of a tropical linear vector equation, in
Advances in Computer Science, S. Yenuri, ed., vol. 5 of Recent
Advances in Computer Engineering Series, pp. 244249. WSEAS
Press, 2012. arXiv:1212.6107 [math.OC].
19