Next Article in Journal
Accounting for Measurement Error and Untruthfulness in Binary RRT Models
Previous Article in Journal
Improved Bayesian Inferences for Right-Censored Birnbaum–Saunders Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Constrained 2-Maxian Problem on Cycles

School of Finance and Mathematics, Huainan Normal University, Huainan 232038, China
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(6), 876; https://doi.org/10.3390/math12060876
Submission received: 14 January 2024 / Revised: 10 March 2024 / Accepted: 13 March 2024 / Published: 16 March 2024
(This article belongs to the Special Issue Operations Research and Optimization, 2nd Edition)

Abstract

:
This paper deals with p-maxian problem on cycles with an upper bound on the distances of all facilities. We consider the case of p = 2 and show that, in the worst case, the optimal solution contains at least one vertex of the underlying cycle, which helps to develop an efficient algorithm to solve the constrained 2-maxian problem. Based on this property, we develop a linear time algorithm for the constrained 2-maxian problem on a cycle. We also discuss the relations between the constrained and unconstrained 2-maxian problems on which the underlying graphs are cycles.
MSC:
90B10; 90B80; 90C27

1. Introduction

Facility location theory deals with the problems of planning new optimal facilities in a network of existing customers, playing an important role in operation research due to its theoretical and practical contributions. The median and center location problems are the two most important models in classical facility location theory. The aim of a median problem is to find one or several facilities to minimize the total weighted distance from customers to the facilities. Furthermore, the goal of the center problem is to locate new facilities such that the maximum weighted distance from customers to the facilities is minimized.
Since the median and center problems on general graphs are N P -hard, there is significant interest in cases where such a problem can be solved in polynomial time. Goldman [1] showed that the 1-median problem on trees can be solved in linear time. For the 2-median problem on trees, Gavish and Sridhar presented [2] an O ( n log n ) time algorithm. Tamir [3] studied the p-median problem on trees and showed that the problem can be solved in O ( p n 2 ) time. Burkard and Krarup [4] designed a linear time algorithm for the pos/neg-weighted 1-median problem on a cactus, and showed that the 2-median problem on cactus graphs can be solved in O ( n 2 ) time. For the model of center problems, Handler [5] presented a linear time algorithm for the 1-center problem on trees. For the p-center problem on trees, Wang and Zhang [6] presented an O ( n log n ) time algorithm. Lan [7] showed that the 1-center problem on a cactus graph can be solved in linear time. For the weighted 2-center problem on cactus graphs, Moshe et al. [8] devised an O ( n log n 3 ) time algorithm for the continuous version and showed that the discrete version is solvable in O ( n log n 2 )  time.
In recent years, the obnoxious facility location problem has been studied extensively, where some facilities are to be placed as far away as possible from the customers. These models are applied when locating undesirable facilities, for example, garbage dumps, airports, and chemical plants, to mention a few. For a survey of obnoxious location problems, we refer to Krarup et al. [9] and Tamir [10]. If the aim is to maximize the total maximum weighted distances from all customers to p new facilities, the corresponding problem is the so-called p-maxian problem. The p-maxian problem was first considered by Burkard et al. [11], who showed that the problem could be solved in linear time. Kang and Cheng [12] presented a linear time algorithm for the p-maxian problem on block graphs, where each block graph is a super class of tree graphs. Furthermore, the p-maxian problem on interval graphs was solved in linear time by Cheng and Kang [13]. For the 2-maxian problem on cactus graphs, Kang et al. [14] devised a quadratic time algorithm, where any two cycles in the graph have at most one vertex in common.
In real-life situations, the maximum distances between new facilities are often limited within a given bound. For instance, surveillance cameras of a residential district must be located in such a way that they are close enough for full coverage and nucleic acid collecting sites are located close enough for convenience. Considering such a limitation, the aim of the p-maxian problem is to locate p facilities such that they are close enough for inter-connection or cooperation. Nguyen et al. [15] were the first to consider the p-maxian problem with a distance constraint, and they showed that the 2-maxian problem on trees is solvable in linear time. Motivated by this paper, we consider the p-maxian problem on cycles with bounds on the maximum distances between facilities. We organize the paper in the following sections. Section 2 defines the p-maxian problem with distance constraints and gives the important properties of the 2-maxian problem as well. In Section 3, we develop a linear time algorithm for the constrained 2-maxian problem on cycles. Section 4 presents a brief conclusion to this paper.

