Next Article in Journal
Streamline Diffusion Finite Element Method for Singularly Perturbed 1D-Parabolic Convection Diffusion Differential Equations with Line Discontinuous Source
Previous Article in Journal
An Approach Based on Cross-Attention Mechanism and Label-Enhancement Algorithm for Legal Judgment Prediction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quasi-Packing Different Spheres with Ratio Conditions in a Spherical Container

1
Institute of Numerical Mathematics, Technische Universität Dresden, 01062 Dresden, Germany
2
Graduate Program in Systems Engineering, Nuevo Leon State University (UANL), Av. Universidad s/n, Col. Ciudad Universitaria, San Nicolas de los Garza CP 66455, Nuevo Leon, Mexico
3
A. Pidhornyi Institute of Mechanical Engineering Problems of the National Academy of Sciences of Ukraine, Pozhars’koho St., 2/10, 61046 Kharkiv, Ukraine
4
Department of Systems Engineering, Kharkiv National University of Radioelectronics, 14 Nauky Ave., 61166 Kharkiv, Ukraine
5
V. M. Glushkov Institute of Cybernetics, National Academy of Sciences of Ukraine, 03187 Kyiv, Ukraine
*
Authors to whom correspondence should be addressed.
Mathematics 2023, 11(9), 2033; https://doi.org/10.3390/math11092033
Submission received: 1 February 2023 / Revised: 20 March 2023 / Accepted: 11 April 2023 / Published: 25 April 2023
(This article belongs to the Section Engineering Mathematics)

Abstract

:
This paper considers the optimized packing of different spheres into a given spherical container under non-standard placement conditions. A sphere is considered placed in the container if at least a certain part of the sphere is in the container. Spheres are allowed to overlap with each other according to predefined parameters. Ratio conditions are introduced to establish correspondence between the number of packed spheres of different radii. The packing aims to maximize the total number of packed spheres subject to ratio, partial overlapping and quasi-containment conditions. A nonlinear mixed-integer optimization model is proposed for this ratio quasi-packing problem. A heuristic algorithm is developed that reduces the original problem to a sequence of continuous open dimension problems for quasi-packing scaled spheres. Computational results for finding global solutions for small instances and good feasible solutions for large instances are provided.

1. Introduction

In classical sphere packing problems, non-overlapping spherical objects must be placed completely inside a container [1]. These conditions, referred to as non-overlapping and containment, form key constraints in the corresponding optimized packing problems. In these problems, either the container is fixed and the total volume of packed spheres is maximized, or the spheres are fixed and the smallest container is constructed to fit all the spheres. Sphere packing problems are well studied and arise in biology [2,3,4,5], medicine [6,7], physics [8,9,10,11] and engineering [12,13,14,15,16,17], to mention a few.
Numerical methods to solve optimized sphere packing problems can be divided into exact and approximate approaches. Exact solution techniques are typically based on corresponding nonlinear programming models and use global optimization schemes (e.g., branch and bound) for their solution [18]. This approach is efficient for relatively small problem instances. For larger instances, exact schemes are frequently combined with heuristics [19]. Many combined approaches are based on nonlinear optimization models and then use exact or heuristic local techniques [19,20,21,22] to obtain reasonable solutions. Approximation of the container by a finite grid results in a binary assignment problem for centers of spheres to nodes of the grid [23,24,25,26]. Many approaches [27,28,29,30,31,32,33] combine several techniques.
This paper is focused on non-standard packing problems where either non-overlapping or containment or both conditions are allowed to be violated. In what follows, these problems are referred to as quasi-packing. Allowing a controlled overlap is frequently used in modeling packing problems in natural sciences since soft spheres can be modeled as hard spheres with a limited overlap. Examples are the spatial organization of chromosomes in the cell nucleus [2,34], the spatial organization of neurons [3,4] or the arrangement of ganglion cell receptive fields on the retinal surface [35,36]. From a mathematical point of view, introducing a limited overlap may be considered as an intermediate case between sphere packing and sphere covering [37]. In sphere packing, the main objective is to achieve the densest layout, i.e., layout where the spheres fill the maximal possible space in the container. In contrast, sphere covering corresponds to a layout of spheres that covers the whole space. In this case, overlapping is not only allowed but inevitable. Our interest in packing with overlap is motivated by modeling porous media under pressure [38,39,40]. These problems arise frequently in oil and gas extracting industries [41,42,43]. Elements of porous media can be deformed by external force. This corresponds to the partial overlapping of spheres.
In quasi-packing, a sphere is considered placed in the container if at least a certain part of the sphere is in the container. This relaxation of classical containment arises, e.g., in modeling a distribution of spherical particles in porous media [44,45]. The porous material can be analyzed experimentally by extracting a volumetric sample (container) for further investigation or by mathematical simulation of the material structure in the sample. Since some spheres are cut off in the extraction process, only parts of them may remain in the sample. Correspondingly, the mathematical model should allow spheres that are not entirely placed in the container.
In this paper, optimized quasi-packing of different spheres in a spherical container is introduced. The objective is to maximize the total number of spheres placed in the container subject to quasi-packing constraints. It is assumed that a certain correspondence between the number of packed spheres of different radii must be kept. Ratio conditions are introduced to establish lower and upper bounds for the relative impact (percentage) of the number of spheres of a certain radius to the total number of spheres.
The main contributions of this paper are as follows:
(1)
A novel class of sphere packing in a spherical container with partial overlapping, quasi-containment and ratio conditions.
(2)
A mixed-integer nonlinear programming model for the ratio quasi-packing of spheres.
(3)
A heuristic for large problem instances consisting of finding feasible starting points in an open dimension continuous optimization problem to obtain reasonable feasible solutions.
(4)
Numerical experiments for small problem instances with exact solutions obtained using the global solver BARON.
(5)
Numerical experiments for larger problem instances with good feasible solutions obtained by the heuristic using the local solver IPOPT for open dimension problems.
The paper is organized as follows. Section 2 presents the ratio quasi-packing problem for spheres and provides the corresponding nonlinear mixed-integer programming formulation. A heuristic strategy for finding good feasible solutions to the problem is described in Section 3. Numerical results are given in Section 4, while Section 5 concludes the paper.

2. Problem Formulation

Let S 0 be a spherical container with a given radius R and centered at ( 0 , 0 , 0 ) . In addition, a family S = { S i ( u i ) , i = 1 , , n } of spheres S i ( u i ) = { u R 3 : u u i r i } centered at u i = ( x i , y i , z i ) is given. It is assumed that there are K different radii of the spheres and n k spheres of type k , ( k = 1 , 2 , K ) , n = k = 1 K n k .
Ratio Quasi-Packing Spheres (RQPS). Find the maximum number of spheres S i ( u i ) from the family S under the following conditions:
  • u i u j ( r i + r j δ i j ) (partial overlapping condition) for 1 i < j n ,
where δ i j ( r i + r j ) * δ 0 , δ 0 0 is a given parameter providing allowable pairwise overlapping of spheres;
  • u i R + ε i (quasi-containment condition) for i = 1 , , n ,
