본문 펼치기
# _applied_ _sciences_
_Article_
## An Optimized Covering Spheroids by Spheres
Alexander Pankratov <sup>1</sup> , Tatiana Romanova <sup>1</sup> , Igor Litvinchev <sup>2</sup> and
Jose Antonio Marmolejo-Saucedo <sup>3,</sup> *
1 Department of Mathematical Modeling and Optimal Design, Institute for Mechanical Engineering Problems
of the National Academy of Sciences of Ukraine Kharkov 61046, Ukraine, Kharkiv National University of
Radioelectronics, Kharkov 61166, Ukraine; pankratov2001@yahoo.com (A.P.); tarom27@yahoo.com (T.R.)
2 Faculty of Mechanical and Electrical Engineering, Graduate Program in Systems Engineering,
Nuevo Leon State University (UANL), Monterrey 66450, Mexico; igorlitvinchev@gmail.com
3 Facultad de Ingeniería, Universidad Panamericana, Augusto Rodin 498, Ciudad de Mexico 03920, Mexico
* Correspondence: jmarmolejo@up.edu.mx
Received: 29 December 2019; Accepted: 3 March 2020; Published: 7 March 2020
[���������](http://www.mdpi.com/2076-3417/10/5/1846?type=check_update&version=1)
[�������](http://www.mdpi.com/2076-3417/10/5/1846?type=check_update&version=1)
Abstract: Covering spheroids (ellipsoids of revolution) by different spheres is studied. The research is
motivated by packing non-spherical particles arising in natural sciences, e.g., in powder technologies.
The concept of an ε-cover is introduced as an outer multi-spherical approximation of the spheroid
with the proximity ε. A fast heuristic algorithm is proposed to construct an optimized ε-cover giving
a reasonable balance between the value of the proximity parameter ε and the number of spheres used.
Computational results are provided to demonstrate the efficiency of the approach.
Keywords: covering; spheroids; spheres; mathematical model; nonlinear optimization
1. Introduction
Covering a certain region by simple shapes has various applications. Our interest in covering
problems is motivated by packing particles arising in science and engineering applications. Packing
problems are widely used in modeling liquid and glass structures [1,2], representing granular
materials [3], packing beds, and cermet [4], as well as in many other applications (see, e.g., [5–10]).
Many algorithms have been proposed for packing spherical particles (see, e.g., [11–16] and the references
therein). However, to have a better and more adequate representation of particulate microstructure,
packing non-spherical particles must be considered. The approaches proposed to handle non-spherical
shapes can be divided in three large groups [17]. Techniques in the first group use analytical equations
for the shapes of the particles, e.g., ellipsoids, and the main modeling problem is to state analytically
non-overlapping and containment conditions [18–23]. The second approach is based on tessellating
the container/particles shapes with a grid and then approximating them by corresponding collections
of grid nodes (see, e.g., [15,24] and the references therein). This way, detecting the overlap is reduced
to verify if two shapes share the same node. However, to get a reasonable approximation, fine grids
must be used resulting in large-scale and memory-consuming problems. In the third approach, the
shape of the particle is represented approximately by a collection of spheres having different sizes and
positions (see, e.g., [25–27]). Then, detecting the overlap is reduced to verifying the overlapping for two
spheres from different particle collections. This problem is much simpler than detecting overlapping
in the first approach. The third approach can be considered as a compromise between the simplicity
of the tessellating techniques and the rigor of the methods based on analytical shapes presentation.
The efficiency of the third approach depends on the quality of the multi-spherical approximation of the
shape of the particle. The number of the spheres representing the shape of the particle must be small
enough to simplify the non-overlapping (pairwise) test. At the same time, the union of the spheres in
the collection must represent the original shape of the particle closely enough.
_Appl._ _Sci._ 2020, _10_ [, 1846; doi:10.3390/app10051846](http://dx.doi.org/10.3390/app10051846) [www.mdpi.com/journal/applsci](http://www.mdpi.com/journal/applsci)
_Appl._ _Sci._ 2020, _10_, 1846 2 of 13
Among the different shapes used to represent the microstructure of non-spherical particles, the
spheroid (ellipsoid of revolution) is one of the most frequently used (see, e.g., [5–8,10]). One of the
reasons to use the spheroid is its relative simplicity comparing to the general ellipsoid. Moreover,
in many cases, analyses of 3D spheroids are reduced to the examination of the 2D ellipses used to
generate the spheroid.
In this paper, the problem of covering the spheroid by different spheres is studied. An ε-cover
is introduced as an outer multi-spherical approximation of the spheroid within the error ε. A fast
heuristic algorithm is proposed to construct the optimized ε-cover giving a reasonable balance between
the value of the proximity parameter ε and the number of spheres used. Computational results are
provided to demonstrate efficiency of the approach.
The main contributions of the paper are as follows:
- The concept of the ε-cover is introduced for the outer multi-spherical approximation of the spheroid.
- A fast two-stage approach is proposed to get a reasonable (optimized) ε-cover.
- Numerical results are provided to illustrate the main constructions.
The paper is organized as follows. Section 2 presents the basic definitions and formulations used
in the paper as well as the two-stage conceptual approach. Solution techniques are presented in detail
in Section 3. Numerical results are presented in Section 4, while Section 5 presents the conclusions.
Expressions for the parameters used in Section 3 are derived in the Appendix A.
2. Basic Constructions
The following definitions are used throughout the paper. Let
<sup>_<u>z</u>_</sup> _c_ <sup>22</sup> <sup>−</sup> <sup>1 ≤</sup> <sup>0</sup>
_b_ <sup>_<u>y</u>_</sup> <sup>22</sup> <sup>+</sup> <sup>_<u>z</u>_</sup> _c_ <sup>22</sup>
E =
�( _x_, _y_, _z_ ) | <sup>_<u>x</u>_</sup> _a_ <sup>22</sup>
<sup>_<u>x</u>_</sup> _a_ <sup>22</sup> <sup>+</sup> _b_ <sup>_<u>y</u>_</sup> <sup>22</sup>
(1)
be a given spheroid (ellipsoid of revolution) with _c_ = _b_ .
Definition 1. _A set_ Λ ⊂ _R_ <sup>3</sup> _is called a cover (outer approximation) for the spheroid_ E if Λ ⊇ E .
The following extended spheroid, referred to as an ε-spheroid,
_<u>y</u>_ <sup>2</sup> _<u>z</u>_ <sup>2</sup>
( _b_ + ε) <sup>2</sup> <sup>+</sup> ( _b_ + ε
( _b_ + ε) <sup>2</sup> <sup>−</sup> <sup>1 ≤</sup> <sup>0</sup>
(2)
E (ε) =
( _x_, _y_, _z_ ) | ( _a_ + _<u>x</u>_ <sup>2</sup>
_<u>x</u>_ <sup>2</sup> _<u>y</u>_ <sup>2</sup>
( _a_ + ε) <sup>2</sup> <sup>+</sup> ( _b_ +
can be considered as an outer approximation of the original spheroid E with a given error ε ≥ 0.
Definition 2. _set_ Λ (ε) ⊂ _R_ <sup>3</sup> _is called an_ ε _-cover if_ E (ε) ⊇ Λ (ε) ⊇ E _, where_ ε _is an error of the cover._
In this paper, the ε-cover of the spheroid E by spheres _Sk_, _k_ = 1, . . ., _M_ is studied.
The multi-spherical ε-cover is denoted by Λ (ε, _M_ ), i.e., E ⊂ Λ (ε, _M_ ) =
_M_
_k_ ∪=1 <sup>_Sk_</sup> <sup>.</sup>
From a practical point of view, a “good” ε-cover Λ (ε, _M_ ) must use a few circles _M_ and provide a
small approximation error ε. However, we may expect that for sufficiently small ε, decreasing ε in
Λ (ε, _M_ ) results in increasing _M_, and vice versa. Thus, we cannot minimize ε and _M_ simultaneously.
Instead, our problem is formulated as follows:
Find Λ (ε, _M_ ), i.e., positions, radii and total number _M_ of spheres, providing a reasonable balance
between ε and _M_ .
The following heuristic two-stage approach is proposed to construct the optimized ε-cover.
Stage 1. For a given ε, find the minimum number _M_ <sup>∗</sup> of the spheres covering the given spheroid
E ; i.e., find Λ (ε, _M_ <sup>∗</sup> ). Here, the decision variables are the positions and radii of the circles and their
total number _M_ .
_Appl._ _Sci._ 2020, _10_, 1846 3 of 13
Stage 2. For _M_ <sup>∗</sup> obtained at Stage 1, find a cover of the given spheroid E with the minimal value
ε <sup>∗</sup> ≤ ε; i.e., find Λ (ε <sup>∗</sup>, _M_ <sup>∗</sup> ). Here, the decision variables are the positions and radii of the circles and the
proximity parameter ε.
In what follows, constructing the cover Λ (ε <sup>∗</sup>, _M_ <sup>∗</sup> ) is referred to as an Optimized Spherical Covering
(OSC). Detailed descriptions of problems arising at Stages 1,2 and their solutions are presented in the
next section.
3. Solution Algorithm
Let an ellipse _E_ with semi-axes _a_ and _b_ be the projection of the spheroid E on the plane _XOY._ It is
assumed that the centers _vk_ = ( _xk_, _yk_, _zk_ ) of the spheres _Sk_ of variable radii _rk_ belong to the axis _OX_, i.e.,
_vk_ = ( _xk_, 0, 0).
The parametric description of the ellipse _E_ presented in [28] is used:
_E_ = <sup>�</sup> ( _x_ ( _s_, _t_ ), _y_ ( _s_, _t_ )) : 0 ≤ _s_ ≤ _b_, 0 ≤ _t_ ≤ 2π <sup>�</sup>, (3)
_x_ ( _s_, _t_ ) = <sup><u>cos</u></sup> <sup>_<u>t</u>_</sup> ( _a_ <sup>2</sup> - _b_ <sup>2</sup> + _s_ - _b_ ), _y_ ( _s_, _t_ ) = _s_ - sin _t_ . (4)
_a_
Note that the point _x_ ( _s_, _t_ ) = <sup><u>cos</u></sup> _a_ <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>_a_</sup> <sup>2 −</sup> <sup>_b_</sup> <sup>2) belongs to the axis</sup> <sup>_OX_</sup> <sup>for</sup> <sup>_s_</sup> <sup>= 0.</sup> <sup>Denote by Λ(ε,</sup> <sup>_M_</sup> <sup>) the</sup>
cover that is the projection of Λ (ε, _M_ ) on the plane _XOY_ . By the definition, the cover Λ(ε, _M_ ) is an outer
approximation of the ellipse _E_, i.e., Λ(ε, _M_ ) =
_M_
_k_ ∪=1 <sup>_Ck_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0). Suppose that the</sup> <sup>_odd number_</sup> <sup>of the circles is</sup>
used for the cover, and the first circle has its radius _b_ + ε and is centered at the point (0, 0, 0), as shown
at Figure 1a. Then, due to the symmetry, the ellipse _E_ can be covered by a collection of _M_ = 2 _m_ + 1
circles. Here, the right-hand side of the _E_ can be covered by the circles _Ck_ ( _xk_, 0), _k_ = 0, 1, . . ., 2 _m_ with
_xk_ +1 - _xk_, _xk_ ≥ 0, and similarly the left-hand side.
For the case of an _even_ _number_ of circles, the ellipse _E_ be covered by a collection of 2 _m_ circles
_Ck_ ( _xk_, 0), _k_ = 1, . . ., 2 _m_ . Let the first circle be centered at the point ( _x_ 0, 0, 0), as shown at Figure 1b. To
find the parameters _x_ 0, _r_ 0 of the first circle for 0 ≤ _t_ ≤ <sup><u>π</u></sup> 2 <sup>, the following optimization problem is solved:</sup>
_t_ 0 = (min _r_, _t_ )∈ _V_ <sup>_t_</sup>
_r_ <sup>2</sup> - ( <u>cos</u> <sup>_<u>a</u>_</sup> <sup><u>ε</u></sup> _<u>t</u>_ <sup>· (</sup> <sup>_<u>a</u>_</sup> <sup>ε2 −</sup> <sup>_<u>b</u>_</sup> <sup>ε2))2 −</sup> <sup>_<u>b</u>_</sup> <sup>2</sup> <sup>≥</sup> <sup>0</sup>
_<u>ba</u>_ εε <sup>·</sup> ~~�~~ _b_ ε <sup>2</sup> cos <sup>2</sup> _t_ + _a_ ε <sup>2</sup> sin <sup>2</sup> _t_ - _r_ ≥
~~�~~ _b_ ε <sup>2</sup> cos <sup>2</sup> _t_ + _a_ ε <sup>2</sup> sin <sup>2</sup> _t_ - _r_ ≥ 0
_r_ <sup>2</sup> - ( <u>cos</u> <sup>_<u>a</u>_</sup> <sup><u>ε</u></sup>
.
For the given _t_ 0 corresponding parameters _x_ 0, _r_ 0 are defined in the form of
_<u>a</u>_ <u>ε</u>
_x_ 0 =
cos _t_ 0
~~�~~
- ( _a_ ε <sup>2</sup> - _b_ ε <sup>2</sup> ), _r_ 0 = _x_ <sup>2</sup> 0 <sup>+</sup> <sup>_b_</sup> <sup>2.</sup>
Using the parametric description of the ellipse [28], the parameter _x_ 0 can be obtained analytically
as follows (we would like to thank the anonymous referee for pointing out the possibility of getting
the explicit solution):
_x_ 0 =
~~�~~ ( _<u>a</u>_ ε <sup>2</sup> - _<u>b</u>_ ε <sup>2</sup> )( _<u>b</u>_ ε <sup>2</sup> - _<u>b</u>_ <sup>2</sup> )
_a_ ε
.
The details are presented in the Appendix A.
Then, due to the symmetry, the right-hand side of the ellipse _E_ can be covered by a collection of _m_
circles _Ck_ ( _xk_, 0), _k_ = 1, . . ., _m_, for _xk_ +1 - _xk_, _xk_ - 0 and similarly for the left-hand side.
In what follows, the solution algorithm for the OSC problem is presented only for the odd number
of spheres, since the difference between the odd and even cases is only in the parameters of the
first sphere.
_Appl._ _Sci._ 2020, _10_, 1846 4 of 13
( a ) ( b )
Figure 1. The center of the first approximating circle: ( a ) for odd circular covering and ( b ) for even
circular covering.
_3.1._ _Solution Algorithm for Stage 1_
Let the value of ε > 0 be given.
At Stage 1, the objective is to find the minimum number of circles _Ck_ ( _xk_, 0), _k_ = 0, 1, . . ., 2 _m_
covering the ellipse _E_ centered at (0, 0) for the given value of ε.
Step 1 . Set _r_ 0 = _b_ + ε, _x_ 0 = 0, _k_ = 0, _a_ ε = _a_ + ε, _b_ ε = _b_ + ε, where _a_ ε, _b_ ε are the sizes of the
ellipse _E_ <sup>ε</sup> .
Step 2 . Get the intersection point _p_ <sup>′</sup> _k_ <sup>=</sup> <sup>(</sup> <sup>_p_</sup> <sup>′</sup> _kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup> _ky_ <sup>) of the ellipse</sup> <sup>_E_</sup> <sup>and the circle</sup> <sup>_Ck_</sup> <sup>solving the</sup>
following system:
( _xk_ - _pkx_ ) <sup>2</sup> + _p_ <sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2,</sup>
_p_ <sup>2</sup> _<u>kx</u>_ _p_ <sup>2</sup> _<u>ky</u>_,
_a_ <sup>2</sup> <sup>+</sup> _b_ <sup>2</sup> <sup>= 1,</sup> <sup>_pkx_</sup> <sup>≥</sup> <sup>0,</sup> <sup>_pky_</sup> <sup>≥</sup> <sup>0</sup>
Step 2 . Get the intersection point _p_ <sup>′</sup>
_k_ <sup>=</sup> <sup>(</sup> <sup>_p_</sup> <sup>′</sup>
_kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup>
( _xk_ - _pkx_ ) <sup>2</sup> + _p_ <sup>2</sup>
_k_ <sup>2,</sup>
<sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2,</sup>
_p_ <sup>2</sup>
,
_akx_ <sup>2</sup> <sup>+</sup>
_p_ <sup>2</sup>
_bky_ <sup>2</sup> <sup>= 1,</sup> <sup>_pkx_</sup> <sup>≥</sup> <sup>0,</sup> <sup>_pky_</sup> <sup>≥</sup> <sup>0</sup>
where _rk_ is the radius of the circle _Ck_ centered at the point ( _xk_, 0).
Using the parametric description of the ellipse [28], the point _p_ <sup>′</sup>
_k_ <sup>=</sup> <sup>(</sup> <sup>_p_</sup> <sup>′</sup>
_kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup>
Using the parametric description of the ellipse [28], the point _p_ <sup>′</sup> _k_ <sup>=</sup> <sup>(</sup> <sup>_p_</sup> <sup>′</sup> _kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup> _ky_ <sup>)</sup> <sup>is</sup> <sup>presented</sup>
analytically by the following formula (see the Appendix A for details):
_ky_ <sup>=</sup>
~~�~~ _a_ <sup>2</sup> _xk_ <sup>2</sup> - ( _b_ <sup>2</sup> - _a_ <sup>2</sup> )( _r_ <sup>2</sup> _k_
, _p_ <sup>′</sup>
_a_ <sup>2</sup> - _b_ <sup>2</sup>
<sup>2</sup> _k_ <sup>−</sup> <sup>_xk_</sup> <sup>2 −</sup> <sup>_b_</sup> <sup>2)</sup>
_p_ <sup>′</sup>
_kx_ <sup>=</sup>
_a_ <sup>2</sup> _xk_ + _a_
_r_ <sup>2</sup> _k_ <sup>−</sup> <sup>(</sup> <sup>_xk_</sup> <sup>−</sup> <sup>_p_</sup> <sup>′</sup> <sup>_kx_</sup> <sup>)2.</sup>
Step 3 . Set _k_ = _k_ + 1.
Step 4 . Solve the following nonlinear programming problem:
_<u>t</u>_ <sup>∗</sup> _~~k~~_ <sup><u>=</u></sup> <u>(</u> _<u>rk</u>_ <u>min,</u> _<u>tk</u>_ <u>)∈</u> _<u>V</u>_ <sup>_<u>tk</u>_</sup>
and get its optimal solution ( _r_ <sup>∗</sup> _k_
<sup>∗</sup> _k_ <sup>,</sup> <sup>_t_</sup> <sup>∗</sup> _k_
and get its optimal solution ( _r_ <sup>∗</sup> _k_ <sup>,</sup> <sup>_t_</sup> <sup>∗</sup> _k_ <sup>).</sup> <sup>Here,</sup> <sup>the</sup> <sup>feasible</sup> <sup>set</sup> <sup>_V_</sup> <sup>is</sup> <sup>defined</sup> <sup>by</sup> <sup>the</sup> <sup>following</sup> <sup>system</sup> <sup>of</sup>
inequalities:
_<u>a</u>_ <u>ε</u>
_r_ <sup>2</sup> _k_ <sup>−</sup> <sup>(</sup>
cos _tk_
2
- ( _a_ ε <sup>2</sup> - _b_ ε <sup>2</sup> ) − _p_ ( _k_ −1) _x_ ) - _p_ <sup>2</sup> ( _k_ −1) _y_ <sup>≥</sup> <sup>0,</sup> (5)
_<u>b</u>_ <u>ε</u>
_a_ ε
~~�~~
- _b_ ε <sup>2</sup> cos <sup>2</sup> _tk_ + _a_ ε <sup>2</sup> sin <sup>2</sup> _tk_ - _rk_ ≥ 0, (6)
_tk_ ≤ _t_ <sup>∗</sup> _k_ −1 <sup>,</sup> (7)
_rk_ - 0, (8)
where inequality (5) assures that the point _pk_ −1 is inside the circle _Ck_ of radius _rk_ centered at ( _xk_, 0);
inequality (6) guarantees that the circle _Ck_ of radius _rk_ centered at ( _xk_, 0) is inside the ellipse _E_ <sup>ε</sup> with
semi-axes _a_ ε = _a_ + ε, _b_ ε = _b_ + ε; inequality (7) reflects the monotonous decrease of the corresponding
angle _tk_ ; and the last inequality describes the natural constraint for the radius of the circle _Ck_ . Find
_Appl._ _Sci._ 2020, _10_, 1846 5 of 13
_xk_ = cos _<u>a</u>_ <u>ε</u> _t_ <sup><u>∗</u></sup> _k_ <sup>· (</sup> <sup>_a_</sup> <sup>ε2 −</sup> <sup>_b_</sup> <sup>ε2). Using the parametric description of the ellipse [28], the parameters</sup> <sup>_xk_</sup> <sup>and</sup> <sup>_rk_</sup>
are presented analytically in the following form (see the Appendix A for details):
<sup><u>2</u></sup> _<u>kx</u>_ <sup>_~~b~~_</sup> <sup><u>2</u></sup> <sup>~~ε)~~</sup>
~~�(~~ _~~a~~_ <sup><u>2</u></sup> ~~ε−~~ _~~b~~_ <sup><u>2</u></sup> ~~ε)(~~ _~~a~~_ <sup><u>2</u></sup> ~~ε(~~ _~~b~~_ <sup><u>2</u></sup> ~~ε−~~ _~~p~~_ <sup><u>2</u></sup>
<sup><u>2</u></sup> _<u>ky</u>_ <sup>~~)−~~</sup> <sup>_~~p~~_</sup> <sup><u>2</u></sup> _<u>kx</u>_
_xk_ =
~~(~~ _~~a~~_ <sup><u>2</u></sup> ~~ε−~~ _~~b~~_ <sup><u>2</u></sup> ~~ε)~~ _~~pkx~~_ ~~+~~
,
_<u>a</u>_ <sup>2</sup> <u>ε</u>
if _<u>xk</u>_ ≤ <sup>_<u>a</u>_</sup> <sup>2ε</sup> _~~a~~_ <sup>−</sup> ~~ε~~ <sup>_<u>b</u>_</sup> <sup>2ε</sup> then _rk_ = _b_ ε
~~<u>�</u>~~
_<u>x</u>_ <sup>~~2~~</sup>
1 − _~~a~~_ <sup><u>2</u></sup> ~~ε−~~ _<u>k</u>_
_~~a~~_ <sup><u>2</u></sup> ~~ε−~~ _<u>k</u>_ _~~b~~_ <sup><u>2</u></sup> ~~ε~~ <sup><u>,</u></sup> <sup>otherwise</sup> <sup>_rk_</sup> <sup>=</sup> <sup>_a_</sup> <sup>ε −</sup> <sup>_xk_</sup> <sup>.</sup>
Step 5. If the point ( _a_, 0) is inside the circle _Ck_ of radius _rk_ centered at ( _xk_, 0), then the solution is
obtained and the algorithm stops. Otherwise, go to Step 2.
Figures 2 and 3 illustrate an iterative procedure for the algorithm described above.
( a )
( b )
Figure 2. Illustrations of the first and the second iterations of the algorithm for Stage 1: ( a ) the first
iteration; ( b ) the second iteration.
Figure 3. Illustration of the solution obtained at Step 6 of the last iteration of the algorithm for Stage 1.
_3.2._ _Solution Algorithm for the Stage 2_
At this stage, the minimum value of ε is obtained for a given number 2 _m_ + 1 of covering circles.
Let _E_ <sup>ε</sup> be the ellipse centered at (0, 0) with semi-axes _a_ ε = _a_ + ε, _b_ ε = _b_ + ε (see Figure 4).
_Appl._ _Sci._ 2020, _10_, 1846 6 of 13
Figure 4. Illustration of Stage 2.
The points _pk_ = ( _pkx_, _pky_ ) ∈ _R_ <sup>2</sup>, _pk_ ∈ _Ck_, _pk_ - int _E_, _pkx_ ≥ 0, _pky_ ≥ 0, _k_ = 0, 1, 2, . . ., _m_, which are
referred to as the pilot points, are introduced for the “gluing” circles _Ck_ ( _xk_, 0), _k_ = 0, 1, 2, . . ., _m_ .
Let _pnx_ = _a_, _pny_ = 0, _t_ 0 = <sup><u>π</u></sup> 2 <sup>,</sup> <sup>_x_</sup> <sup>0</sup> <sup>=</sup> <sup>_x_</sup> <sup>0(0,</sup> <sup>_t_</sup> <sup>0)</sup> <sup>=</sup> <sup>0,</sup> <sup>_xk_</sup> <sup>(0,</sup> <sup>_tk_</sup> <sup>)</sup> <sup>=</sup> <sup><u>cos</u></sup> _a_ ε <sup>_<u>tk</u>_</sup> - ( _a_ ε <sup>2</sup> - _b_ ε <sup>2</sup> ), and _k_ = 1, 2, . . ., _m_ .
Here, _tk_ is the parameter (angle) introduced in Equations (3)–(4) and obtained at Stage 1.
The following nonlinear programing problem is used to optimize ε:
ε <sup>∗</sup> = _v_ ∈ _V_ min⊂R <sup>4</sup> <sup>_n_</sup> <sup>+1ε.</sup>
Here, _v_ = (ε, _tk_, _k_ = 1, . . ., _m_, _pkx_, _pky_, _rk_, _k_ = 0, 1, 2, . . ., _m_ ) is the (4 _n_ + 1)-dimensional vector of
unknown variables and the feasible set _V_ is defined by the following system of inequalities:
ε ≥ 0, _r_ 0 ≤ _b_ + ε (9)
_tk_ ≥ 0, _tk_ ≤ _tk_ −1, _k_ = 1, 2, . . ., _m_ (10)
_rk_ ≥ 0, _k_ = 0, 1, 2, . . ., _m_ (11)
_<u>b</u>_ <u>ε</u>
_a_ ε
- _b_ ε <sup>2</sup> cos <sup>2</sup> _tk_ + _a_ ε <sup>2</sup> sin <sup>2</sup> _tk_ - _rk_ ≥ 0, _k_ = 1, 2, . . ., _m_ (12)
_pkx_ ≥ 0, _pky_ ≥ 0, _k_ = 0, 1, 2, . . ., _m_ (13)
<sup>2</sup> _k_ <sup>−</sup> <sup>(</sup> <sup>_xk_</sup> <sup>−</sup> <sup>_pkx_</sup> <sup>)2 −</sup> <sup>_p_</sup> <sup>2</sup>
_r_ <sup>2</sup> _k_
<sup>2</sup> _ky_ <sup>≥</sup> <sup>0,</sup> <sup>_k_</sup> <sup>= 0, 1, 2, . . .,</sup> <sup>_m_</sup> (14)
<sup>2</sup> _k_ +1 <sup>−</sup> <sup>(</sup> <sup>_xk_</sup> <sup>+1 +</sup> <sup>_pkx_</sup> <sup>)2 −</sup> <sup>_p_</sup> <sup>2</sup>
_r_ <sup>2</sup> _k_
_ky_ <sup>2</sup> <sup>≥</sup> <sup>0,</sup> <sup>_k_</sup> <sup>= 0, 1, . . .,</sup> <sup>_m_</sup> <sup>−</sup> <sup>1</sup> (15)
_p_ <sup>2</sup>
_<u>kx</u>_
_a_ <sup>2</sup> <sup>+</sup>
_p_ <sup>2</sup>
_<u>kx</u>_
_b_ <sup>2</sup> <sup>−</sup> <sup>1 ≥</sup> <sup>0,</sup> <sup>_k_</sup> <sup>= 0, 1, 2, . . .,</sup> <sup>_m_</sup> <sup>.</sup> (16)
Here, inequality (9) assures _C_ 0(0, 0) ⊂ _E_ <sup>ε</sup> ; inequality (10) reflects the monotonous decrease of the
corresponding angle _tk_ ; inequality (11) describes the natural constraint for the radius of the circle _Ck_ ;
constraints (12) guarantee _Ck_ ⊂ _E_ <sup>ε</sup> ; inequalities (13) present the nonnegativity of all _pk_ ; constraints (14)
and (15) assure _pk_ ∈ _Ck_ ∩ _Ck_ +1, while (16) guarantees _pk_ - int _E_ .
4. Computational Results
Computational experiments were run on an AMD Athlon 64 X2 5200+ computer. Local
optimization was performed by the IPOPT solver [29], which is available at an open access
[noncommercial software depository (https://projects.coin-or.org/Ipopt).](https://projects.coin-or.org/Ipopt)
To illustrate the algorithm performance, examples for ellipses and spheroids are considered. For
each problem instance, the computational time required to construct the approximated cover is less
than a second.
_Appl._ _Sci._ 2020, _10_, 1846 7 of 13
Instance 1. _The ellipse E with semi-axes a_ = _1.3, b_ = _1 is given._
_(a)_ _For_ ε = 0.3 _, the solution with one covering circle is presented in Figure 5a:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) = _C_ 1( _x_ 1 = 0, 0, 0), ε <sup>∗</sup> = 0.3, _M_ <sup>∗</sup> = 1.
_(b)_ _For_ ε = 0.2 _, the solution with an even number of covering circles is shown in Figure 5b:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
2
_k_ ∪=1 <sup>_Ck_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.087477,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 2,</sup>
{ _xk_, _k_ = 1, 2} = _{0.265385,_ - _0.265385}, and_ { _rk_, _k_ = 1, 2} = _{1.034615, 1.034615}._
_(c)_ _For_ ε = 0.05 _, the solution with an odd number of covering circles is given in Figure 5c:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
3
_k_ ∪=1 <sup>_Ck_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.040356,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 3,</sup>
{ _xk_, _k_ = 1, 2, 3} = _{0.357061,_ - _0.357061, 0.000},_ { _rk_, _k_ = 1, 2, 3} = _{0.942939, 0.942939, 1.040356}._
( a ) ( b ) ( c )
Figure 5. The optimized cover of the ellipse E: ( a ) by _M_ <sup>∗</sup> = 1 circle; ( b ) by _M_ <sup>∗</sup> = 2 circles; and ( c ) by
_M_ <sup>∗</sup> = 3 circles.
Instance 2. _The ellipse_ E _with semi-axes a_ = _2.3, b_ = _1 is given and_ ε = 0.1.
_(a)_ _The optimized cover with an even number of circles is presented in Figure 6a:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
6
_k_ ∪=1 <sup>_Ck_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.072085,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 6,</sup>
{ _xk_, _k_ = 1, . . ., 6} = _{1.596217,_ - _1.596217, 1.008362,_ - _1.008362, 0.344754,_ - _0.344754},_
{ _rk_, _k_ = 1, . . ., 6} = _{0.703783, 0.703783, 0.942524, 0.942524 1.057759, 1.057759}._
_(b)_ _The optimized cover with an odd number of circles is shown in Figure 6b:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
7
_k_ ∪=1 <sup>_Ck_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.05372,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 7,</sup>
{ _xk_, _k_ = 1, . . ., 7} = _{1.638879,_ - _1.638879, 1.146544,_ - _1.146544, 0.589831,_ - _0.589831, 0.0000},_
{ _rk_, _k_ = 1, . . ., 7} = _{0.661121, 0.661121, 0.883641, 0.883641, 1.011495, 1.011495, 1.053720}._
_Appl._ _Sci._ 2020, _10_, 1846 8 of 13
( a )
( b )
Figure 6. The optimized cover of the ellipse E: ( a ) by _M_ <sup>∗</sup> = 6 circles; ( b ) by _M_ <sup>∗</sup> = 7 circles.
Instance 3. _The spheroid_ E _with semi-axes a_ = _1.9, b_ = _c_ = _1 is given and_ ε = 0.1.
_(a)_ _The optimized cover with an even number of spheres is presented in Figure 7a:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
4
_k_ ∪=1 <sup>_Sk_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.092225,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 4,</sup>
{ _xk_, _k_ = 1, . . ., 4} = _{1.054209,_ - _1.054209, 0.367367,_ - _0.367367},_
{ _rk_, _k_ = 1, . . ., 4} = _{0.845791, 0.845791, 1.065344, 1.065344}._
_(b)_ _The optimized cover (for a_ = _2) with an odd number of spheres is shown in Figure 7b:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
5
_k_ ∪=1 <sup>_Sk_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.070009,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 5,</sup>
{ _xk_, _k_ = 1, . . ., 5} = _{1.229404,_ - _1.229404, 0.644245,_ - _0.644245, 0.0000},_
{ _rk_, _k_ = 1, . . ., 5} = _{0.770596, 0.770596, 0.996786, 0.996786, 1.070009}._
_Appl._ _Sci._ 2020, _10_, 1846 9 of 13
( a )
( b )
Figure 7. The optimized cover of the spheroid E : ( a ) by _M_ <sup>∗</sup> = 4 spheres; ( b ) by _M_ <sup>∗</sup> = 5 spheres.
Instance 4. _The spheroid_ E _with semi-axes a_ = _2, b_ = _c_ = _1 is given and_ ε = 0.03.
_The optimized cover with an odd number of spheres is presented in Figure 8:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
9
_k_ ∪=1 <sup>_Sk_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.022435,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 9,</sup>
Figure 8. The optimized cover of the spheroid E by _M_ <sup>∗</sup> = 9 spheres.
{ _xk_, _k_ = 1, . . ., 9} = _{0.000000,_ _0.366202,_ _0.721511,_ _1.055358,_ _1.357813,_ - _0.366202,_ - _0.721511,_
- _1.055358,_ - _1.357813},_
{ _rk_, _k_ = 1, . . ., 9} = _{1.022435, 0.999666, 0.930939, 0.814240, 0.642187, 0.999666, 0.930939, 0.814240,_
_0.642187}._
Instance 5. _The spheroid_ E _with semi-axes a_ = _10, b_ = _c_ = _1 is given and_ ε = 0.3.
_The optimized cover with an odd number of spheres is shown in Figure 9:_
Λ(ε <sup>∗</sup>, _M_ <sup>∗</sup> ) =
21
_k_ ∪=1 <sup>_Sk_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>, 0, 0),</sup> <sup>ε∗</sup> <sup>= 0.223518,</sup> <sup>_M_</sup> <sup>∗</sup> <sup>= 21,</sup>
{ _xk_, _k_ = 1, . . ., 21} = _{0.000000, 1.395933, 2.7642_ _<mark>07, 4</mark>_ _.077711,_ _<mark>5.31</mark>_ _0411, 6._ _<mark>4378</mark>_ _57, 7.437658, 8.289887,_
_8.977362,_ _9.485512,_ _9.798415,_ - _1.395933,_ - _2.764207,_ - _4.077711,_ - _5.310411,_ - _6.437857,_ - _7.437658,_
- _8.289887,_ - _8.977362,_ - _9.485512,_ - _9.798415,},_
_Appl._ _Sci._ 2020, _10_, 1846 10 of 13
{ _rk_, _k_ = 1, . . ., 21} = _{1.223518, 1.211410, 1.175328, 1.115988, 1.034567, 0.932687, 0.812378, 0.676054,_
_0.526503,_ _0.367023,_ _0.203604,_ _1.211410,_ _1.175328,_ _1.115988,_ _1.034567,_ _0.932687,_ _0.812378,_ _0.676054,_
_0.526503, 0.367023, 0.203604}._
Figure 9. The optimized cover of the spheroid E by _M_ <sup>∗</sup> = 21 spheres.
5. Conclusions
The problem of optimized multi-spherical covering for spheroids is introduced. This problem
is motivated by the packing non-spherical particles arising in naturals sciences and engineering.
The simple heuristic approach is proposed to construct an optimized covering, providing a reasonable
balance between the number of spheres and the error of approximation. Computational experiments
indicate that the proposed approach constructs good feasible coverings very fast: in less than a second.
The multi-spherical approximations obtained in the paper provide a basis for fast optimized packing
spheroids in different containers, using algorithms proposed, e.g., in [30–32]. The two-stage scheme
presented in Section 2 can be applied for the general optimized multi-spherical covering. An extension
of the covering approach to the case of more complex objects [33–36] is an interesting direction for the
future research. Some results on this topic are on the way.
Author Contributions: Investigation, A.P., T.R., I.L., J.A.M.-S.; Methodology, A.P., T.R., I.L., J.A.M.-S.; Project
administration, T.R., I.L.; Writing—original draft, T.R., I.L.; Writing—review and editing, T.R., I.L.; Programming
algorithms, A.P.; Numerical experimentation, A.P., T.R. All authors have read and agreed to the published version
of the manuscript.
Funding: This research received no external funding.
Acknowledgments: The authors would like to thank anonymous referees for careful reading the paper and
constructive comments. The first two authors were partially supported by the “Program for the State Priority
Scientific Research and Technological (Experimental) Development of the Department of Physical and Technical
Problems of Energy of the National Academy of Sciences of Ukraine” (#6541230).
Conflicts of Interest: The authors declare no conflict of interest.
Appendix A
We would like to thank the anonymous referee for pointing out that the explicit expressions can
be obtained for _rk_, _xk_ and _p_ <sup>′</sup> _k_ <sup>= (</sup> <sup>_p_</sup> <sup>′</sup> _kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup> _ky_ <sup>) in our algorithm at Stage 1.</sup>
_k_ <sup>= (</sup> <sup>_p_</sup> <sup>′</sup>
<sup>′</sup> _kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup>
be obtained for _rk_, _xk_ and _p_ <sup>′</sup> _k_ <sup>= (</sup> <sup>_p_</sup> <sup>′</sup> _kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup> _ky_ <sup>) in our algorithm at Stage 1.</sup>
The parameters have been derived based on constructions proposed in [28].
1. Deriving _rk_ .
-
Observe that the point _x_ ( _s_, _t_ ) = <sup><u>cos</u></sup> _a_ ε <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>_a_</sup> ε <sup>2</sup> <sup>−</sup> <sup>_b_</sup> <sup>2</sup> ε <sup>+</sup> <sup>_s_</sup> <sup>·</sup> <sup>_b_</sup> ε <sup>),</sup> <sup>_y_</sup> <sup>(</sup> <sup>_s_</sup> <sup>,</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_s_</sup> <sup>sin</sup> <sup>_t_</sup> belongs to the coordinate
axis _OX_ for _s_ = 0, while the point ( _x_ <sup>_e_</sup> = _a_ ε cos _t_, _y_ <sup>_e_</sup> = _b_ ε sin _t_ ) belongs to the frontier of the ellipse.
ε <sup>2</sup> <sup>−</sup> <sup>_b_</sup> <sup>2</sup> ε
<sup>2</sup> ε <sup>+</sup> <sup>_s_</sup> <sup>·</sup> <sup>_b_</sup> ε <sup>),</sup> <sup>_y_</sup> <sup>(</sup> <sup>_s_</sup> <sup>,</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_s_</sup> <sup>sin</sup> <sup>_t_</sup>
Observe that the point
- _x_ ( _s_, _t_ ) = <sup><u>cos</u></sup> _a_ ε <sup>_<u>t</u>_</sup>
<sup><u>cos</u></sup> _a_ ε <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>_a_</sup> ε <sup>2</sup>
Since _x_ = <sup><u>cos</u></sup> _a_ ε <sup>_<u>t</u>_</sup>
ε <sup>2</sup> <sup>−</sup> <sup>_b_</sup> <sup>2</sup> ε
<sup>2</sup> ε <sup>), then</sup>
<sup><u>cos</u></sup> _a_ ε <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>_a_</sup> ε <sup>2</sup>
_<u>a</u>_ <u>ε</u> _<u>x</u>_
cos _t_ = _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε <sup>, sin</sup> <sup>_t_</sup> <sup>=</sup>
- _<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_ <sup>2</sup>
1 − ( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) <sup>2</sup> <sup>for</sup> <sup>_a_</sup> <sup>ε</sup> <sup>></sup> <sup>_b_</sup> <sup>ε and</sup>
_a_ <sup>−</sup> ε <sup>_<u>b</u>_</sup> <sup>2ε)</sup>, _x_ ≤ _a_ ε − _a_ <sup>_<u>b</u>_</sup> ε <sup>2</sup>
<sup>_<u>b</u>_</sup> <sup>2</sup>
_a_ ε <sup>.</sup>
<sup>−</sup> _a_ <sup>2</sup> ε <sup>_<u>b</u>_</sup> <sup>2ε)2</sup>, _x_ ≤ <sup><u>(</u></sup> <sup>_<u>a</u>_</sup> <sup>2ε</sup> _a_ <sup>−</sup> ε <sup>_<u>b</u>_</sup> <sup>2ε)</sup>
_<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_ <sup>2</sup>
1 − ( _a_ <sup>2</sup> ε− _b_ <sup>2</sup>
ε <sup>−</sup> <sup>_b_</sup> <sup>2</sup> ε
<sup>2</sup>
_<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_ <sup>2</sup>
( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) <sup>2</sup> <sup>≥</sup> <sup>0, (</sup> <sup>_a_</sup> ε <sup>2</sup>
<sup>2</sup> ε <sup>)2 −</sup> <sup>_a_</sup> <sup>2</sup> ε
<sup>2</sup> ε <sup>_x_</sup> <sup>2</sup> <sup>≥</sup> <sup>0,</sup> <sup>_x_</sup> <sup>2</sup> <sup>≤</sup> <sup><u>(</u></sup> <sup>_<u>a</u>_</sup> <sup>2ε−</sup> <sup>_<u>b</u>_</sup> <sup>2ε)2</sup>
_a_ <sup>2</sup> ε
- _<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_ <sup>2</sup>
1 − ( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) <sup>2</sup> <sup>belongs to the frontier of the ellipse.</sup>
- _<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_ <sup>2</sup>
1 − ( _a_ <sup>2</sup> ε− _b_ <sup>2</sup>
The tangent point ( _x_ <sup>′</sup>, _y_ <sup>′</sup> ), _x_ <sup>′</sup> = _a_ <sup>2</sup> ε _<u>a</u>_ - <sup>2</sup> <u>ε</u> _<u>xb</u>_ <sup>2</sup> ε <sup>,</sup> <sup>_y_</sup> <sup>′</sup> <sup>=</sup> <sup>_b_</sup>
_Appl._ _Sci._ 2020, _10_, 1846 11 of 13
�2
+ _y_ <sup>′2</sup> and thus
Since _r_ <sup>2</sup> = ( _x_ - _x_ <sup>′</sup> ) <sup>2</sup> + (0 − _y_ <sup>′</sup> ) <sup>2</sup>, then _r_ <sup>2</sup> =
- _<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_
_x_ _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε
= _b_ <sup>2</sup> ε
- _<u>x</u>_ <sup>2</sup>
1 −
_a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε
- - −( _<u>a</u>_ <sup>2</sup> <u>ε−</u> _<u>b</u>_ <sup>2</sup> <u>ε)</u> _<u>x</u>_ <sup>2</sup> <u>+(</u> _<u>a</u>_ <sup>2</sup> <u>ε−</u> _<u>b</u>_ <sup>2</sup> <u>ε)</u> <sup>2</sup>
= _b_ <sup>2</sup> ε ( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) <sup>2</sup>
- _<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_ <sup>2</sup>
1 −
( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) <sup>2</sup>
�2
+ _b_ <sup>2</sup> ε
.
_r_ <sup>2</sup> =
- _<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_
_x_ _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε
- - _<u>b</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_
_a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε
�2
=
- _<u>b</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_
_a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε
�2 _<u>b</u>_ <sup>4</sup> <u>ε</u> _<u>x</u>_ <sup>2</sup>
= ( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) <sup>2</sup> <sup>.</sup>
- _<u>x</u>_ <u>(</u> _<u>a</u>_ <sup>2</sup> <u>ε−</u> _<u>b</u>_ <sup>2</sup> <u>ε)</u>
�2
=
Here we used
- _<u>x</u>_ <u>(</u> _<u>a</u>_ <sup>2</sup> <u>ε−</u> _<u>b</u>_ <sup>2</sup> <u>ε)</u> - _<u>a</u>_ <sup>2</sup> <u>ε</u> _<u>x</u>_
_a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε
Therefore _rk_ = _b_ ε
_x_ <sup>2</sup>
1 − _a_ <sup>2</sup> ε− _<u>kb</u>_ <sup>2</sup> ε <sup>at the</sup> <sup>_k_</sup> <sup>-th iteration.</sup>
_x_ <sup>2</sup>
1 − _a_ <sup>2</sup> ε− _<u>k</u>_
2. Deriving _p_ <sup>′</sup>
_k_ <sup>= (</sup> <sup>_p_</sup> <sup>′</sup>
_kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup>
_ky_ <sup>).</sup>
_k_ <sup>= (</sup> <sup>_p_</sup> <sup>′</sup>
The tangent point _p_ <sup>′</sup> _k_
_kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup>
The tangent point _p_ <sup>′</sup> _k_ <sup>= (</sup> <sup>_p_</sup> <sup>′</sup> _kx_ <sup>,</sup> <sup>_p_</sup> <sup>′</sup> _ky_ <sup>) is defined from the system</sup>
_pa_ <sup>2</sup> _<u>kx</u>_ <sup>2</sup> <sup>+</sup> _pb_ <sup>2</sup> _<u>ky</u>_ <sup>2</sup> <sup>= 1</sup>
( _pkx_ - _xk_ ) <sup>2</sup> + _p_ <sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2</sup>
_p_ <sup>2</sup>
_p_ <sup>2</sup>
_akx_ <sup>2</sup> <sup>+</sup> _bky_ <sup>2</sup> <sup>= 1</sup>
( _pkx_ - _xk_ ) <sup>2</sup> + _p_ <sup>2</sup>
_k_
_akx_ <sup>2</sup> <sup>+</sup>
<sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2</sup>
Therefore
_p_ <sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2</sup> <sup>−</sup>
( _b_ <sup>2</sup> - _a_ <sup>2</sup> ) _p_ <sup>2</sup>
_k_ <sup>2</sup> <sup>−</sup> <sup>(</sup> <sup>_pkx_</sup> <sup>−</sup> <sup>_xk_</sup> <sup>)2,</sup> <sup>_b_</sup> <sup>2</sup> <sup>_p_</sup> <sup>2</sup> _kx_
_k_ <sup>2</sup> <sup>−</sup> <sup>(</sup> <sup>_p_</sup> _kx_ <sup>−</sup> <sup>_xk_</sup> <sup>)2) =</sup> <sup>_a_</sup> <sup>2</sup> <sup>_b_</sup> <sup>2,</sup>
<sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2</sup>
<sup>2</sup> _kx_ <sup>+</sup> <sup>_a_</sup> <sup>2(</sup> <sup>_r_</sup> _k_ <sup>2</sup>
<sup>2</sup> _kx_ <sup>+ 2</sup> <sup>_a_</sup> <sup>2</sup> <sup>_xkp_</sup> _<u>kx</u>_ <sup>+</sup> <sup>_a_</sup> <sup>2(</sup> <sup>_r_</sup> _<u>k</u>_ <sup>2</sup>
_<u>k</u>_ <sup>2</sup> <sup>−</sup> <sup>_xk_</sup> <sup>2 −</sup> <sup>_b_</sup> <sup>2) = 0 and thus</sup>
~~�~~ _a_ <sup>2</sup> _xk_ <sup>2</sup> −( _b_ <sup>2</sup> - _a_ <sup>2</sup> )( _r_ <sup>2</sup> _<u>k</u>_
, _p_ <sup>′</sup>
( _b_ <sup>2</sup> - _a_ <sup>2</sup> )
<sup>2</sup> _<u>k</u>_ <sup>−</sup> <sup>_xk_</sup> <sup>2−</sup> <sup>_b_</sup> <sup>2)</sup>
_ky_ <sup>=</sup>
_p_ <sup>′</sup>
_kx_ <sup>=</sup>
- _a_ <sup>2</sup> _xk_ ± _a_
_r_ <sup>2</sup> _k_ <sup>−</sup> <sup>(</sup> <sup>_pkx_</sup> <sup>−</sup> <sup>_xk_</sup> <sup>)2.</sup>
3. Deriving _xk_ +1.
From the system at Step2 we have
( _xk_ +1 − _pkx_ ) <sup>2</sup> + _p_ <sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2</sup>
~~�~~ _x_ <sup>2</sup> .
_b_ ε 1 − _<u>k</u>_ <u>+1</u>
_a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε <sup>=</sup> <sup>_rk_</sup>
( _xk_ +1 − _pkx_ ) <sup>2</sup> + _p_ <sup>2</sup> _ky_
_k_
<sup>2</sup> _ky_ <sup>=</sup> <sup>_r_</sup> _k_ <sup>2</sup>
~~�~~
.
_b_ ε
_x_ <sup>2</sup>
1 − _a_ <sup>2</sup> ε _<u>k</u>_
_a_ <sup>2</sup> ε _<u>k</u>_ −+ _b_ <u>1</u> <sup>2</sup> ε <sup>=</sup> <sup>_rk_</sup>
Therefore
,
( _xk_ +1 − _pkx_ ) <sup>2</sup> + _p_ <sup>2</sup> _ky_
- _x_ <sup>2</sup>
1 − _<u>k</u>_ <u>+1</u>
_a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε
- _x_ <sup>2</sup>
1 − _<u>k</u>_
<sup>2</sup> _ky_ <sup>=</sup> <sup>_b_</sup> ε <sup>2</sup>
ε
_<u>a</u>_ <sup>2</sup> <u>ε</u>
_a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε <sup>_x_</sup> _k_ <sup>2</sup>
~~�~~
_kx_ <sup>2</sup> <sup>+</sup> <sup>_p_</sup> <sup>2</sup>
_k_ <sup>2</sup> +1 <sup>−</sup> <sup>2</sup> <sup>_pkxxk_</sup> <sup>+1 +</sup> <sup>_p_</sup> _kx_ <sup>2</sup>
_ky_ <sup>2</sup> <sup>−</sup> <sup>_b_</sup> ε <sup>2</sup>
ε <sup>2</sup> <sup>= 0 and thus</sup>
<sup>2</sup> _kx_ <sup>(</sup> <sup>_a_</sup> <sup>2ε−</sup> <sup>_b_</sup> <sup>2ε)2−</sup> <sup>_a_</sup> <sup>2ε(</sup> <sup>_a_</sup> <sup>2ε−</sup> <sup>_b_</sup> <sup>2ε)(</sup> <sup>_p_</sup> <sup>2</sup> _kx_
<sup>_p_</sup> <sup>2</sup> _ky_ <sup>−</sup> <sup>_b_</sup> <sup>2ε)</sup>
.
_a_ <sup>2</sup> ε
<sup>2</sup> _ky_ <sup>)−</sup> <sup>_p_</sup> <sup>2</sup> _kx_
_p_ <sup>2</sup>
<sup>2</sup> _kx_ <sup>+</sup> <sup>_p_</sup> <sup>2</sup>
_xk_ +1 =
_xk_ +1 =
References
( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) _pkx_ +
( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε) _pkx_ +
,
_<u>a</u>_ <sup>2</sup> <u>ε</u>
~~�~~ ( _a_ <sup>2</sup> ε− _b_ <sup>2</sup> ε)( _a_ <sup>2</sup> ε( _b_ <sup>2</sup> ε− _p_ <sup>2</sup>
<sup>2</sup> _kx_ <sup>_b_</sup> <sup>2ε)</sup>
1. Bernal, J.D. A geometrical approach to the structure of liquids. _Nature_ 1959, _183_, 141–147. [[CrossRef]](http://dx.doi.org/10.1038/183141a0)
2. Stillinger, F.H.; Marzio, E.A.D.; Kornegay, R.L. Systematic approach to explanation of the rigid disk phase
transition. _J. Chem._ _Phys._ 1964, _40_, 1564–1576. [[CrossRef]](http://dx.doi.org/10.1063/1.1725362)
3. Makse, H.; Kurchan, J. Testing the thermodynamic approach to granular matter with a numerical model of a
decisive experiment. _Nature_ 2002, _415_, 614–617. [[CrossRef] [PubMed]](http://dx.doi.org/10.1038/415614a)
4. Costamagna, P.; Costa, P.; Antonucci, V. Micro-modelling of solid oxide fuel cell electrodes. _Electrochim._ _Acta_
1998, _43_, 375–394. [[CrossRef]](http://dx.doi.org/10.1016/S0013-4686%0x2897%0x2900063-7)
5. Zerhouni, O.; Tarantino, M.G.; Danas, K. Numerically-aided 3D printed random isotropic porous materials
approaching the Hashin-Shtrikman bounds. _Compos._ _Part B Eng._ 2019, _156_, 344–354. [[CrossRef]](http://dx.doi.org/10.1016/j.compositesb.2018.08.032)
6. Gan, J.; Yu, A.; Zhou, Z. DEM simulation on the packing of fine ellipsoids. _Chem._ _Eng._ _Sci._ 2016, _156_, 64–76.
[[CrossRef]](http://dx.doi.org/10.1016/j.ces.2016.09.017)
7. Gately, R.D.; Panhuis, M. Filling of carbon nanotubes and nanofibres. _Beilstein J. Nanotechnol._ 2015, _6_, 508–516.
[[CrossRef]](http://dx.doi.org/10.3762/bjnano.6.53)
_Appl._ _Sci._ 2020, _10_, 1846 12 of 13
8. Ustach, V.; Faller, R. The raspberry model for protein-like particles: Ellipsoids and confinement in cylindrical
pores. _Eur._ _Phys._ _J. Spec._ _Top._ 2016, _225_, 1643–1662. [[CrossRef]](http://dx.doi.org/10.1140/epjst/e2016-60089-7)
9. Wang, X.; Zhao, L.; Fuh, J.Y.H.; Lee, H.P. Effect of Porosity on Mechanical Properties of 3D Printed Polymers:
Experiments and Micromechanical Modeling Based on X-ray Computed Tomography Analysis. _Polymers_
2019, _11_, 1154. [[CrossRef]](http://dx.doi.org/10.3390/polym11071154)
10. Li, C.X.; Zou, R.P.; Pinson, D.; Yu, A.B.; Zhou, Z.Y. An experimental study of packing of ellipsoids under
vibrations. _Powder Technol._ 2020, _361_, 45–51. [[CrossRef]](http://dx.doi.org/10.1016/j.powtec.2019.10.115)
11. Akeb, H. A Look-Ahead-Based Heuristic for Packing Spheres into a Bin: The Knapsack Case. _Procedia_
_Comput._ _Sci._ 2015, _65_, 652–661. [[CrossRef]](http://dx.doi.org/10.1016/j.procs.2015.09.009)
12. Stoyan, Y.; Scheithauer, G.; Yaskov, G. Packing Unequal Spheres into Various Containers. _Cybern._ _Syst._ _Anal._
2016, _52_, 419–426. [[CrossRef]](http://dx.doi.org/10.1007/s10559-016-9842-1)
13. Stetsyuk, P.; Romanova, T.; Scheithauer, G. On the global minimum in a balanced circular packing problem.
_Optim._ _Lett._ 2016, _10_, 1347–1360. [[CrossRef]](http://dx.doi.org/10.1007/s11590-015-0937-9)
14. Hifi, M.; Yousef, L. A local search-based method for sphere packing problems. _Eur._ _J. Oper._ _Res._ 2019, _274_,
482–500. [[CrossRef]](http://dx.doi.org/10.1016/j.ejor.2018.10.016)
15. Litvinchev, I.; Infante, L.; Ozuna, L. Packing circular-like objects in a rectangular container. _J. Comput._ _Syst._
_Sci._ _Int._ 2015, _54_, 259–267. [[CrossRef]](http://dx.doi.org/10.1134/S1064230715020070)
16. Torres-Escobar, R.; Marmolejo-Saucedo, J.A.; Litvinchev, I. Binary monkey algorithm for approximate packing
non-congruent circles in a rectangular container. _Wirel._ _Netw._ 2018 . [[CrossRef]](http://dx.doi.org/10.1007/s11276-018-1869-y)
17. Bertei, A.; Chueh, C.-C.; Pharoah, J.G.; Nicolella, C. Modified collective rearrangement sphere-assembly
algorithm for random packings of nonspherical particles: Towards engineering applications. _Powder Technol._
2014, _253_, 311–324. [[CrossRef]](http://dx.doi.org/10.1016/j.powtec.2013.11.034)
18. Kallrath, J. Packing ellipsoids into volume-minimizing rectangular boxes. _J. Glob._ _Optim._ 2017, _67_, 151–185.
[[CrossRef]](http://dx.doi.org/10.1007/s10898-015-0348-6)
19. Birgin, E.; Lobato, R. A matheuristic approach with nonlinear subproblems for large-scale packing of
ellipsoids. _Eur._ _J. Oper._ _Res._ 2019, _272_, 447–464. [[CrossRef]](http://dx.doi.org/10.1016/j.ejor.2018.07.006)
20. Kampas, F.; Castillo, I.; Pintér, J. Optimized ellipse packings in regular polygons. _Optim._ _Lett._ 2019, _13_,
1583–1613. [[CrossRef]](http://dx.doi.org/10.1007/s11590-019-01423-y)
21. Pankratov, A.; Romanova, T.; Litvinchev, I. Packing ellipses in an optimized rectangular container. _Wirel._
_Netw._ 2018 . [[CrossRef]](http://dx.doi.org/10.1007/s11276-018-1890-1)
22. Pankratov, A.; Romanova, T.; Litvinchev, I. Packing ellipses in an optimized convex polygon. _J. Glob._ _Optim._
2019, _75_, 495–522. [[CrossRef]](http://dx.doi.org/10.1007/s10898-019-00777-y)
23. Romanova, T.; Stoyan, Y.; Pankratov, A.; Litvinchev, I.; Avramov, K.; Chernobryvko, M.; Yanchevskyi, I.;
Mozgova, I.; Bennell, J. Optimal layout of ellipses and its application for additive manufacturing. _Int._ _J. Prod._
_Res._ 2019 . [[CrossRef]](http://dx.doi.org/10.1080/00207543.2019.1697836)
24. Litvinchev, I.; Infante, L.; Ozuna, L. Approximate Circle Packing in a Rectangular Container:
Integer Programming Formulations and Valid Inequalities. In _Lecture_ _Notes_ _in_ _Computer_ _Science_ ;
Gonzalez-Ramirez, R.G., Ed.; Springer: Berlin/Heidelberg, Germany, 2014; Volume 8760, pp. 47–60.
25. Jones, D.R. A fully general, exact algorithm for nesting irregular shapes. _J. Glob._ _Optim._ 2014, _59_, 367–404.
[[CrossRef]](http://dx.doi.org/10.1007/s10898-013-0129-z)
26. Rocha, P.; Gomes, A.M.; Rodrigues, R.; Toledo, F.M.B.; Andretta, M. Constraint aggregation in non-linear
programming models for nesting problems. In _Computational_ _Management_ _Science:_ _State_ _of_ _the_ _Art_ _2014_ ;
Fonseca, J.R., Weber, G.-W., Telhada, J., Eds.; Springer International Publishing: Cham, Switzerland, 2016;
pp. 175–180.
27. Yuan, Y.; Liu, L.; Deng, W.; Li, S. Random-packing properties of spheropolyhedra. _Powder Technol._ 2019, _351_,
186–194. [[CrossRef]](http://dx.doi.org/10.1016/j.powtec.2019.04.018)
28. Birgin, E.; Bustamante, L.; Callisaya, H.; Martnez, J. Packing circles within ellipses. _Int._ _Trans._ _Oper._ _Res._
2013, _20_, 365–389. [[CrossRef]](http://dx.doi.org/10.1111/itor.12006)
29. Wachter, A.; Biegler, L. On the implementation of an interior-point filter line-search algorithm for large-scale
nonlinear programming. _Math._ _Programm._ 2006, _106_, 25–57. [[CrossRef]](http://dx.doi.org/10.1007/s10107-004-0559-y)
30. Stoyan, Y.; Romanova, T. Mathematical models of placement optimisation: Two- and three-dimensional
problems and applications. In _Modeling and Optimization in Space Engineering_ ; Fasano, G., Pintér, J., Eds.;
Springer Optimization and its Applications: New York, NY, USA, 2013; Volume 73, pp. 363–388.
_Appl._ _Sci._ 2020, _10_, 1846 13 of 13
31. Stoyan, Y.; Pankratov, A.; Romanova, T. Cutting and packing problems for irregular objects with continuous
rotations: Mathematical modeling and nonlinear optimization. _J. Oper._ _Res._ _Soc._ 2016, _67_, 786–800. [[CrossRef]](http://dx.doi.org/10.1057/jors.2015.94)
32. Romanova, T.; Bennell, J.; Stoyan, Y.; Pankratov, A. Packing of concave polyhedra with continuous rotations
using nonlinear optimization. _Eur._ _J. Oper._ _Res._ 2018, _268_, 37–53. [[CrossRef]](http://dx.doi.org/10.1016/j.ejor.2018.01.025)
33. Kiseleva, E.M.; Lozovskaya, L.I.; Timoshenko, E.V. Solution of continuous problems of optimal covering
with spheres using optimal set-partition theory. _Cybern._ _Syst._ _Anal._ 2009, _45_, 421–437. [[CrossRef]](http://dx.doi.org/10.1007/s10559-009-9113-5)
34. Scheithauer, G.; Stoyan, Y.G.; Romanova, T.; Krivulya, A. Covering a polygonal region by rectangles. _Comput._
_Optim._ _Appl._ _Springer Neth._ 2011, _48_, 675–695.
35. Yakovlev, S.; Kartashov, O.; Komyak, V.; Shekhovtsov, S.; Sobol, O.; Yakovleva, I. Modeling and simulation
of coverage problem in geometric design systems. In Proceedings of the 15th International Conference on
the Experience of Designing and Application of CAD Systems, CADSM 2019, Lviv, Ukraine, 26 February–2
March 2019; pp. 20–23.
36. Torres-Escobar, R.; Marmolejo-Saucedo, J.A.; Litvinchev, I.; Vasant, P. Monkey algorithm for packing circles
with binary variables. In _Intelligent Computing & Optimization._ _ICO 2018_ ; Vasant, P., Zelinka, I., Weber, G.-W.,
Eds.; Springer International Publishing: Cham, Switzerland, 2019; Volume 866, pp. 547–559.
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
[(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)