2. Problem Definition and Properties

Let C = ( V , E ) be a cycle of sequence ( v 1 , v 2 , , v n , v n + 1 = v 1 ) of n distinct vertices supplemented by v n + 1 = v 1 , such that ( v i , v i + 1 ) is an edge of C, i = 1 , 2 , , n , where all vertices are numbered in a clockwise way. Each vertex v i V has a non-negative weight w i and each edge e E has a non-negative length ( e ) . The length of C is denoted by ( C ) : = e E ( e ) . A point x on C may either be a vertex or may lie on an edge of C; the set of all points of C is denoted by X ( C ) . For any two points x , y of X ( C ) , the length of the shortest path from x to y is denoted by d ( x , y ) , and  d c ( x , y ) denotes the length of the path from x to y in a clockwise direction. It is easy to see that d ( x , y ) = d c ( x , y ) or d ( x , y ) + d c ( x , y ) = ( C ) holds for any two points x , y of X ( C ) .
In a p-maxian problem on the cycle graph C, the aim is to find p points of X ( C ) , say X : = { x 1 , x 2 , , x p } , such that the following objective function is maximized:
F ( X ) : = i = 1 n w i · max j = 1 , 2 , , p d ( v i , x j ) ,
where the point set X X ( C ) that maximizes (1) is called the p-maxian of C.
In this paper, we assume that the maximum distance between facilities does not exceed a given bound U ( C ) 2 . Then, the p-maxian problem on C with a distance constraint of U (constrained p-maxian problem) can be formulated as the following optimization model:
max F ( X ) : = i = 1 n w i · max j = 1 , 2 , , p d ( v i , x j )
s . t . d ( v i , x j ) U , i = 1 , 2 , , n ; j = 1 , 2 , , p ,
where the set X X ( C ) that fulfills (2) and (3) is called the constrained p-maxian of C.
For the case of p = 2 , the corresponding constrained 2-maxian problem on a cycle C is to find two points { x 1 , x 2 } X ( C ) , which maximizes the following equation:
F ( x 1 , x 2 ) : = i = 1 n w i · max { d ( v i , x 1 ) , d ( v i , x 2 ) } ,
with the distance constraint d ( x 1 , x 2 ) U .
For an unconstrained 2-maxian problem on a modified cycle, the so-called vertex optimality property asserts that the problem has an optimal solution at the vertices [14]. However, this property does not apply in our problem. For example, for the graph in Figure 1, we find
F ( m 1 = v 1 , m 2 ) = 20.5 ,
where m 1 is a vertex, m 2 is not a vertex but is the inner point of the edge ( v 2 , v 3 ) with d ( m 1 , m 2 ) U = 3 2 , and  { m 1 , m 2 } is the unique solution to the constrained 2-maxian problem. In the following, we will give an important result for the constrained 2-maxian problem on a cycle C, which characterizes the point x X ( C ) that may appear in an optimal solution of the problem.
Theorem 1. 
There exists an optimal solution X * = { x 1 , x 2 } of the constrained 2-maxian problem on C, such that one of the following statements holds for x 1 and x 2 :
  • x 1 V and x 2 V .
  • x 1 V and x 2 lies on the interior of an edge with the property of d ( x 1 , x 2 ) = U .
