scieee AI-readable full text Open interactive document viewer

Optimization problems under two-sided (max; min)–linear Inequalities constraints

Gad, Mahmoud

Abstract

as well as numerical examples will be presented.

Full text

OPTIMIZATION PROBLEMS UNDER TWO-SIDED (max,min)−LINEAR INEQUALITIES CONSTRAINTS Mahmoud Gad Charles University in Prague Faculty of Mathematics and Physics Sokolovsk´ a 83, Praha 8, 186 75, Czech Republic *Sohag University Faculty of Science Sohag, Egypt Mahmoud Attya [email protected] Abstract Systems of so called two-sided (max,min)−linear inequalities with variables on both sides will be studied. Optimization problems, the objective function of which is equal to the maximum of a finite number of continuous functions of one variable are considered. The set of feasible solutions in described by a system of two-sided (max,min)−linear inequalities with variables on both sides. A finite algorithm for finding the optimal solution of the problem is proposed. Keywords: Two-sided (max,min)−linear inequalities system; lower and upper bounds; maxmin optimization problems. Introduction The algebraic structures in which (max,+) or (max,min)replace addition and multiplication of the classical linear algebra have been appeared in the literature approximately since the sixties of the last century (see e.g. [1], [3], and [8]). In recently published book [2] readers can find the latest results concerning theory and algorithms for (max,+)−linear systems of equations. A polynomial method for finding the maximum solution of the (max,min)-linear system has been proposed in [5]. A finite algorithm for finding the optimal solution of the optimization problems under (max,+)−linear constraints has been introduced in [10]. A survey of some of the recent results concerning the (max,min)-linear systems of equations and inequalities and optimization problems under the constraints described by such systems of equations and inequalities is presented in [6]. Algorithm for optimization problems under one-sided (max,min)−linear equality constraints is introduced in [4]. Maximal solutions of two-sided linear systems in max-min algebra have been given in [7]. A note on application of two-sided systems of (max,min)−linear equations and inequalities to some fuzzy set problems has been given in [9]. In this contribution, we will study systems of so called (max,min)−linear (or using an alternative notation (max,∧)−linear) inequalities with variables on both sides. We consider optimization problems, the objective function of which is equal to the maximum of a finite number of continuous and unimodal functions of one variable. The set of feasible solutions is described by a system of (max,∧)−linear inequalities with variables on both sides. Let us note that if we have variables xon the left hand sides and different variables yon the right hand sides, the system can be processed like the one-sided system considered e.g. in [6]. Including lower and upper bounds on x,yis only a technical problem. We can consider the practical problem, in which transportation means of different size are 85 transporting goods from places i∈Ito one terminal T. The goods are unloaded in Tand the transportation means (possibly with other goods are uploaded in T) have to return to i. We assume that the connection between iand Tis only possible via one of the places (e.g. cities) j∈Jthe roads between iand jare one-way roads, and the capacity of the road between i∈I and j∈Jis equal to aij. We have to join places jwith Tby a two-way road with a capacity xjin both directions. The total capacity of the connection between iand Tis therefore equal to maxj∈J(aij ∧xj). The transport from Tto iis carried out via other one-way roads between places j∈Jand i∈Iwith (in general, different) capacities between jand iare equal to bij. Since the roads between Tand jare two-way roads, the total capacity of the connection between Tand iis equal to maxj∈J(bij ∧xj), for all i∈I. We assume that the transportation means can only pass through some roads with the capacity which is not smaller than the capacity of the transportation mean and our task is to choose appropriate capacities xj,j∈J. In order that each of the transportation means may return to i, we may e.g. require for each ithat the maximal attainable capacity of connections between iand Tvia jis greater than or equal to maximal attainable capacity of connections between Tand ion the way back. In other words, we have to choose xj,j∈J, which satisfy relation (1) below. In what follows, assume that we have the same variables on the left hand sides and right hand sides of the inequality system. 1 Systems of (max,min)−Linear Inequalities Let us consider the following system of inequalities: ai(x)≥bi(x),i∈I,(1) where ai(x) = maxj∈J(aij ∧xj),bi(x) = maxj∈J(bij ∧xj),and aij,bij ∈R,i∈I,j∈Jbe given numbers. Let M≥denote the set of all solutions of system (1). We will set for any x,y∈Rn:x≤y⇔xj≤yj∀j∈J. Let us set M≥(x,x) = {x;x∈M≥&x≤x≤x}for any finite x≤xand let xmax denote the maximum element of M≥(x,x). So that M≥(x,x)⊂M≥,and M≥(x,xmax)⊂M≥,also it is clear M≥(x,xmax)⊆M≥(x,x). To prove M≥(x,x)⊆M≥(x,xmax) there are two cases: the first one, if x/∈M≥, then xmax <x.Therefore ∀x∈M≥(x,x), the inequality x≤xmax verified, i.e. xj≤xmax j∀j∈Jand if x∗∈(xmax,x], (i.e. xmax <x∗≤x, i.e. xmax j0<x∗ j0≤xj0for at least one j0∈Jand xmax j≤x∗ j≤xjfor j∈J&j6=j0) then x∗/∈M≥, otherwise x∗is the maximum element of M≥(x,x), but this contradicts the hypothesis xmax is the maximum element of M≥(x,x).So that for any x∈M≥(x,x),we have x≤xmax , and x∈M≥(x,xmax),then M≥(x,x)⊆M≥(x,xmax).The second case, if x∈M≥, then xmax =x.Then we have M≥(x,xmax) = M≥(x,x)⊂M≥.In this section we will propose an algorithm, which find the maximum element of the set M≥(x,x), and calculates the maximum solution of system (1), take in account x≤x≤x. Note that, since any equation can be replaced by two inequalities, therefor we can use the next algorithm to find the maximum element of the set M=(x,x), which is the set of all solutions of a system of equations, (ai(x) = bi(x),i∈I). Algorithm 1 0 Input I,J,x,aij and bij for all i∈Iand j∈J. 1 Find I<(x)≡{i∈I;ai(x)<bi(x)}. 2 If I<(x) = /0, then xmax :=x, STOP. 3 Find α (x)≡mini∈I<(x)ai(x). 86 4 Find I<( α (x)) ≡{i∈I<(x);ai(x) = α (x)}. 5 Find H< i(x)≡j∈J;bij ∧xj> α (x),∀i∈I<( α (x)). 6 Set H<(x):=Si∈I<( α (x)) H< i(x). 7 Set xj:= α (x)for all j∈H<(x)go to 1 . We will illustrate the performance of this algorithm by the following small numerical example. Example 1. :Let J ={1,2,3,4}, I ={1,2,3}, x = (10,10,10,10), and consider system (1) of inequalities where aij &bij ∀i∈I and j ∈J are given by the matrices A and B as follows: A= 7 5 3 0 4 3 1 2 10 20 10 −1 ,B= 6 13 10 −1 8 0 3 1 1 1 1 −8  By substitution for these values in system (1) and using Algorithm 1: Iteration 1: 1 I<(x) = {1,2}. 2 I<(x)6=/0. 3 α (x) = min(7,4) = 4. 4 I<( α (x)) = {2}. 5 H< 2(x) = {1}. 6 H<(x) = {1}. 7 x1=4,x= (4,10,10,10)go to 1 . Iteration 2: 1 I<(x) = {1}. 2 I<(x)6=/0. 3 α (x) = 5. 4 I<( α (x)) = {1}. 5 H< i(x) = {2,3}. 6 H<(x) = {2,3}. 7 x2=5,x3=5,x= (4,5,5,10)go to 1 . Iteration 3: 1 I<(x) = /0,then xmax = (4,5,5,10)STOP. 87 In the next part of this section we will introduce a method which finds the minimum upper bound ˜xfor solution of system (1) such that ˜x≥x. In other words ˜xhas the properties ˜x∈ M≥(x,xmax)and if x≤˜x,x6=˜x, then there exists x∗∈M≥(x,xmax)such that x∗6≤ ˜x. It will be clear that ˜x∈M≥(x,xmax)and this element is suitable to find the optimal solution of the minimization problem as we will see in the next section. In what follows to simplify the notation we set for any α , β ∈R: α ∨ β =max( α , β ). Let us set Tij ={xj;xj≤xmax j&aij ∧xj≥bi(x)∨xj},∀i∈I,j∈J. Note that if i1,i2are two different indices of I,j∈J, and bi2(x)∨xj≤bi1(x)∨xj, then evidently Ti1j⊆Ti2j. It follows that for any subset of rindices of I, there exists such permutation i1, ,..., irof these indices that the inclusions Ti1j⊆Ti2j⊆... ⊆Tirjhold so that Tr h=1Tihj= Ti1j. Sets Tij have the following properties: Tij 6=/0 ⇔aij ≥bi(x)∨xj, Tij 6=/0 ⇒Tij = [bi(x)∨xj,xmax j]. Since we assumed that x≤xmax, set M≥(x,xmax)is nonempty. Let us note that for any x∈M≥(x,xmax)and any i∈I,the inequalities bi(x)≥bi(x)&xj≥xj∀j∈Jhold and further there exists for each i∈Ian index j(i)∈Jsuch that Tij(i)6=/0 (otherwise set M≥(x,xmax) would be empty, because we would have aij <bi(x)∨xj∀j∈Jand therefore ai(x)<bi(x) for any x∈Rnand we have x≤xmax so that M≥(x,xmax)6=/0). Let us note further, that if aij ∧xj<bi(x)∨xj∀j∈J, then we have ai(x)<bi(x)and thus x6∈M≥(x,xmax). If for some fixed j∈Jthe inequalities aij <bi(x)∨xjhold , then aij ∧xj<bi(x)∨xj∀xj∈Rso that Tij =/0 and xjwill never be ”active” in ai(x)or bi(x)if x∈M≥(i.e. it will never determine the values of ai(x)or bi(x)). We will exclude such variables from our considerations and assume that for each j∈Jthere exists at least one ”row” index i∈Isuch that aij ≥bi(x)∨xj. We define sets Vj,j∈JVj={i∈I;aij ≥bi(x)∨xj}, and denote maxk∈Vj(bk(x)) = bk(j)(x). A vector ˜xwill be defined as follows: ˜xj=max k∈Vj(bk(x))∨xj=bk(j)(x)∨xj∀j∈J.(2) The element ˜xdefined by (2) has the following properties: (1) M≥(x,˜x)6=/0,& ˜x∈M≥(x,˜x). (2) ξ ∈M≥(x,˜x)⇒x≤ ξ ≤˜x. (3) There may exist elements η ∈M≥(x,˜x)such that η 6=˜x. If ˜xis the minimum element of M≥(x,xmax), then it would be ˜x∈M≥(x,xmax)and for any x∈M≥(x,xmax)⇒x≥˜x. Therefore, because of the property (3) ˜xis not the minimum element of M≥(x,xmax), but we can say that ˜xis the minimum upper bound of M≥(x,xmax)such that M≥(x,˜x)6=/0. Let us choose τ ≤xmax,& τ 6=xmax, and ˇx∈M≥(x, τ )⇒ˇx≤xmax and ai(ˇx)≥ bi(ˇx)∀i∈Iand x≤ˇx≤ τ . Let H=xmax( τ )|xmax( τ )is the maximum element of M≥(x, τ ), then ˜xis the minimum element of H. Theorem 1. :Let ˜x be defined as in (2). Then ˜x∈M≥(x,xmax). 88 Proof: Since evidently ˜x≥x, we have to prove that only ai(˜x)≥bi(˜x),∀i∈I. Let i∈Ibe arbitrarily chosen. We have bi(˜x) = max j∈J(bij ∧˜xj) = max j∈J(bij ∧(max k∈Vj(bk(x)∨xj))) = max j∈J(bij ∧(bk(j)(x)∨xj)) Let us assume that bi(˜x) = max j∈J(bij ∧˜xj) = bij(i)∧˜xj(i). Since in this case i∈Vj(i), we have aij(i)≥˜xj(i)and we obtain ai(˜x)≥aij(i)∧˜xj(i)=˜xj(i)≥ bij(i)∧˜xj(i)=bi(˜x).Since i∈Iwas arbitrarily chosen, the theorem is proved. Element ˜xdefined by (2) shows that the given lower bound xmight not be an element of M≥(x,xmax). Moreover we obtained an explicit dependence of ˜xon the given lower bound x(compare (2)), which can be used for sensitivity analysis of the set M≥(x,x)or for a post optimal analysis of optimization problems, the set of feasible solutions equal to M≥(x,xmax). The properties of ˜xenable us to solve some of the optimization problems mentioned above explicitly. 2 Optimization Problems under Two-Sided (max,min)−Linear Inequalities Constraints In this section we consider an optimization problem that is a combination of the problems solved in the above chapters but with a different feasible set. In other words, let us consider for instance the optimization problem: f(x)≡max j∈Jfj(xj)−→ min (3) subject to x∈M≥(x,xmax),where fj,j∈Jare increasing functions. Let indices j(i)∈Jwill be chosen for each i∈Isuch that minj∈Jfj(x(i) j) = fj(i)(xj(i)),where fj(x(i) j) = minxj∈Tij fj(xj). Let ˜xbe defined as in (2) and then we have to proceed as follows: ˜ Tij =     /0 if aij <bi(x), bi(x)if aij >bi(x), [xj,˜x]if aij =bij. Set fj(˜x(i) j) = minxj∈˜ Tij fj(xj), (if ˜ Tij =/0,we set minimum equal to +∞). Let us set min j∈Jfj(˜x(i) j) = fj(i)(˜x(i) j(i)). And ˜ Rj={i∈I|j(i) = j},∀j∈J, ( it may be ˜ Rj=/0 for some j). Then we have fk(xopt k) = max i∈˜ Rk fk(˜x(i) k), if ˜ Rk6=/0,but when ˜ Rk=/0, we set fk(xopt k) = fk(xk). The proof can be carried out in the same way as in the one sided case in [6]. We mentioned above that a system of inequalities can be transformed to a system of equations by making use of slack variables. Let us note that the other way round, systems of equations considered can be solved alternatively by the methods in this section, if we replace the equation system by the system of inequalities of the form 89 ai(x)≥bi(x),i∈I bi(x)≥ai(x),i∈I xj≥xj,j∈J. We will describe now the corresponding algorithm explicitly step by step. Algorithm 2 0 Input m,n,x,x,A,B,f(x). 1 Find xmax ∈M≥(x,x). 2 If xxmax, then M≥(x,x) = /0, STOP. 3Vj:={i∈I;aij >bi(x)∨xj} ∀j∈J. 4x(i) j:= (bi(x)∨xj)∀i∈Vjfor all j∈Jsuch that Vj6=/0. 5 Set ˜xj:=maxi∈Vj(x(i) j)if Vj6=/0, ˜xj:=xjif Vj=/0. 6Q:={k∈J;f(˜x) = fk(˜xk)},P:={j∈J; ˜xj=xj}. 7 If Q∩P6=/0, then set xopt :=˜x, STOP. 8Pk:={i∈I; ˜xk=x(i) k} ∀k∈Q. 9Vk:=Vk\Pk∀k∈Q. 10 If Sj∈JVj=I, go to 4 . 11 Set xopt :=˜x, STOP. We will illustrate the performance of this algorithm by the following numerical examples. Example 2. :Let J ={1,2,...,5}, I ={1,2,3}, x = (10,10,10,10,10), x = (0,3,0,0,1)and consider system (1) of inequalities where aij &bij ∀i∈I and j ∈J are given by the matrices A and B as follows: A= −10 10 15 −9−8 5−8 10 20 7 3 4 −18 19 11 ,B= 7 2 −10 −20 6 8 9 −15 −25 5 13 −17 12 10 9  and consider the objective function f(x) = max(x1,x2−3,x3,x4,x5).By substitution for these values in system (1) and using Algorithm 1 and Algorithm 2: 1 xmax =x= (10,10,10,10,10). 2 x ≤xmax. 3 V1={2},V2={1,3},V3={1,2},V4={2,3},V5={2,3}. 90 4 x(1) 1=2,x(1) 2=3,x(1) 3=2,x(1) 4=2,x(1) 5=2,x(2) 1=3,x(2) 2=3,x(2) 3=3, x(2) 4=3,x(2) 5=3,x(3) 1=1,x(3) 2=3,x(3) 3=1,x(3) 4=1,x(3) 5=1. 5˜x= (3,3,2,3,3). 6 Q ={1,4,5},, f(˜x) = 3,P={2}then Q∩P=/0. 8 P1={2},P2={1,2,3},P3={1},P4={2},P5={2}. 9 V1=/0,V2=/0,V3={2},V4={3},V5={3}. 10 Sj∈JVj={2,3}6=I. 11 xopt =˜x, STOP. Then xopt = (3,3,2,3,3)is the optimal solution of the set M≥(x,x)and f(xopt) = max(3,0,2,3,3), then the objective function is equal to 3. Example 3. :Let J ={1,2,...,5}, I ={1,2,...,6},x= (20,20,20,20,20), x = (0,3,0,0,0) and consider system (1) of inequalities where aij &bij ∀i∈I and j ∈J are given by the matrices A and B as follows: A=         2 2 6 0 13 8 11 10 7 7 4 3 0 13 8 14 3 3 13 2 1 3 13 4 2 12 15 7 3 14         ,B=         0 10 9 −1 5 3−3 1 −6−7 4−8 2 −14 11 14 −7 7 −3 4 6−8 12 2 0 0−11 2 −3 5         and consider the objective function f(x) = maxj∈J(fj(xj),where fj(xj) = cjxj+dj, c= (6,3,7,3,7)and d = (10,0,5,1,7). By substitution for these values in system (1) and using Algorithm 1 and Algorithm 2: 1 xmax =x= (20,20,20,20,20). 2 x ≤xmax. 3 V1={2,3,4,5,6},V2={2,6},V3={1,2,4,5,6},V4={2,3,4,5,6},V5={1,2,3,4,5,6}. 4 find x(i) j. 5˜x= (0,3,3,0,3). 6 Q ={5},f(˜x) = 28,P={1,2,4}then Q∩P=/0. 10 Sj∈JVj={1,2,3,4,5,6}=I go to 4 . 4 find x(i) j. 5˜x= (0,3,3,0,0). 91 6 Q ={3},f(˜x) = 26,P={1,2,4,5}then Q∩P=/0. 10 Sj∈JVj={1,2,4,5,6}6=I. 11 xopt =˜x, STOP. Then xopt = (0,3,3,0,0)is the optimal solution of the set M≥(x,x)and f(xopt) = max(10,9,26,1,7), then the objective function is equal to 26. Conclusion We can summarize the properties of the systems of (max,min)-linear inequalities studied in this paper as follows: (1) Any system of two-sided (max,min)-linear inequalities is solvable and has a unique maximum element xmax(A,B)depending on the matrices A,Bwith finite elements aij,bij (note that including infinite elements can cause nonsolvability of the system). (2) If we include an additional requirement x≤x, then the system is also solvable and has the maximum element xmax(A,B,x)≤xmax(A,B). (3) The system with a finite lower bound on variables (i.e. with an additional constraint x≥x) is solvable if and only if x≤xmax(A,B), or in case of the additional upper bound xif and only if x≤xmax(A,B,x). Acknowledgments This work was supported by The Ministry of Higher Education and Scientific Research of the Arab Republic of Egypt. The author also offers sincere thanks to Prof. Karel Zimmermann for his continuing support and eternally great advice. Literature [1] BUTKOVIˇ C, P.; HEGED ¨ US, G.: An Elimination Method for Finding All Solutions of the System of Linear Equations over an Extremal Algebra, Ekonomicko–matematick´ y obzor 20, 1984, pp. 203-215. [2] BUTKOVIˇ C, P.: Max-linear Systems: Theory and Algorithms, Springer Monographs in Mathematics, 267 p., Springer-Verlag, London, 2010. [3] CUNINGHAME-GREEN, R. A.: Minimax Algebra. Lecture Notes in Economics and Mathematical Systems 166, Springer-Verlag, Berlin 1979. [4] GAD, M.: Optimization problems under one-sided (max,min)−linear inequalities constraints (to appear). [5] GAVALEC, M.; ZIMMERMANN, K.: Solving Systems of Two-Sided (max,min)-Linear Equations, Kybernetika 46, 2010, pp. 405-414. [6] GAVALEC, M.; GAD, M.; ZIMMERMANN, K.: Optimization problems under (max,min)−linear equation and/or inequality constraints (to appear). [7] KRB ´ ALEK, P.; POZD´ ILKOV ´ A, A.: Maximal solutions of two-sided linear systems in max-min algebra, Kybernetika 46, 2010, pp. 501-512. 92 [8] VOROBJOV, N. N.: Extremal Algebra of positive Matrices, Datenverarbeitung und Kybernetik 3, 1967, pp. 39-71 (in Russian). [9] ZIMMERMANN, K.: A Note on Application of Two-sided Systems of (max,min)−Linear Equations and Inequalities to Some Fuzzy Set Problems, Acta Univ. Palacki. Olomuc., Fac. rer. nat., Mathematica 50, 2, 2011, pp. 129-135. [10] ZIMMERMANN, K.; GAD, M.: Optimization Problems under (max,+)−linear Constraints, International conference presentation of mathematics ’11 (ICPM ’11), Liberec, 11, pp. 159-165, 2011. ISBN 978-80-7372-773-4. Mahmoud Gad, M.Sc. 93