where ε i , i = 1 , , n is a given (or randomly chosen) parameter providing the allowable intersection of the sphere S i ( u i ) with the boundary of S 0 , ε i   [ r i , r i ] ;
  • τ k τ k τ k + for k = 1 , , K (ratio condition),
where τ k = ( t h e   n u m b e r   o f   p a c k e d   s p h e r e s o f   k - t h   t y p e ) / ( t o t a l   n u m b e r   o f   p a c k e d   s p h e r e s ) , 0 τ k τ k + 1 are given nonnegative constants.
Below, the basic concepts of quasi-packing are commented and graphically illustrated.
The partial overlapping condition  u i u j ( r i + r j δ i j ) assures that the minimal distance between centers u i and u j of two spheres S i ( u i ) and S j ( u j ) having radii r i and r j is at least r i + r j δ i j . Here, δ i j 0 is a given (sufficiently small) positive parameter of allowable pairwise overlapping of the spheres. Figure 1a presents the standard non-overlapping corresponding to δ i j = 0 . Condition u i u j r i + r j , in this case, means that the intersection of the interiors of spheres S i ( u i ) and S j ( u j ) is empty. Figure 1b illustrates δ i j overlapping (partial overlapping) for δ i j > 0 .
Quasi-containment condition  u i R + ε i assures that the maximal distance between the center u i of the sphere S i and the origin (center of the container S 0 ) is at most R + ε i . Here, ε i   [ r i , r i ] is a given parameter characterizing a permitted “protrusion” of S i from the container S 0 . Figure 2a corresponds to ε i = r i , u i R r i and illustrates the standard containment condition S i ( u i ) S 0 . In Figure 2b, the quasi-containment is presented for ε i = 0 and u i R , while Figure 2c corresponds to ε i = r i and u i R + r i .
Ratio condition  τ k τ k τ k + for k = 1 , , K assures a certain correspondence (proportion) between the number of packed spheres of different radii. Here, τ k is defined as a relative number of spheres of k-th type, τ k = (number of packed spheres of k-th type)/(total number of packed spheres), and 0 τ k τ k + 1 is a given nonnegative parameter. We distinguish between strict ( τ k = τ k + ) or non-strict ( τ k < τ k + ) ratio conditions. The ratio condition is introduced to maintain a certain structure of a particulate matter under different packing configurations. Figure 3 illustrates the ratio condition for n = 9 spheres of K = 3 different types (blue, green and yellow 2D spheres in Figure 3). The strict ratio condition τ k = τ k = τ k + , k = 1 , 2 , 3 is considered with τ 1 = 2 / 9 , τ 2 = 3 / 9 , τ 3 = 4 / 9 . Packing in Figure 3a does not satisfy the ratio condition since n 1 = 1 n 2 = 4 n 3 = 4 . Figure 3b provides a feasible packing that satisfies the ratio condition since n 1 = 2 n 2 = 3 n 3 = 4 .

Mixed-Integer Nonlinear Programming Model for RQPS

Let us define the RQPS problem variables. The vector u = ( u i , i = 1 , , n ) R 3 n specifies the coordinates of the centers of the spheres S i ( u i ) , while the vector π = ( π i , i = 1 , , n ) B n defines the binary variables.
The vector of all variables is denoted as v = ( u , π ) .
The mathematical model of the RQPS problem has the following form:
max π i { 0 , 1 } i = 1 n π i
subject to
π i ψ i ( u i ) 0 , i = 1 , , n
π i π j φ i j ( u i , u j ) 0 , 1 i < j n ,
τ k i = 1 n π i i I k π i τ k + i = 1 n π i , k = 1 , , K
for I 1 = { 1 , , n 1 } , I 2 = { n 1 + 1 , , n 1 + n 2 } , , I K = { n n K + 1 , , n } , I = I 1 I 2 I K , k = 1 K n k = n .
Here,
ψ i ( u i ) = R + ε i u i , φ i j ( u i , u j ) = u i u j ( r i + r j δ i j ) ,
and inequalities (2) state the quasi-containment conditions, while inequalities (3) represent the partial overlapping conditions for spheres S i ( u i ) . Constraints (4) state the ratio conditions. Constraints (2) assure that if ψ i ( u i ) < 0 (quasi-containment condition is not satisfied), then π i = 0 . Constraints (3) guarantee that if φ i j ( u i , u j ) < 0 (partial overlapping is not satisfied), then π i and π j cannot be equal to 1, simultaneously. Note that for ψ i ( u i ) 0 , both π i = 1 and π i = 0 satisfy constraint (2). This is similar for the case φ i j ( u i , u j ) 0 in (3). However, to maximize the objective (1), π i = 1 must be selected as often as possible. This implies that a solution of model (1)–(4) indeed places the maximal possible number of spheres so that the constraints are satisfied.
The main characteristics of the model (1)–(4) are as follows:
  • The model (1)–(4) is a mixed-integer nonlinear mathematical programming problem (MINLP—Mixed-Integer Nonlinear Programming).
  • The objective function (1) is linear.
  • The total number of variables is 4 n ( n binary and 3 n continuous variables).
  • The solution space is defined by n + 0.5 n ( n 1 ) nonlinear constraints of the form (2), (3) and 2 k linear inequalities in (4).
If the ratio conditions (4) are omitted (e.g., in case of uniform spheres), then integrality conditions for the variables π i can be relaxed without losing the optimal solution.
Proposition 1.
Consider the quasi-packing sphere problem (1)–(3) with integrality constraints   π i { 0 , 1 }  relaxed to  0 π i 1 . Then, all optimal solutions  ( π * , u * )  to this continuous nonlinear programming problem have only binary components  π i * { 0 , 1 } .
Demonstration.
The proof is by contradiction. Suppose that there exists a rational component 0 < π i * < 1 in the optimal solution. Since π i * > 0 , then by (2) we have ψ i ( u i * ) 0 . Hence, π i * can be increased to 1 without violating constraint (2). If π j * > 0 , then by (3) we have φ i j ( u i * , u j * ) 0 and π i * can be increased to 1 without violating constraint (3). For π j * = 0 , we can increase π i * to 1 without violating constraint (3) for any sign of φ i j ( u i * , u j * ) . Thus, if 0 < π i * < 1 , then we can increase π i * to 1 without violating constraints of the problem and thus increase the value of the objective function (1). This contradicts the optimality of π i * .
Packing spheres are known to be NP-hard [1]. Global solvers can find provably optimal solutions to model (1)–(4) for small problem instances with dozens of spheres (see Section 4.1). A heuristic approach below is proposed to find reasonable feasible solutions for larger instances.

3. Heuristic Approach