Proof. 
Let X * = { x 1 , x 2 } be an optimal solution of the constrained 2-maxian problem on C. Suppose that X * is contradicting both statements 1 and 2. Obviously, there exists at least one interior point of some edge. Assume that x 1 is not a vertex and lies on the edge ( v r , v r + 1 ) , and that x 2 lies on the edge ( v s , v s + 1 ) or coincides with s. Moreover, we assume that r < s and d ( x 1 , x 2 ) = d c ( x 1 , x 2 ) U . For the point x 1 , we define the following sets:
V 1 : = { v i V | d ( x 1 , v i ) > d ( x 2 , v i ) } ,
V 1 1 : = { v i V 1 | d ( x 1 , v i ) = d ( x 1 , v r + 1 ) + d c ( v r + 1 , v i ) } ,
V 1 2 : = { v i V 1 | d ( x 1 , v i ) = d ( x 1 , v r ) + d c ( v i , v r ) } .
For the point x 2 , we define the sets V 2 , V 2 1 and V 2 2 similarly. Note that all facilities of V 1 and V 2 are served by x 1 and x 2 , respectively, which is denoted by V 3 = V \ ( V 1 V 2 ) . Note that if V 3 is nonempty, then all vertices of V 3 could be served by x 1 as well as by x 2 . Without a loss of generality, we assume that V 3 = { v k 1 , v k 2 } and k 1 < k 2 .
For the edge e r = ( v r , v r + 1 ) , we consider a function f : [ 0 , ( e r ) ] R depending on t, where t = 0 corresponds to vertex v r and t = ( e r ) corresponds to vertex v r + 1 . Moreover, the interior point x on the edge ( v r , v r + 1 ) with d ( v r , x ) corresponds to t = d ( v r , x ) and x is written as v r + t . Then, the function f is defined by the following:
f ( t ) = v i V 1 w i d ( v i , v r + t ) + v i V 2 w i d ( v i , v r + t + d ( x 1 , x 2 ) ) + v i V 3 w i · max { d ( v i , v r + t ) , d ( v i , v r + t + d ( x 1 , x 2 ) ) }
and we define ε 1 = : min { d ( v r , x 1 ) , d ( v s , x 2 ) } , ε 2 = : min { d ( v r + 1 , x 1 ) , d ( v s + 1 , x 2 ) } . Note that f ( t ) is a linear function in the closed interval [ x 1 ε 1 , x 1 + ε 2 ] with the following slope:
v i ( V 1 1 V 2 1 V 3 ) w i v i ( V 1 2 V 2 2 ) w i .
Supposing that slope (4) is non-negative, we then move x 1 towards vertex v r + 1 and move x 2 towards vertex v s + 1 until x 1 coincides with v r + 1 by δ = min { d ( x 1 , v r + 1 ) , d ( x 2 , v s + 1 ) } (and x 2 ) towards v r + 1 (and v s + 1 ) by δ = min { d ( x 1 , v r + 1 ) , d ( x 2 , v s + 1 ) } . Thus, we obtain X ¯ = { v r + 1 , x 2 + δ } or X ¯ = { v r + δ , v s + 1 } and the following inequality:
F ( X ¯ ) = F ( X * ) + s δ F ( X * ) ,
which implies that there exists an optimal solution with at least one vertex. Without a loss of generality, we assume that X * = { x 1 , x 2 } is a constrained 2-maxian with x 1 as a vertex r.
Suppose that x 2 is a interior point of the edge ( v s , v s + 1 ) and of d c ( x 1 , x 2 ) = U < U . For the edge e s = ( v s , v s + 1 ) , we define a function g : [ 0 , ( e s ) ] R depending on t , similar to the definition of the function f. Let the function g be given by the following:
g ( t ) = v i V 1 w i d ( v i , v r ) + v i V 2 w i d ( v i , v s + t ) + v i V 3 w i · max { d ( v i , v r ) , d ( v i , v s + t ) } .
If we define ε = min { ( e s ) , U d c ( x 1 , v s ) } , then g ( t ) is a linear function in the closed intervals [ 0 , x 2 v s ] and [ x 2 v s , ε ] with slopes as follows:
v i V 2 1 w i v i V 2 2 w i w k 2
and
v i V 2 1 w i v i V 2 2 w i + w k 1 ,
respectively. If the value v i V 2 1 w i v i V 2 2 w i 0 , we move x 2 toward the vertex s until x 2 coincides with v s . Then, we set X ¯ : = { x 1 = v r , x 2 = v s } and the following equation
F ( X ¯ ) = F ( X * ) + ( v i V 2 1 w i v i V 2 2 w i w k 2 ) ( v s x 2 ) F ( X * )
can be concluded, where X ¯ fulfills the statement 1. Otherwise, if the value v i V 2 1 w i v i V 2 2 w i > 0 , we move x 2 towards the vertex v s + 1 . Note that x 2 may either coincide with v s + 1 or may be an interior point x 2 , which lies on ( v s , v s + 1 ) with d c ( x 1 = v r , x 2 ) = U . Either case fulfills statement 1 or statement 2. This completes the proof.    □
By Theorem 1, we define by ex ( v i ) the point in C whose distance to v i V is d ( v i , ex ( v i ) ) = U , and by op( v i ) the point in C that is opposite to v i V , d ( v i , ex ( v i ) ) = ( C ) 2 . Then, we add all points ex ( v i ) and op( v i ) with a weight of zero to C and update the edges that are incident to those new vertices to create a m o d i f i e d cycle. It is easy to see that there are O ( n ) vertices in the modified cycle. Moreover, if U ( C ) 2 , the upper bound U has no constraint on the facilities of the constrained 2-maxian problem; i.e., the constrained 2-maxian problem is equivalent to the corresponding unconstrained problem and, thus, can be solved in linear time [16].

3. A Linear Time Algorithm

Based on previous results, we develop a combinatorial algorithm that solves the constrained 2-maxian problem on a modified cycle C = ( V , E ) . Let X ( C ) be the set of all points on the cycle C. In order to keep the notation simple, the cycle C is parameterized; i.e., the point x X ( C ) that lies on the edge ( v i , v i + 1 ) for some i = 1 , 2 , , n is identified with the real number t, which is given by t = k = 1 i 1 ( e k ) + d ( v i , x ) . For any two points a , b X ( C ) , denoted by X ( a , b ) , the set of all points is traversed by moving from a towards b in a clockwise direction. Let ( V 1 , V 2 ) be an ordered 2-partition of V, such that V 1 and V 2 are disjoint and V = V 1 V 2 , and let V be the set of all ordered 2-partitions of V. It is easy to see that, for any 2-partition ( V 1 , V 2 ) V and for any points X = { x 1 , x 2 } , we have the following:
F ( X ) k = 1 2 v j V k w j · max { d ( v j , x 1 ) , d ( v j , x 2 ) } ,
and thus the following
F ( X ) = max ( V 1 , V 2 ) V k = 1 2 v j V k w j · max { d ( v j , x 1 ) , d ( v j , x 2 ) }
holds.
Using the observation above, the constrained 2-maxian problem on a cycle can be formulated in the following way:
max x , y F ( x , y ) = max x , y ( v i V x w i d ( v i , x ) + v i V y w i d ( v i , y ) ) = max ( V x , V y ) V max x , y ( v i V x w i d ( v i , x ) + v i V y w i d ( v i , y ) ) ,
where V x and V y are the vertex sets that are served by x and y, respectively.
Suppose that ( x * , y * ) is the optimal solution to the constrained 2-maxian problem; then, the sets V x * and V y * can be constructed as follows:
V x * : = { v i V | d ( v i , x * ) > d ( v i , y * ) } { v i V | d ( v i , x * ) = d ( v i , y * ) and v i X ( x * , y * ) }
and
V y * : = { v i V | d ( v i , x * ) < d ( v i , y * ) } { v i V | d ( v i , x * ) = d ( v i , y * ) and v i X ( y * , x * ) } .
Note that the sets V x * and V y * have the properties of | V x * | = | V y * | = n 2 and v i V x * , if and only if o p ( v i ) V y * . It is easy to see that ( V x * , V y * ) is an optimal assignment of the vertices to x * and y * . Then, we define the set of all subsets of n 2 vertices that induce a path as follows:
W : = { W V | W | = n 2 and G [ W ] is a path } ,
where G [ W ] is the graph that is induced by W. It is easy to see that | W | = n and that, if  W W , W c : = V \ W is also in W . Moreover, the set of all points of G [ W ] for a given set W W is denoted by X ( G [ W ] ) . We define two functions f : X ( G [ W ] ) R and f : X ( G [ W c ] ) R as follows:
f W ( x ) : = v i W c w i d ( v i , x )
and
f W c ( y ) : = v i W w i d ( v i , y ) .
Using the function f, the problem reduces to
max x , y F ( x , y ) = max W W max x W c , y W ( f W ( x ) + f W c ( y ) )
= max W W ( max x W c f W ( x ) + max y W f W c ( y ) ) .
Equation (8) implies the following algorithmic approach. We solve the problem max x W c f W ( x ) and max y W f W c ( y ) for all W W independently to obtain the optimal solution ( x * , y * ) . If  d ( x * , y * ) U , then ( x * , y * ) is the optimal solution to the constrained 2-maxian problem; otherwise, we consider ( x * , e x ( x * ) ) and ( y * , e x ( y * ) ) , and obtain one with a larger objective value as the optimal solution to the constrained 2-maxian problem. Next, we begin to consider the functions f W ( x ) and f W c ( y ) .
Lemma 1. 
For the given W W , the functions f W ( x ) and f W c ( y ) are concave and piecewise linear.
Proof. 
It is only proven that f W ( x ) is concave because the concavity of f W c ( y ) can be obtained similarly. For simplicity, it is assumed that W = { 1 , , n 2 } , W c = { n 2 + 1 , , n } . Note that d ( i , x ) is piecewise linear and concave for i W . Since w i 0 , f W ( x ) is concave and piecewise linear.    □
Note that a piecewise linear function f attains its maximum in a breakpoint i. Let the breakpoints of f be i 1 , , i q and the corresponding slopes in the interval [ i s , i s + 1 ] be k s . Then, i s is the maximum point of f if and only if the product of the slopes in [ i s 1 , i s ] and [ i s , i s + 1 ] is non-positive, i.e.,  k s 1 k s 0 .
It is easy to see that the set of breakpoints B P s of the function f W ( x ) is given by the following equation:
B P = { i s = s = n 2 + 1 n 2 + s 1 ( e s ) | s = 2 , , n 2 } { i n = n } .
Note that the slope k s of f V ( x ) in [ i s , i s 1 ] can be computed as follows:
k s : = j = n 2 + 1 n 2 + s w j j = n 2 + s + 1 n w j .
According to the discussion above, the breakpoints and the slopes can be computed in linear time. However, in order to compute f W ( x ) and f W c ( y ) efficiently for all W W , an even better method can be introduced.
Note that if we have already solved f W ( x ) for W W , then the solution for W with | W Δ W | = 2 has the following property, where Δ denotes the symmetric difference of two sets.
Lemma 2. 
Let W = { v i , , v i + n 2 1 } and W = { v i + 1 , , v i + n 2 } be two sets of W . Suppose that arg max x W c f W ( x ) = i s for some v s W c and arg max y W f W c ( y ) = v i t for some v t W c , then arg max x W c f W ( x ) X ( v i s , v i + n 2 ) and arg max y W f W c ( y ) X ( v i t , v i ) .
Proof. 
The length of the path induced by W is denoted by ( G [ W ] ) , i.e.,  ( G [ W ] ) = e G [ W ] ( e ) . Note that f W ( x ) and f W ( x ) are defined on [ v i , v i + ( W ) ] and [ ( e i ) , ( W ) + ( e v i + n 2 ) ] , respectively. Both functions are piecewise linear in [ ( e i ) , ( W ) ] , and they have the same set of breakpoints B = { v i + 1 + n 2 , , v i + n } . For the interval [ v i , v i + 1 ] , the slopes of f W ( x ) and f W ( x ) can be computed as follows:
k i : = j = n 2 + 1 o p ( v i ) w j j = o p ( v i + 1 ) n w j
and
k i : = j = n 2 + 2 o p ( v i ) w j o p ( v i + 1 ) n + 1 w j ,
respectively.
Subtracting (9) from (10), we have k i k i = ( w n 2 + 1 + w 1 ) 0 . Using the fact that k i k i and that a breakpoint i is a maximum of f W if and only if k i 1 k i 0 , it follows that, if  arg max x W f W ( x ) = k , then arg max x W f W ( x ) X ( k , n 2 + 1 ) . For the function f W c ( y ) , we can use the same argument to obtain the statement.    □
It is easy to apply the above result to any two sets W i = ( v i , v i + 1 , , v i + n 2 1 ) and W i + 1 = ( v i + 1 , v i + 2 , , v i + n 2 ) . Finally, we give Algorithm 1 to compute z * = max x W i f W i ( x ) and x i * = arg max x W j f W i ( x ) for i = 1 , 2 , n . Based on Lemma 2, we can easily compute x i + 1 * in X ( x i * , n 2 + i ) . This result guarantees that we only have to deal with the right-sided derivative in x i * . The right-sided derivative in x i * , with respect to f W i , is denoted by k W i ( x i * ) .
Theorem 2. 
Algorithm 1 computes z i * = max x W i f W i ( x ) and x i * = arg max x W i f W i ( x ) for i = 1 , 2 , , n in linear time.
Algorithm 1: Algorithm for computing z i * = max x W i f W i ( x ) and x i * = arg max x W i f W i ( x ) for i = 1 , 2 , , n
  Input: A cycle C = ( V , E ) with V = { 1 , 2 , , n } .
  Output: z i * = max x W i f W i ( x ) and x i * = arg max x W i f W i ( x ) for i = 1 , 2 , , n .
  1 