The main idea of the proposed heuristic algorithm is reducing the original problem to a sequence ( l = 1 , 2 , , ) of quasi-packing problems of a given number of scaled spheres in a given spherical container. The objective is to maximize the scaling parameter (and, with this, to grow the spheres up to their original size) subject to the ratio conditions.
Let us consider the optimization problem we are going to use in our heuristic algorithm.
To this end, let λ S i ( u i ) , i = 1 , , l , l n be a given number of scaled spheres, 0 λ 1 . Let S 0 denote a sphere centered at ( 0 , 0 , 0 ) with radius R providing
(a)
u i R + λ ε i , i = 1 , , l , λ ε i λ [ - r i , r i ] ;
(b)
u i u j λ ( r i + r j δ i j ) and λ δ i j λ ( r i + r j ) * δ 0 .
Each of the ( l = 1 , 2 , , ) quasi-packing problems is stated as a nonlinear programming problem:
λ * = max v l l λ ,
where v l = ( u 1 , , u l , λ ) is a vector of variables, and the feasible set l R 3 l + 1 is described by the following inequality system:
ψ i ( u i , λ ) 0 , i = i , , l ,
φ i j ( u i , u j , λ ) 0 , 1 i < j n ,
0 λ 1 ,
with
ψ i ( u i , λ ) = u i + ( R + λ ε i ) , φ i j ( u i , u j , λ ) = u i u j λ ( r i + r j δ i j ) .
Inequality (6) provides the quasi-containment of the scaled sphere λ S i ( u i ) in the spherical domain S 0 ( λ ε i ) = { u R 3 : u R + λ ε i } , i.e., u i S 0 ( λ ε i ) , while inequality (7) describes the partial overlapping of scaled spheres λ S i ( u i ) and λ S j ( u j ) , i.e., u i u j λ ( r i + r j δ i j ) .
Let us introduce some notations used in our algorithm. Let I min denote a minimal set of spheres meeting the ratio condition (4), where: q is the cardinality of the set I min ; I s denotes an aggregate set of spheres; { i k } means a sphere of type k .
Our algorithm involves three main stages:
Stage 1. Generation of a minimal set of spheres (minimal block), I min , that satisfies the strict ratio conditions (Steps 1–7).
Stage 2. Multiple sequential placements of the spheres in I min meeting the quasi-packing and strict ratio conditions. Creation of an aggregate set I s (accumulation of I min blocks) (Steps 8–12).
Stage 3. Placement of additional spheres in the quasi-packing found at Stage 2 meeting the quasi-packing and non-strict ratio conditions (Steps 13–19).
Let us consider the algorithm in detail.
Firstly, an integer t specifying the cardinality of the set I min of spheres is calculated that meets the ratio conditions. Denote τ k [ τ k , τ k + ] assuming k = 1 K τ k = 1 (Steps 1–3).
Step 1. Set t : = 0 .
Step 2. Set t : = t + 1 .
Step 3. If t τ k t τ k = 0 , k = 1 , , K , then set q : = t and go to Step 4; otherwise, go to Step 2. Here, · is the floor function.
Then, the minimum index set I min is formed (Steps 4–7).
Step 4. Set I min : = .
Step 5. Set k : = 1 .
Step 6. If k = K + 1 , then go to Step 8.
Step 7. Set I min : = I min j = 1 t τ k { i k j } , k = k + 1 and go to Step 6.
Further, the aggregate index set I s having cardinality l and meeting the quasi-packing and the ratio conditions is constructed (Steps 8–10).
Step 8. Set I s : = , l : = 0 .
Step 9. Set I s : = I s I min , l : = l + q .
Step 10. Search for a local maximum of the problem (5)–(8) for the set I s using a local optimization solver combined with the decomposition procedure. This technique substitutes (approximately) a large-scale nonlinear programming problem with a sequence of considerably smaller nonlinear programming problems with non-overlapping (partially non-overlapping) conditions considering only neighbor spheres. The detailed description of the technique can be found, e.g., in [22,46].
At the next step, we verify the quasi-packing conditions and update the set I s : = I s \ I min (Step 11).
Step 11. If λ = 1 , then go to Step 9; otherwise, ( λ < 1 ) set I s : = I s \ I min , l : = l q and go to Step 12.
For the case of the strict ratio conditions, we provide a stopping criterion for our algorithm at Step 12.
Step 12. If τ k = τ k + , k = 1 , , K , then stop the algorithm with n * : = l ; otherwise, go to Step 13.
An addition of single spheres (in a one-by-one scenario) to the set I s meeting the ratio and quasi-packing conditions is produced at Steps 13–19.
Step 13. Set k : = K + 1 .
Step 14. Set k : = k 1 .
Step 15. If k 1 , then set I s : = I s { i k } , l : = l + 1 ; otherwise, stop the algorithm with n * : = l .
Step 16. If I s meets (4), then go to Step 17; otherwise, set I s : = I s \ { i k } , l : = l 1 and go to Step 14.
Step 17. Search for a local maximum of the problem (5)–(8) for the sphere set I s . If λ = 1 , then go to Step 18; otherwise, set I s : = I s \ { i k } and stop the algorithm with n * : = l 1 .
Step 18. If k < K , then set k : = K .
Step 19. Go to Step 15.
The flowchart of the algorithm is provided in Figure 4 below.

4. Computational Results

To verify the model (1)–(4), the global optimization solver BARON [47,48,49] was used to solve small problem instances. BARON was executed on the NEOS server [50] with AMPL [51] applied for modeling optimization problem (1)–(4). The nonlinear optimization problems (5)–(8) arising in the heuristic algorithm were solved by the local optimization solver IPOPT [52] combined with the decomposition procedure. All computations were executed on Desktop-54TG91N with Intel(R) Core(TM) i3-6100T CPU @ 3.20GHz, RAM 8 Gb.
Three types of instances were used in the computational experiments. In the first case, classical packing problems without violation of non-overlapping and containment conditions ( ε i = r i , δ i j = 0 ) were generated. The second group is composed of packing problems with non-overlapping ( ε i = r i ) and quasi-containment ( ε i   [ r i , r i ] ) conditions. In the last group, partial overlapping ( 0 δ i j ( r i + r j ) * δ 0 ) and quasi-containment ( ε i   [ r i , r i ] ) were permitted. Moreover, strict ( τ k = τ k + ) and non-strict ( τ k < τ k + ) ratio conditions (4) were considered.
For each problem, the instance below the maximal number of packed spheres is provided together with the corresponding computation time. For all small problem instances in Section 4.1, global solutions were obtained using BARON, i.e., the optimality-stopping criterion was fulfilled (see [48] for more details). For larger instances in Section 4.2, the best solutions obtained by the heuristic are reported. The value of porosity is also presented. The expression for approximately calculating the porosity can be found in Appendix A.

4.1. Results for Small Instances Using BARON

Example 1.
R = 5 ,  K = 5 ,  δ 0 = 0.2 . The rest of the input data are given inTable 1. The optimal number of spheres obtained in 222.149 s is  n * = 50  ( n 1 * = 10 ,   n 2 * = 10 ,   n 3 * = 10 ,  n 4 * = 10 ,   n 5 * = 10 ). The value of porosity is 0.18500961206. The corresponding quasi-packing is shown in Figure 5a.
Example 2.
R = 5 ,  K = 5 ,  δ 0 = 0.2 . The rest of the input data are given inTable 1. The optimal number of spheres obtained in 72.3216 s is  n * = 53  ( n 1 * = 10 ,   n 2 * = 9 ,   n 3 * = 9 ,  n 4 * = 13 ,   n 5 * = 12 ) with  τ 1 * = 0.188679   ,  τ 2 * = 0.169811   ,  τ 3 * = 0.169811   ,  τ 4 * = 0.245283   ,  τ 5 * = 0.226415   . The value of porosity is 0.14106740448. The corresponding quasi-packing is shown in Figure 5b.
Example 3.
R = 5 ,  K = 3 ,  δ 0 = 0.2 . The rest of the input data are given inTable 2. The optimal number of spheres obtained in 98.4785 s is  n * = 40  ( n 1 * = 24 ,   n 2 * = 8 ,   n 3 * = 8 ). The value of porosity is 0.40560543556. The corresponding quasi-packing is shown in Figure 6a.
Example 4.
R = 5 ,  K = 3 ,  δ 0 = 0.2 . The rest of the input data are given inTable 2. The optimal number of spheres obtained in 79.458 s is  n * = 48  ( n 1 * = 24 ,   n 2 * = 14 ,   n 3 * = 10 ) with  τ 1 * = 0.5 ,  τ 2 * = 0.291667 ,  τ 3 * = 0.208333 . The value of porosity is 0.24992548994. The corresponding quasi-packing is shown in Figure 6b.

4.2. Results Obtained by the Heuristic

Example 5.
R = 9.5 ,  K = 3 ,  δ 0 = 0.1 . The rest of the input data are given inTable 3. The number of spheres obtained in 5 s is  n * = 49  ( n 1 * = 7 ,  n 2 * = 14 ,     n 3 * = 28 ). The corresponding quasi-packing of 2D spheres is shown in Figure 7a.
Example 6.
R = 9.5 ,  K = 3 ,  δ 0 = 0.1 . The rest of the input data are given inTable 3. The number of spheres obtained in 10 s is  n * = 50  ( n 1 * = 7 ,  n 2 * = 14 ,     n 3 * = 29 ). The corresponding quasi-packing of circles is shown in Figure 7b.
Example 7.
R = 6.1 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are given inTable 4. The number of spheres obtained in 5 s is  n * = 42  ( n 1 * = 6 ,   n 2 * = 12 ,   n 3 * = 24 ). The value of porosity is 0.504364. The corresponding quasi-packing is shown in Figure 8a.
Example 8.
R = 6.1 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are specified inTable 4. The number of spheres obtained in 8 s is  n * = 43  ( n 1 * = 6 ,   n 2 * = 12 ,   n 3 * = 25 ). The value of porosity is 0.499958. The corresponding quasi-packing is shown in Figure 8b.
Example 9.
R = 6.1 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are given inTable 4. The number of spheres obtained in 5 s is  n * = 49  ( n 1 * = 7 ,   n 2 * = 14 ,   n 3 * = 28 ). The value of porosity is 0.433188. The corresponding quasi-packing is shown in Figure 9a.
Example 10.
R = 6.1 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are given inTable 4. The number of spheres obtained in 11 s is  n * = 50  ( n 1 * = 7 ,   n 2 * = 14 ,   n 3 * = 29 ). The value of porosity is 0.41836950385. The corresponding quasi-packing is shown in Figure 9b.
Example 11.
R = 6.1 ,  K = 3 ,  δ 0 = 0.1 . The rest of the input data are specified inTable 4. The number of spheres obtained in 7 s is  n * = 63 ( n 1 * = 9 ,   n 2 * = 18 ,   n 3 * = 36 ). The value of porosity is 0.2814923736. The corresponding quasi-packing is shown in Figure 10a.
Example 12.
R = 6.1 ,  K = 3 ,  δ 0 = 0.1 . The rest of the input data are specified inTable 4. The number of spheres obtained in 15 s is  n * = 64  ( n 1 * = 9 ,   n 2 * = 18 ,   n 3 * = 37 ). The value of porosity is 0.27854473893. The corresponding quasi-packing is shown inFigure 10b.
Example 13.
R = 6.1 ,  K = 3 ,  δ 0 = 0.2 . The rest of the input data are given inTable 4. The number of spheres obtained in 20 s is  n * = 84  ( n 1 * = 12 ,   n 2 * = 24 ,   n 3 * = 48 ). The value of porosity is 0.155574. The corresponding quasi-packing is shown in Figure 11a.
Example 14.
R = 8 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are given inTable 4. The number of spheres obtained in 12 s is  n * = 105  ( n 1 * = 15 ,   n 2 * = 30 ,   n 3 * = 60 ). The value of porosity is 0.446782. The corresponding quasi-packing is shown in Figure 11b.
Example 15.
R = 8 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are given inTable 4. The number of spheres obtained in 14 s is  n * = 109  ( n 1 * = 15 ,   n 2 * = 31 ,   n 3 * = 63 ). The value of porosity is 0.438232. The corresponding quasi-packing of spheres is shown in Figure 12a.
Example 16.
R = 8 ,  K = 3 ,  δ 0 = 0 .The rest of the input data are given inTable 4. The number of spheres obtained in 50 s is  n * = 112  ( n 1 * = 16 ,   n 2 * = 32 , n 3 * = 64 ). The value of porosity is 0.414063. The corresponding quasi-packing is shown in Figure 12b.
Example 17.
R = 8 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are specified inTable 4. The number of spheres obtained in 18 s is  n * = 118  ( n 1 * = 16 ,   n 2 * = 34 ,   n 3 * = 68 ). The value of porosity is 0.393993. The corresponding spheres are shown inFigure 13a.
Example 18.
R = 8 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are specified inTable 4. The number of spheres obtained in 29 s is  n * = 147  ( n 1 * = 21 ,   n 2 * = 42 ,   n 3 * = 84 ). The value of porosity is 0.254555. The corresponding quasi-packing is shown in Figure 13b.
Example 19.
R = 8 ,  K = 3 ,  δ 0 = 0.1 . The rest of the input data are specified inTable 4. The number of spheres obtained in 147 s is  n * = 152 ( n 1 * = 21 , n 2 * = 43 , n 3 * = 88 ). The value of porosity is 0.24759. The corresponding quasi-packing is shown inFigure 14a.
Example 20.
R = 8 ,  K = 3 ,  δ 0 = 0.2 . The rest of the input data are specified inTable 4. The number of spheres obtained in 47 s is  n * = 210  ( n 1 * = 30 ,   n 2 * = 60 ,   n 3 * = 120 ). The value of porosity is 0.129044. The corresponding quasi-packing is shown in Figure 14b.
Example 21.
R = 9 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are given inTable 5. The number of spheres obtained in 68 s is  n * = 238  ( n 1 * = 34 ,   n 2 * = 68 ,   n 3 * = 136 ). The value of porosity is 0.244979. The corresponding quasi-packing is shown in Figure 15a. If the number of IPOPT runs is increased, the better value  n * = 245  ( n 1 * = 35 ,   n 2 * = 70 ,   n 3 * = 140 ) can be obtained in 230 s with corresponding porosity 0.209132.
Example 22.
R = 9 ,  K = 3 ,  δ 0 = 0 . The rest of the input data are given inTable 5. The number of spheres obtained in 412 s is  n * = 244 , ( n 1 * = 34 ,   n 2 * = 70 ,   n 3 * = 140 ). The value of porosity is 0.222265. The corresponding quasi-packing is shown in Figure 15b. If the number of IPOPT runs is increased, the better value  n * = 246 ( n 1 * = 35 , n 2 * = 70 , n 3 * = 141 )  is obtained in 471 s with corresponding porosity 0.211930.

5. Conclusions

A novel sphere quasi-packing model that allows controlled violation of non-overlapping and containment conditions was developed. Ratio constraints were introduced to establish correspondence between the number of packed spheres of different radii. Corresponding MINLP formulation as well as the heuristic strategy for obtaining good feasible solutions were proposed. Proven optimal global solutions for the MINLP formulation were obtained for small instances with dozens of spheres using the global solver BARON on the NEOS server. For larger instances with hundreds of spheres, the proposed heuristic was successfully implemented providing reasonable feasible solutions. Testing the heuristic for large instances with thousands of spheres is an interesting area for future research. To simplify nonlinear optimization problems, grid approximations [23,24,25,26,53] can be considered to linearize optimized packing problems.
Spherical approximations for particles in porous media are frequently used in material sciences models [8,9,10,11,54,55,56]. However, to make analyses of granular structures more realistic, more sophisticated shapes can be used, e.g., ellipsoids, tetrahedrons, convex polyhedra and their mixtures [57,58]. Mathematical tools for placing convex and irregular non-spherical objects can be found in [59,60,61,62,63,64]. Some results on quasi-packing non-spherical objects are currently being prepared.

Author Contributions

Conceptualization, I.L. and T.R.; methodology, A.F. and P.S.; software, G.Y. and T.R.; validation, G.Y. and T.R.; formal analysis, A.F. and P.S.; investigation, A.F., I.L., T.R., P.S. and G.Y.; resources, P.S. and G.Y.; data curation, G.Y.; writing—original draft preparation, A.F., I.L., T.R., P.S. and G.Y.; writing—review and editing, A.F., I.L., T.R., P.S. and G.Y.; visualization, G.Y.; supervision, A.F., I.L. and T.R.; project administration, I.L. and T.R.; funding acquisition, A.F. and T.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available on request from the corresponding authors.

Acknowledgments

We would like to thank the anonymous reviewers for their constructive comments, the Volkswagen Foundation (grants No. 97 775 and No. 9C086) and the National Research Foundation of Ukraine (grant No. 02.2020/0128).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Porosity is the percentage of void space in a domain (part of rock, material, soil). It is defined as the ratio of the volume of the void (or pore) space divided by the total volume. Therefore, the exact value of porosity can be defined as
p o r o s i t y = 1 p a c k i n g   f a c t o r ,
where packing factor is the ratio of the volume of the spheres arranged inside the domain divided by the total volume.
To calculate the exact volume of spheres arranged inside the spherical domain, the inclusion–exclusion principle can be used, which indicates how many elements are in the union of a finite number of spheres.
Let S 1 , S 2 , , S n be a finite set of spheres; then,
S 1 S 2 S n = 1 i n S i 1 i < j n S i S j + 1 i < j < k n S i S j S k + ( 1 ) n S 1 S 2 S n .
Due to small values of δ 0 used in the computational experiments, only pairwise intersections of spheres are taken into account. That is, volumes of the intersections of more than two spheres are ignored, starting with volumes V i j k of intersections of the triples of spheres S i S j S k for 1 i < j < k n .
To calculate an approximate porosity in Section 4, the following formula is used:
p o r o s i t y 1 1 i n V i 0 1 i < j n V i j V 0 ,
where V i 0 is the volume of ( S i S 0 ) , V i j is the volume of ( S i S j ) , V 0 is the volume of S 0 .
In particular, V i j is defined (see, e.g., https://mathworld.wolfram.com/Sphere-SphereIntersection.html, accessed on 14 January 2023) as
V i j = V ( D i ) + V ( D j ) = π 12 d i j ( r i + r j d i j ) 2 ( d i j 2 + 2 d i j ( r i + r j ) 3 ( r i r j ) 2 ) ,
where
D i is the spherical cap of S i cut off by the plane P i j (Figure A1), D j is the spherical cap of S j cut off by P i j , S i is a sphere with center O i ( x i , y i , z i ) and radius r i , S j is a sphere with center O j ( x j , y j , z j ) and radius r j , P i j is the plane providing C i j P i j , d i j is the distance between the centers O i and O j . Volume V i 0 is calculated similarly.
Figure A1. Spherical caps D i and D j .
Figure A1. Spherical caps D i and D j .
Mathematics 11 02033 g0a1
If exact values of intersections are calculated, then the packing factor increases and the porosity decreases. Correspondingly, the approximate value of the porosity calculated in (A2) provides an upper bound for the exact value.

References

  1. Hifi, M.; M’Hallah, R. A literature review on circle and sphere packing problems: Models and methodologies. Adv. Oper. Res. 2009, 2009, 150624. [Google Scholar] [CrossRef]
  2. Cremer, T.; Cremer, M. Chromosome territories. Cold Spring Harb. Perspect. Biol. 2010, 2, a003889. [Google Scholar] [CrossRef] [PubMed]
  3. Raj, A.; Chen, Y.-H. The wiring economy principle: Connectivity determines anatomy in the human brain. PLoS ONE 2011, 6, e14832. [Google Scholar] [CrossRef] [PubMed]
  4. Rivera-Alba, M.; Vitaladevuni, S.N.; Mishchenko, Y.; Lu, Z.; Takemura, S.-Y.; Scheffer, L.; Meinertzhagen, I.A.; Chklovskii, D.B.; de Polavieja, G.G. Wiring economy and volume exclusion determine neuronal placement in the Drosophila brain. Curr. Biol. 2011, 21, 2000–2005. [Google Scholar] [CrossRef] [PubMed]
  5. Karklin, Y.; Simoncelli, E.P. Efficient coding of natural images with a population of noisy Linear-Nonlinear neurons. Adv. Neural Inf. Process. Syst. 2011, 24, 999–1007. [Google Scholar]
  6. Sutou, A.; Day, Y. Global optimization approach to unequal sphere packing problems in 3D. J. Optim. Theory Appl. 2002, 114, 671–694. [Google Scholar] [CrossRef]
  7. Wang, J. Packing of unequal spheres and automated radiosurgical treatment planning. J. Combin. Optim. 1999, 3, 453–463. [Google Scholar] [CrossRef]
  8. Burtseva, L.; Pestryakov, A.; Romero, R.; Valdez, B.; Petranovskii, V. Some aspects of computer approaches to simulation of bimodal sphere packing in material engineering. Adv. Mater. Res. 2014, 1040, 585–591. [Google Scholar] [CrossRef]
  9. Duriagina, Z.; Lemishka, I.; Litvinchev, I.; Marmolejo, J.A.; Pankratov, A.; Romanova, T.; Yaskov, G. Optimized filling of a given cuboid with spherical powders for additive manufacturing. J. Oper. Res. Soc. China 2021, 9, 853–868. [Google Scholar] [CrossRef]
  10. Frenkel, D. Computer simulation of hard-core models for liquid crystals. Mol. Phys. 1987, 60, 1–20. [Google Scholar] [CrossRef]
  11. Yamada, S.; Kanno, J.; Miyauchi, M. Multi-sized sphere packing in containers: Optimization formula for obtaining the highest density with two different sized spheres. IPSJ Online Trans. 2011, 4, 126–133. [Google Scholar] [CrossRef]
  12. Araujo, L.J.P.; Ozcan, E.; Atkin, J.A.D.; Baumers, M. Analysis of irregular three-dimensional packing problems in additive manufacturing: A new taxonomy and dataset. Intern. J. Prod. Res. 2019, 57, 5920–5934. [Google Scholar] [CrossRef]
  13. Romanova, T.; Stoyan, Y.; Pankratov, A.; Litvinchev, I.; Yanchevsky, I.; Mozgova, I. Optimal Packing in Additive Manufacturing. IFAC-PapersOnLine 2019, 52, 2758–2763. [Google Scholar] [CrossRef]
  14. Romanova, T.; Stoyan, Y.; Pankratov, A.; Litvinchev, I.; Avramov, K.; Chernobryvko, M.; Yanchevskyi, I. Optimal layout of ellipses and its application for additive manufacturing. Int. J. Prod. Res. 2021, 59, 560–575. [Google Scholar] [CrossRef]
  15. Halkarni, S.S.; Sridharan, A.; Prabhu, S.V. Experimental investigation on effect of random packing with uniform sized spheres inside concentric tube heat exchangers on heat transfer coefficient and using water as working medium. Int. J. Therm. Sci. 2018, 133, 341–356. [Google Scholar] [CrossRef]
  16. Mueller, G.E. Numerically packing spheres in cylinders. Powder Technol. 2005, 159, 105–110. [Google Scholar] [CrossRef]
  17. Flaischlen, S.; Wehinger, G.D. Synthetic packed-bed generation for CFD simulations: Blender vs. STAR-CCM+. ChemEngineering 2019, 3, 52. [Google Scholar] [CrossRef]
  18. Castillo, I.; Kampas, F.J.; Pintér, J.D. Solving circle packing problems by global optimization: Numerical results and industrial applications. Eur. J. Oper. Res. 2008, 191, 786–802. [Google Scholar] [CrossRef]
  19. Miyazawa, F.K.; Wakabayashi, Y. Techniques and results on approximation algorithms for packing circles. São Paulo J. Math. Sci. 2022, 16, 585–615. [Google Scholar] [CrossRef]
  20. Martinez, L.; Andrade, R.; Birgin, E.G.; Martinez, J.M. Packmol: A package for building initial configurations for molecular dynamics simulations. J. Comput. Chem. 2009, 30, 2157–2164. [Google Scholar] [CrossRef]
  21. Amore, P. Circle packing in regular polygons. Phys. Fluids 2023, 35, 027130. [Google Scholar] [CrossRef]
  22. Stoyan, Y.; Yaskov, G.; Romanova, T.; Litvinchev, I.; Yakovlev, S.; Cantu, J.M.V. Optimized packing multidimensional hyperspheres: A unified approach. Math. Biosci. Eng. 2020, 17, 6601–6630. [Google Scholar] [CrossRef] [PubMed]
  23. Toledo, F.M.B.; Carravilla, M.A.; Ribeiro, C.; Oliveira, J.F.; Gomes, A.M. The dotted-board model: A new MIP model for nesting irregular shapes. Int. J. Prod. Econ. 2013, 145, 478–487. [Google Scholar] [CrossRef]
  24. Galiev, S.I.; Lisafina, M.S. Linear models for the approximate solution of the problem of packing equal circles into a given domain. Eur. J. Oper. Res. 2013, 230, 505–514. [Google Scholar] [CrossRef]
  25. Litvinchev, I.; Infante, L.; Ozuna Espinosa, E.L. Approximate Circle Packing in a Rectangular Container: Integer Programming Formulations and Valid Inequalities. In Computational Logistics. ICCL 2014; Lecture Notes in Computer Science; González-Ramírez, R.G., Schulte, F., Voß, S., Ceroni Díaz, J.A., Eds.; Springer: Cham, Switzerland, 2014; Volume 8760, pp. 47–60. [Google Scholar] [CrossRef]
  26. Litvinchev, I.; Ozuna, E.L. Integer programming formulations for approximate packing circles in a rectangular container. Math. Probl. Eng. 2014, 2014, 317697. [Google Scholar] [CrossRef]
  27. He, K.; Tole, K.; Ni, F.; Yuan, Y.; Liao, L. Adaptive large neighborhood search for solving the circle bin packing problem. Comput. Oper. Res. 2021, 127, 105140. [Google Scholar] [CrossRef]
  28. Yuan, Y.; Tole, K.; Ni, F.; He, K.; Xiong, Z.; Liu, J. Adaptive simulated annealing with greedy search for the circle bin packing problem. Comput. Oper. Res. 2022, 144, 105826. [Google Scholar] [CrossRef]
  29. Morales, A.; Fierrez, J.; Acien, A.; Tolosana, R.; Serna, I. SetMargin loss applied to deep keystroke biometrics with circle packing interpretation. Pattern Recognit. 2022, 122, 108283. [Google Scholar] [CrossRef]
  30. Lai, X.; Hao, J.K.; Yue, D.; Lü, Z.; Fu, Z.H. Iterated dynamic thresholding search for packing equal circles into a circular container. Eur. J. Oper. Res. 2022, 299, 137–153. [Google Scholar] [CrossRef]
  31. von Seckendorff, J.; Achterhold, K.; Pfeiffer, F.; Fischer, R.; Hinrichsen, O. Experimental and numerical analysis of void structure in random packed beds of spheres. Powder Technol. 2021, 380, 613–628. [Google Scholar] [CrossRef]
  32. Hifi, M.; Yousef, L. A local search-based method for sphere packing problems. Eur. J. Oper. Res. 2019, 274, 482–500. [Google Scholar] [CrossRef]
  33. Hifi, M.; Youssouf, A.M.; Yousef, L.A. Population-Based Algorithm for the Sphere Packing Problem. In Proceedings of the 2022 8th International Conference on Control, Decision and Information Technologies (CoDIT), Istanbul, Turkey, 17 May 2022; Volume 1, pp. 1455–1460. [Google Scholar]
  34. Uhler, C.; Wright, S.J. Packing ellipsoids with overlap. SIAM Rev. 2013, 55, 671–706. [Google Scholar] [CrossRef]
  35. DeVries, S.H.; Baylor, D.A. Mosaic arrangement of ganglion cell receptive fields in rabbit retina. J. Neurophysiol. 1997, 78, 2048–2060. [Google Scholar] [CrossRef]
  36. McDonnell, M.D.; Stocks, N.G. Maximally informative stimuli and tuning curves for sigmoidal Rate-Coding neurons and populations. Phys. Rev. Lett. 2008, 101, 058103. [Google Scholar] [CrossRef]
  37. Iglesias-Ham, M.; Kerber, M.; Uhler, C. Sphere Packing with Limited Overlap. In Proceedings of the 26th Canadian Conference on Computational Geometry, CCCG 2014, Halifax, NS, Canada, 11–13 August 2014. [Google Scholar]
  38. Blunt, M.J. Multiphase Flow in Permeable Media: A Pore-Scale Perspective; Cambridge University Press: Cambridge, UK, 2017; p. 500. [Google Scholar] [CrossRef]
  39. Gerke, K.M.; Korost, D.V.; Karsanina, M.V.; Korost, S.P.; Vasiliev, R.V.; Lavrukhin, V.R.; Gafurova, D.R. Modern approaches to pore space scale digital modeling of core structure and multiphase flow. Georesursy 2021, 23, 197–213. [Google Scholar] [CrossRef]
  40. Sedaghat, M.H.; Gerke, K.; Azizmohammadi, S.; Matthai, S.K. Simulation-based determination of relative permeability in laminated rocks. Energy Procedia 2016, 97, 433–439. [Google Scholar] [CrossRef]
  41. Eichheimer, P.; Thielmann, M.; Popov, A.; Golabek, G.J.; Fujita, W.; Kottwitz, M.O.; Kaus, B.J.P. Pore-scale permeability prediction for Newtonian and non-Newtonian fluids. Solid Earth 2019, 10, 1717–1731. [Google Scholar] [CrossRef]
  42. Dong, X.; Liu, H.; Hou, J.; Zhang, Z.; Chen, Z. Multi-thermal fluid assisted gravity drainage process: A new improved-oil-recovery technique for thick heavy oil reservoir. J. Pet. Sci. Eng. 2015, 133, 1–11. [Google Scholar] [CrossRef]
  43. Al-Nakhli, A.; Tariq, Z.; Mahmoud, M.; Abdulraheem, A.; Al-Shehri, D. A Novel Thermochemical Fracturing Approach to Reduce Fracturing Pressure of High Strength Rocks. In Proceedings of the Abu Dhabi International Petroleum Exhibition & Conference, SPE-197593-MS, Abu Dhabi, United Arab Emirates, 11–14 November 2019. [Google Scholar] [CrossRef]
  44. Duriagina, Z.A.; Lemishka, I.A.; Trostianchyn, A.M.; Kulyk, V.V.; Svachko, S.G.; Tepla, T.L.; Pleshakov, E.I.; Kovbasyuk, T.M. The effect of morphology and particle-size distribution of VT20 titanium alloy powders on the mechanical properties of deposited coatings. Powder Metall. Met. Ceram. 2019, 57, 697–702. [Google Scholar] [CrossRef]
  45. Ning, J.; Wang, W.; Zamorano, B.; Liang, S.Y. Analytical modeling of lack-of-fusion porosity in metal additive manufacturing. Appl. Phys. A 2019, 125, 797. [Google Scholar] [CrossRef]
  46. Romanova, T.; Stoyan, Y.; Pankratov, A.; Litvinchev, I.; Marmolejo, J.A. Decomposition Algorithm for Irregular Placement Problems. In Intelligent Computing and Optimization ICO 2019; Advances in Intelligent Systems and Computing; Vasant, P., Zelinka, I., Weber, G.W., Eds.; Springer: Cham, Switzerland, 2020; Volume 1072, pp. 214–221. [Google Scholar]
  47. Kilinc, M.R.; Sahinidis, N.V. Exploiting integrality in the global optimization of mixed integer nonlinear programming problems with BARON. Optim. Methods Softw. 2018, 33, 540–562. [Google Scholar] [CrossRef]
  48. Sahinidis, N. BARON User Manual V. Available online: http://www.minlp.com/downloads/docs/baronmanual.pdf (accessed on 3 November 2022).
  49. Tawarmalani, M.; Sahinidis, N.V. A polyhedral branch-and-cut approach to global optimization. Math. Program. 2005, 103, 225–249. [Google Scholar] [CrossRef]
  50. NEOS Server: State-of-the-Art Solvers for Numerical Optimization. Available online: https://neos-server.org/neos/ (accessed on 11 January 2023).
  51. Fourer, R.; Gay, D.M.; Kernighan, B.W. AMPL: A Modeling Language for Mathematical Programming, 2nd ed.; Thomson Learning: Chicago, IL, USA, 2002. [Google Scholar]
  52. IPOPT: Documentation. Available online: https://coin-or.github.io/Ipopt/ (accessed on 14 January 2023).
  53. Litvinchev, I.; Ozuna, E.L. Approximate packing circles in a rectangular container: Valid inequalities and nesting. J. Appl. Res. Technol. 2014, 12, 716–723. [Google Scholar] [CrossRef]
  54. Michaelis, A.; Scheithauer, U.; Moritz, T.; Weingarten, S.; Abel, J.; Schwarzer, E.; Kunz, W. Advanced Manufacturing for Advanced Ceramics. Procedia CIRP 2020, 95, 18–22. [Google Scholar] [CrossRef]
  55. Abel, J.; Scheithauer, U.; Janics, T.; Hampel, S.; Cano, S.; Müller-Köhn, A.; Günther, A.; Kukla, C.; Moritz, T. Fused Filament Fabrication (FFF) of Metal-Ceramic Components. J. Vis. Exp. 2018, 143, e57693. [Google Scholar]
  56. Stoyan, Y.G.; Romanova, T.E.; Pankratov, O.V.; Stetsyuk, P.I.; Stoyan, Y.E. Sparse balanced layout of spherical voids in three-dimensional domains. Cybern. Syst. Anal. 2021, 57, 542–551. [Google Scholar] [CrossRef]
  57. Zhao, B.; An, X.; Wang, Y.; Zhao, H.; Shen, L.; Sun, X.; Zou, R. Packing of different shaped tetrahedral particles: DEM simulation and experimental study. Powder Technol. 2020, 360, 21–32. [Google Scholar] [CrossRef]
  58. Zhao, B.; An, X.; Zhao, H.; Gou, D.; Shen, L.; Sun, X. DEM simulation on random packings of binary tetrahedron-sphere mixtures. Powder Technol. 2020, 361, 160–170. [Google Scholar] [CrossRef]
  59. Stoyan, Y.; Pankratov, A.; Romanova, T. Placement Problems for Irregular Objects: Mathematical Modeling, Optimization and Applications. In Optimization Methods and Applications; Springer Optimization and Its Applications, Butenko, S., Pardalos, P., Shylo, V., Eds.; Springer: Cham, Switzerland, 2017; Volume 130, pp. 521–559. [Google Scholar] [CrossRef]
  60. Stoyan, Y.; Pankratov, A.; Romanova, T.; Fasano, G.; Pintér, J.D.; Stoian, Y.E.; Chugay, A. Optimized Packings in Space Engineering Applications: Part I Modeling and Optimization in Space Engineering; Springer Optimization and Its Applications, Fasano, G., Pintér, J., Eds.; Springer: Cham, Switzerland, 2019; Volume 144, pp. 395–437. [Google Scholar] [CrossRef]
  61. Pankratov, A.; Romanova, T.; Litvinchev, I. Packing ellipses in an optimized convex polygon. J. Glob. Optim. 2019, 75, 495–522. [Google Scholar] [CrossRef]
  62. Romanova, T.; Litvinchev, I.; Pankratov, A. Packing ellipsoids in an optimized cylinder. Eur. J. Oper. Res. 2020, 285, 429–443. [Google Scholar] [CrossRef]
  63. Romanova, T.E.; Stetsyuk, P.I.; Chugay, A.M.; Shekhovtsov, S.B. Parallel computing technologies for solving optimization problems of geometric design. Cybern. Syst. Anal. 2019, 55, 894–904. [Google Scholar] [CrossRef]
  64. Stoyan, Y.G.; Romanova, T.E.; Pankratov, O.V.; Stetsyuk, P.I.; Maksimov, S.V. Sparse balanced layout of ellipsoids. Cybern. Syst. Anal. 2021, 57, 864–873. [Google Scholar] [CrossRef]
Figure 1. Partial overlapping: (a) standard non-overlapping u i u j r i + r j ; (b) δ i j overlapping u i u j r i + r j δ i j .
Figure 1. Partial overlapping: (a) standard non-overlapping u i u j r i + r j ; (b) δ i j overlapping u i u j r i + r j δ i j .
Mathematics 11 02033 g001
Figure 2. Quasi-containment u i = R + ε i  : (a) ε i = r i ; (b) ε i = 0 ; (c) ε i = r i .
Figure 2. Quasi-containment u i = R + ε i  : (a) ε i = r i ; (b) ε i = 0 ; (c) ε i = r i .
Mathematics 11 02033 g002
Figure 3. Ratio condition: (a) infeasible packing and (b) packing that satisfies the ratio condition.
Figure 3. Ratio condition: (a) infeasible packing and (b) packing that satisfies the ratio condition.
Mathematics 11 02033 g003
Figure 4. The flowchart of the main algorithm.
Figure 4. The flowchart of the main algorithm.
Mathematics 11 02033 g004
Figure 5. Global solutions: (a) Example 1; (b) Example 2.
Figure 5. Global solutions: (a) Example 1; (b) Example 2.
Mathematics 11 02033 g005
Figure 6. Global solutions: (a) Example 3; (b) Example 4.
Figure 6. Global solutions: (a) Example 3; (b) Example 4.
Mathematics 11 02033 g006
Figure 7. The best solutions: (a) Example 5; (b) Example 6.
Figure 7. The best solutions: (a) Example 5; (b) Example 6.
Mathematics 11 02033 g007
Figure 8. The best solutions: (a) Example 7; (b) Example 8.
Figure 8. The best solutions: (a) Example 7; (b) Example 8.
Mathematics 11 02033 g008
Figure 9. The best solutions: (a) Example 9; (b) Example 10.
Figure 9. The best solutions: (a) Example 9; (b) Example 10.
Mathematics 11 02033 g009
Figure 10. The best solutions: (a) Example 11; (b) Example 12.
Figure 10. The best solutions: (a) Example 11; (b) Example 12.
Mathematics 11 02033 g010
Figure 11. The best solutions: (a) Example 13; (b) Example 14.
Figure 11. The best solutions: (a) Example 13; (b) Example 14.
Mathematics 11 02033 g011
Figure 12. The best solutions: (a) Example 15; (b) Example 16.
Figure 12. The best solutions: (a) Example 15; (b) Example 16.
Mathematics 11 02033 g012
Figure 13. The best solutions: (a) Example 17; (b) Example 18.
Figure 13. The best solutions: (a) Example 17; (b) Example 18.
Mathematics 11 02033 g013
Figure 14. The best solutions: (a) Example 19; (b) Example 20.
Figure 14. The best solutions: (a) Example 19; (b) Example 20.
Mathematics 11 02033 g014
Figure 15. The best solutions: (a) Example 21; (b) Example 22.
Figure 15. The best solutions: (a) Example 21; (b) Example 22.
Mathematics 11 02033 g015
Table 1. Input data for Examples 1–2.
Table 1. Input data for Examples 1–2.
Example k n k Radius of {ik} ε k τ k τ k +
11111.1−10.20.2
2101.2−10.20.2
3101.3−10.20.2
4121.4−1.10.20.2
5141.5−1.20.20.2
21101.1−10.10.3
291.2−10.10.3
391.3−10.10.3
4131.4−1.10.10.3
5121.5−1.20.10.3
Table 2. Input data for Examples 3–4.
Table 2. Input data for Examples 3–4.
Example k n k Radius of {ik} ε k τ k τ k +
31241.2−0.70.60.6
2151.3−10.20.2
3101.4−1.10.20.2
41241.2−0.70.50.7
2151.3−10.10.3
3101.4−1.10.10.3
Table 3. Input data for Examples 5 and 6.
Table 3. Input data for Examples 5 and 6.
Example k n k Radius of {ik} ε k τ k τ k +
51102−1.81/71/7
2201.5−1.352/72/7
3401−0.94/74/7
61102−21/7 − 0.011/7 + 0.01
2201.5−1.52/7 − 0.012/7 + 0.01
3401−0.94/7 − 0.01 4/7 + 0.01
Table 4. Input data for Examples 7–20.
Table 4. Input data for Examples 7–20.
Example k n k Radius of {ik} ε k τ k τ k +
7, 141502−21/71/7
21001.5−1.52/72/7
32001−14/74/7
8, 151502−21/7 − 0.011/7 + 0.01
21001.5−1.52/7 − 0.012/7 + 0.01
32001−14/7 − 0.014/7 + 0.01
9, 11, 13, 16, 18, 201502−1.81/71/7
21001.5−1.352/72/7
32001−0.94/74/7
10, 12, 17, 191502−1.81/7 − 0.011/7 + 0.01
21001.5−1.352/7 − 0.012/7 + 0.01
32001−0.94/7 − 0.014/7 + 0.01
Table 5. Input data for Examples 21–22.
Table 5. Input data for Examples 21–22.
Example k n k Radius of {ik} ε k τ k τ k +
2115020.21/71/7
21001.50.152/72/7
320010.14/74/7
2215020.21/7 − 0.011/7 + 0.01
21001.50.152/7 − 0.012/7 + 0.01
320010.14/7 − 0.014/7 + 0.01
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

Fischer, A.; Litvinchev, I.; Romanova, T.; Stetsyuk, P.; Yaskov, G. Quasi-Packing Different Spheres with Ratio Conditions in a Spherical Container. Mathematics 2023, 11, 2033. https://doi.org/10.3390/math11092033

AMA Style

Fischer A, Litvinchev I, Romanova T, Stetsyuk P, Yaskov G. Quasi-Packing Different Spheres with Ratio Conditions in a Spherical Container. Mathematics. 2023; 11(9):2033. https://doi.org/10.3390/math11092033

Chicago/Turabian Style

Fischer, Andreas, Igor Litvinchev, Tetyana Romanova, Petro Stetsyuk, and Georgiy Yaskov. 2023. "Quasi-Packing Different Spheres with Ratio Conditions in a Spherical Container" Mathematics 11, no. 9: 2033. https://doi.org/10.3390/math11092033

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