W 1 = { v 1 , v 2 , , v n 2 }
  2 
Compute z 1 * = max x W 1 f W 1 ( x ) and x 1 * = arg max x W 1 f W 1 ( x )
  3 
Compute k W 1 ( x 1 * ) by using (9)
  4 
for i from 2 to n do (
  5 
  if  x i 1 * = v i 1  then
  6 
    x i * = x i 1 * + 1
  7 
    f W i 1 ( x i * ) = f W i 1 ( x i 1 * ) + ( e x i 1 * ) k W i 1 ( x i 1 * )
  8 
    k W i 1 ( x i * ) = k W i 1 ( x i 1 * ) w i 1 w n 2 + i 1
  9 
   else
10 
     x i * = x i 1 *
11 
   end
12 
  end
13 
   W i = W i 1 \ { v i 1 } { v n 2 + i 1 }
14 
   f W i ( x i * ) = f W i 1 ( x i * ) w i 1 ( e i 1 ) + w n 2 + i 1 ( e n 2 + i 1 )
15 
   k W i ( x i * ) = k W i 1 ( x i * ) w i 1 w n 2 + i 1
16 
  while  k W i ( x i * ) > 0 and x i * v n 2 + i 1  do
17 
    x i * = x i * + 1
18 
    f W i ( x i * ) = f W i ( x i * 1 ) + ( e x i * 1 ) k W i ( x i * 1 )
19 
    k W i ( x i * ) = k W i ( x i * 1 ) w i 1 w n 2 + i 1
20 
  end
21 
   z i * = f W i ( x i * )
22 
end
In the preprocessing step (lines 1–3), the problem max x W 1 f W 1 ( x ) is solved, and the right-sided derivative in x 1 * is obtained. In the for-loop, the problem max x W j f W i ( x ) is solved, where we assume that x i 1 * , z i 1 * and k W i 1 ( x j 1 * ) are already computed. Lines 5–12 consider two different cases: x i 1 * = i 1 and x i 1 * i 1 . Lines 14–15 compute the values f W i ( x i * ) and k W i ( x i * ) for the problem on W i . Lines 16–20 judge whether x i * is optimal; if it is not, x i * will be updated until we obtain an optimal solution. Thus, Algorithm 1 is correct.
Note that the preprocessing step can be completed in linear time. Moreover, since the computation in each for-loop can be completed in constant time, the total computation can be completed in O ( n ) time. Therefore, Algorithm 1 runs in linear time. Once x i * and y i * for i = 1 , 2 , , n are obtained, we test d ( x i * , y i * ) U . If it does not hold, ( x i * , y i * ) could be replaced with ( x i * , e x ( x i * ) ) or ( e x ( y i * ) , y i * ) according to the statements in the previous section. Note that these computations can be completed in constant time. Summarizing, we accomplish the main result of this paper.
Theorem 3. 
The constrained 2-maxian problem on a cycle can be solved in linear time.

4. Conclusions

This paper addressed the p-maxian problem on cycle graphs with constraints, where the distance between facilities is not greater than a given bound U . We considered the case of p = 2 and showed that any optimal solution contains at least one vertex of the cycle graph. Based on this property, we developed a combinatorial algorithm that solves the problem in linear time. It should be emphasized that the underlying graph of our model is a cycle, which is different from the graph of [15]. It is interesting to study whether there exist polynomial time algorithms for the case of p 3 on cycle graphs and the constrained p-maxian problem on cactus graphs, block graphs, etc.

Author Contributions

Conceptualization, C.B.; Writing of original draft, C.B.; Writing of review and editing, J.D. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially supported by the Natural Science Research Foundation of Colleges and Universities of Anhui Province (KJ2021A0968, KJ2021A0967, 2022AH051585).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Goldman, A.J. Optimal center location in simple networks. Transp. Sci. 1971, 5, 539–560. [Google Scholar] [CrossRef]
  2. Gavish, B.; Sridhar, S. Computing the 2-median on tree networks in O(n log n) time. Networks 1995, 26, 305. [Google Scholar] [CrossRef]
  3. Tamir, A. An O(pn2) algorithm for the p-median and related problems on tree graphs. Oper. Res. Lett. 1996, 19, 59–64. [Google Scholar] [CrossRef]
  4. Burkard, R.E.; Krarup, J. A linear algorithm for the pos/neg-weighted 1-median problem on a cactus. Computing 1998, 60, 193–215. [Google Scholar] [CrossRef]
  5. Handler, G.Y. Minimax location of a facility in an undirected tree networks. Transp. Sci. 1973, 7, 287–293. [Google Scholar] [CrossRef]
  6. Wang, H.T.; Zhang, J.R. An O(n log n)-time algorithm for k-center problem in trees. SIAM J. Comput. 2021, 50, 602–635. [Google Scholar] [CrossRef]
  7. Lan, Y.F.; Wang, Y.L.; Suzuki, H.A. A linear-time algorithm for solving the center problem on weighted cactus graphs. Inf. Process. Lett. 1999, 71, 205–212. [Google Scholar] [CrossRef]
  8. Ben-Moshe, B.; Bhattacharya, B.; Shi, Q.; Tamir, A. Efficient algorithms for center problems in cactus networks. Theor. Comput. Sci. 2007, 378, 237–252. [Google Scholar] [CrossRef]
  9. Krarup, J.; Pisinger, D.; Plastria, F. Discrete location problems with push-pull objectives. Discret. Appl. Math. 2002, 123, 363–378. [Google Scholar]
  10. Tamir, A. Obnoxious facility location on graphs. SIAM J. Discret. Math. 1991, 4, 550–567. [Google Scholar] [CrossRef]
  11. Burkard, R.E.; Fathali, J.; Kakhki, H.T. The p-maxian problem on a tree. Oper. Res. Lett. 2007, 35, 331–335. [Google Scholar] [CrossRef]
  12. Kang, L.Y.; Cheng, Y.K. The p-maxian problem on block graphs. J. Comb. Optim. 2010, 20, 131–141. [Google Scholar] [CrossRef]
  13. Cheng, Y.K.; Kang, L.Y. The p-maxian problem on interval graphs. Discret. Appl. Math. 2010, 158, 1986–1993. [Google Scholar] [CrossRef]
  14. Kang, L.Y.; Bai, C.S.; Shan, E.F.; Nguyen, T.K. The 2-maxian problem on cactus graphs. Discret. Optim. 2014, 13, 16–22. [Google Scholar] [CrossRef]
  15. Nguyen, T.K.; Hung, N.T.; Nguyen-Thu, H. A linear time algorithm for the p-maxian problem on trees with distance constraint. J. Comb. Optim. 2020, 40, 1030–1043. [Google Scholar] [CrossRef]
  16. Burkard, R.E.; Hatzl, J. Median problems with positive and negative weights on cycles and cacti. J. Comb. Optim. 2010, 20, 27–46. [Google Scholar] [CrossRef]
Figure 1. Vertex optimality does not hold any more.
Figure 1. Vertex optimality does not hold any more.
Mathematics 12 00876 g001
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bai, C.; Du, J. The Constrained 2-Maxian Problem on Cycles. Mathematics 2024, 12, 876. https://doi.org/10.3390/math12060876

AMA Style

Bai C, Du J. The Constrained 2-Maxian Problem on Cycles. Mathematics. 2024; 12(6):876. https://doi.org/10.3390/math12060876

Chicago/Turabian Style

Bai, Chunsong, and Jun Du. 2024. "The Constrained 2-Maxian Problem on Cycles" Mathematics 12, no. 6: 876. https://doi.org/10.3390/math12060876

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop