Home Physical Sciences Nonlinear fitting of multi-compartmental data using Hooke and Jeeves direct search method
Article Open Access

Nonlinear fitting of multi-compartmental data using Hooke and Jeeves direct search method

  • Mehrdad Shahmohammadi Beni and Kwan Ngok Yu EMAIL logo
Published/Copyright: May 19, 2021

Abstract

Compartmental modelling refers to modelling the transport of substances in a system consisting of multiple compartments, which is characterized by the transfer rates among the relevant compartments. In a generalized compartmental system, recycling of substances among the compartments is allowed. Compartmental modelling is a generic technique which is needed in many branches of applied physics. The most challenging task is to determine the transfer rates. The present work described the use of the Hooke and Jeeves (HJ) derivative free direct search method in determining the transfer rates to construct a multi-compartmental model with recycling among the compartments. The use of a direct search method ensures the applicability of the model to functions which are not continuous or differentiable. The present model was successfully validated using previously reported experimental data for distribution of trace elements in four compartments in an animal.

1 Introduction

Compartmental modelling is a generic technique which is needed in many branches of applied physics ranging from medical physics [1] to environmental physics [2], etc. As an example used here to provide background information, in medical physics, analyses on the transfer of drugs among different organs in the human body are required. Compartmental models are being widely used in biokinetic applications. Previously, Upton [3] discussed the two-compartment recirculatory pharmacokinetic model which consisted of the lungs and the remainder of the body. Similarly, Petráš and Magin [4] developed a two-compartment model for drug uptake by the gut and the target tissue. Sharma et al. [5] developed a multi-compartment model for radon contamination in the human body. In another work, Garcia et al. [6,7] developed a statistical method for multiple-compartment biokinetical models, where the least-squares technique was employed to determine the flow parameters from experimentally available curves of concertation versus time. From experimental studies, the drug concentrations in various organs are obtained as a function of time. In compartmental modelling, these organs are modeled as multiple compartments, and the rate of change in the drug concentration in a particular compartment is related to the rates of change in the drug concentrations in all other relevant compartments through linear differential equations [8,9]. More specifically, the temporal change in the drug concentration in each compartment is controlled by the respective parameters: (1) uptake and excretion rates, (2) initial drug concentration, (3) compartment volume, and (4) transfer rates among the relevant compartments. The task of compartmental modelling is to determine these parameters based on experimental data. Notably, a most challenging task is to determine the transfer rates, particularly in a generalized compartmental system where recycling of drugs among the compartments is allowed. The present work described the use of the Hooke and Jeeves (HJ) derivative free direct search method [10] in determining the transfer rates to construct a multi-compartmental model with recycling among the compartments. The use of a direct search method ensures the applicability of the model to functions which are not continuous or differentiable.

2 Materials and methods

The HJ method mainly involves two steps, namely, (1) exploratory search and (2) pattern move. The HJ method perturbs the current point (which is initially the guessed transfer rates) by a small amount in each variable direction (determined by the number of compartments in the system and the presence or absence of recycling among the compartments) and checks whether the value of the objective function [which in the present case is the sum of absolute values of (experimental value – fitted value)/(fitted value)] improves or worsens. More information on the well-established HJ method can be found in refs. [11,12] and references therein. Remarkably, the method does not necessitate very precise starting points (i.e., guessed values) and complex Jacobian matrices (as it is derivative free) [13]. Furthermore, it is much more user-friendly since the users need to control fewer parameters (only the step size, tolerance, and maximum iterations) and the accuracy and convergence of the present method have been found to be phenomenal [12]. The overall computational speed of this method is another advantage that stands out when compared to other methods.

The general outline of our developed algorithm is shown below:

  1. Initialize variables.

  2. Read number of compartments (N).

  3. Dynamically allocate arrays based on N.

  4. Read the input data into arrays; volume ( V ), excretion ( ξ ), uptake ( P ), initial concentrations ( X 0 ), guessed transfer rates ( R i ).

  5. Read the time (t).

  6. Get step size factor (ρ), tolerance (δ), maximum iterations (iter).

  7. Call Hooke–Jeeves function.

    1. Calculate concentration vector x t .

    2. Calculate sum of absolute values of (experimental value x tE  – fitted value x t )/(fitted value x t )

    3. Determine new transfer rates ( R ) based on the accepted exploratory search and pattern move.

    4. Check tolerance and iteration and, if reached, terminate.

  8. If t > t n (total number of time points), terminate; if not, (t = t + 1) then go to step 5.

  9. Determine mean and standard deviation of the transfer rates ( R ).

  10. Report the final transfer rates ( R ) and associated errors.

The user needs to input the required parameters such as volume, uptake, initial concentration, and the initial guessed transfer rates. Our model used in the present work was developed with the FORTRAN90 programming language. This model was highly flexible and faster in terms of computational speed and convergence, thanks to the derivate free method and also the FORTRAN90 programming language. While derivative free methods use function values, derivative-based methods involve differentiation of the objective functions. When compared to derivative-based methods, derivative free methods have a major advantage in that they can have applications in a wide variety of mathematical problems, e.g., when the objective function is unknown (i.e., black box functions), when determination of derivatives would be impractical, when the objective function has stochastic noise that may lead to inaccurate finite differencing, or when it is computationally expensive to evaluate large dimensional gradient of a system [14]. However, some previously published works found that derivative-based methods provided a better estimate of the objective function, and the computational time needed by derivative-based methods was shorter [15]. We refer interested readers to ref. [16] and references therein for a more detailed comparison between the pros and cons of derivative-based and derivative free methods for different applications. We refer interested readers to the supplementary materials associated with the present paper for more information on our numerical model and its benchmarking.

3 Results and discussion

Our model was tested using previously reported experimental data [2] for distribution of trace elements in four compartments in an animal, namely, (a) blood, (b) muscle, (c) fat, and (d) lung tissue. In that study [2], there was uptake of trace elements only during the first 60 days, and the diet was switched back to contamination-free diet afterwards. The temporal changes of trace-element concentrations were reported. Fits obtained using the present model as well as those obtained in ref. [2] are presented in Figure 1 for comparison. Good agreement is observed between our fits and the experimental data, which demonstrates the feasibility of using the HJ method in multi-compartmental modelling. The model searches for the best transfer rates through minimizing the sum of absolute values of (experimental value − fitted value)/(fitted value) and does not necessitate very precise guessed initial transfer rates. The entire fitting process is carried out automatically, with minimal human interaction and point correction. We plan to develop a graphical user interface program in future which will be available to the research community for multi-compartmental modelling and analysis.

Figure 1 
               Validation of our present model using previously reported experimental data [2] (black squares) for distribution of trace elements in four compartments in an animal, namely, (a) blood, (b) muscle, (c) fat, and (d) lung tissue. There was uptake of trace elements only during the first 60 days. Fits obtained using the present model (red curve) as well as those obtained in ref. [2] (blue curve) are presented. Statistical variations for our fits are shown as cyan shades.
Figure 1

Validation of our present model using previously reported experimental data [2] (black squares) for distribution of trace elements in four compartments in an animal, namely, (a) blood, (b) muscle, (c) fat, and (d) lung tissue. There was uptake of trace elements only during the first 60 days. Fits obtained using the present model (red curve) as well as those obtained in ref. [2] (blue curve) are presented. Statistical variations for our fits are shown as cyan shades.

4 Conclusion

Our present model was found capable of fitting multi-compartmental data using the direct search algorithm (i.e., HJ method). The employment of direct search HJ method in the present work was the main innovative step in the present work when compared to previous works [6,7]. In addition, the present model allows users to control all the required parameters to fine-tune the fitting of experimental results; this is useful to achieve the best possible fit. The implementation of derivative free method would enable us to further develop this into a versatile computer program that can be used in a variety of applications even when the objective function is unknown. Therefore, in the future we aim to further develop this into a graphical user interface program that would be useful in multi-compartmental modelling and analysis in a variety of applications.


tel: +852-34427812, fax: +852-34420538

  1. Conflict of interest: Kwan Ngok Yu is an Editor in Open Physics journal but was not involved in the peer review process.

References

[1] Jeremica MZ, Matovic MD, Krstic DZ, Pantovic SB, Nikezic DR. A five-compartment biokinetic model for 90Y-DOTATOC therapy. Med Phys. 2018;45:5577–85.10.1002/mp.13229Search in Google Scholar PubMed

[2] Assimakopoulos PA, Ioannides KG, Pakou AA. A general multiple-compartment model for the transport of trace elements through animals. Health Phys. 1991;61:245–53.10.1097/00004032-199108000-00008Search in Google Scholar PubMed

[3] Upton RN. The two‐compartment recirculatory pharmacokinetic model – an introduction to recirculatory pharmacokinetic concepts. Br J Anaesth. 2004;92:475–84.10.1093/bja/aeh089Search in Google Scholar PubMed

[4] Petráš I, Magin RL. Simulation of drug uptake in a two compartmental fractional model for a biological system. Comm Nonlinear Sci Numer Simulat. 2011;16:4588–95.10.1016/j.cnsns.2011.02.012Search in Google Scholar PubMed PubMed Central

[5] Sharma N, Hess CT, Thrall KD. A compartmental model of water radon contamination in the human body. Health Phys. 1997;72:261–8.10.1097/00004032-199702000-00009Search in Google Scholar PubMed

[6] Garcia F, Mesa J, Arruda-Neto JD, Helene O, Vanin V, Milian F, et al. The STATFLUX code: a statistical method for calculation of flow and set of parameters, based on the multiple-compartment biokinetical model. Comput Phys Commun. 2007;176:347–61.10.1016/j.cpc.2006.10.007Search in Google Scholar

[7] Garcia F, Arruda-Neto JD, Manso MV, Helene OM, Vanin VR, Rodriguez O, et al. A new statistical method for transfer coefficient calculations in the framework of the general multiple-compartment model of transport for radionuclides in biological systems. Phys Med Biol. 1999;44:2463.10.1088/0031-9155/44/10/308Search in Google Scholar PubMed

[8] James AC. A microcomputer algorithm for solving first-order compartmental models involving recycling. Health Phys. 1989;56:857–68.10.1097/00004032-198906000-00003Search in Google Scholar PubMed

[9] Lassey KR. The usage of transfer coefficients to describe radionuclide transport from a cow’s diet to its milk. Health Phys. 1980;39:321–5.Search in Google Scholar

[10] Hooke R, Jeeves TA. “Direct search” solution of numerical and statistical problems. J ACM. 1961;8:212–29.10.1145/321062.321069Search in Google Scholar

[11] Altinoz OT, Yilmaz AE. Multiobjective Hooke–Jeeves algorithm with a stochastic Newton–Raphson-like step-size method. Expert Syst Appl. 2019;117:166–75.10.1016/j.eswa.2018.09.033Search in Google Scholar

[12] Price CJ, Robertson BL, Reale M. A hybrid Hooke and Jeeves – direct method for non-smooth optimization. Adv Model Optim. 2009;11:43–61.Search in Google Scholar

[13] Lewis RM, Torczon V, Trosset MW. Direct search methods: then and now. J Comput Appl Math. 2000;124:191–207.10.1016/S0377-0427(00)00423-4Search in Google Scholar

[14] Cartis C, Roberts L. A derivative-free Gauss–Newton method. Math Program Comput. 2019;11:631–74.10.1007/s12532-019-00161-7Search in Google Scholar

[15] Körkel S, Qu H, Rücker G, Sager S. Derivative based vs. derivative free optimization methods for nonlinear optimum experimental design. In Current trends in high performance computing and its applications. Berlin, Heidelberg: Springer; 2005. p. 339–44.10.1007/3-540-27912-1_41Search in Google Scholar

[16] Rios LM, Sahinidis NV. Derivative-free optimization: a review of algorithms and comparison of software implementations. J Glob Optim. 2013;56:1247–93.10.1007/s10898-012-9951-ySearch in Google Scholar

Received: 2020-12-16
Revised: 2021-03-04
Accepted: 2021-03-24
Published Online: 2021-05-19

© 2021 Mehrdad Shahmohammadi Beni and K. N. Yu, published by De Gruyter

This work is licensed under the Creative Commons Attribution 4.0 International License.

Articles in the same Issue

  1. Regular Articles
  2. Circular Rydberg states of helium atoms or helium-like ions in a high-frequency laser field
  3. Closed-form solutions and conservation laws of a generalized Hirota–Satsuma coupled KdV system of fluid mechanics
  4. W-Chirped optical solitons and modulation instability analysis of Chen–Lee–Liu equation in optical monomode fibres
  5. The problem of a hydrogen atom in a cavity: Oscillator representation solution versus analytic solution
  6. An analytical model for the Maxwell radiation field in an axially symmetric galaxy
  7. Utilization of updated version of heat flux model for the radiative flow of a non-Newtonian material under Joule heating: OHAM application
  8. Verification of the accommodative responses in viewing an on-axis analog reflection hologram
  9. Irreversibility as thermodynamic time
  10. A self-adaptive prescription dose optimization algorithm for radiotherapy
  11. Algebraic computational methods for solving three nonlinear vital models fractional in mathematical physics
  12. The diffusion mechanism of the application of intelligent manufacturing in SMEs model based on cellular automata
  13. Numerical analysis of free convection from a spinning cone with variable wall temperature and pressure work effect using MD-BSQLM
  14. Numerical simulation of hydrodynamic oscillation of side-by-side double-floating-system with a narrow gap in waves
  15. Closed-form solutions for the Schrödinger wave equation with non-solvable potentials: A perturbation approach
  16. Study of dynamic pressure on the packer for deep-water perforation
  17. Ultrafast dephasing in hydrogen-bonded pyridine–water mixtures
  18. Crystallization law of karst water in tunnel drainage system based on DBL theory
  19. Position-dependent finite symmetric mass harmonic like oscillator: Classical and quantum mechanical study
  20. Application of Fibonacci heap to fast marching method
  21. An analytical investigation of the mixed convective Casson fluid flow past a yawed cylinder with heat transfer analysis
  22. Considering the effect of optical attenuation on photon-enhanced thermionic emission converter of the practical structure
  23. Fractal calculation method of friction parameters: Surface morphology and load of galvanized sheet
  24. Charge identification of fragments with the emulsion spectrometer of the FOOT experiment
  25. Quantization of fractional harmonic oscillator using creation and annihilation operators
  26. Scaling law for velocity of domino toppling motion in curved paths
  27. Frequency synchronization detection method based on adaptive frequency standard tracking
  28. Application of common reflection surface (CRS) to velocity variation with azimuth (VVAz) inversion of the relatively narrow azimuth 3D seismic land data
  29. Study on the adaptability of binary flooding in a certain oil field
  30. CompVision: An open-source five-compartmental software for biokinetic simulations
  31. An electrically switchable wideband metamaterial absorber based on graphene at P band
  32. Effect of annealing temperature on the interface state density of n-ZnO nanorod/p-Si heterojunction diodes
  33. A facile fabrication of superhydrophobic and superoleophilic adsorption material 5A zeolite for oil–water separation with potential use in floating oil
  34. Shannon entropy for Feinberg–Horodecki equation and thermal properties of improved Wei potential model
  35. Hopf bifurcation analysis for liquid-filled Gyrostat chaotic system and design of a novel technique to control slosh in spacecrafts
  36. Optical properties of two-dimensional two-electron quantum dot in parabolic confinement
  37. Optical solitons via the collective variable method for the classical and perturbed Chen–Lee–Liu equations
  38. Stratified heat transfer of magneto-tangent hyperbolic bio-nanofluid flow with gyrotactic microorganisms: Keller-Box solution technique
  39. Analysis of the structure and properties of triangular composite light-screen targets
  40. Magnetic charged particles of optical spherical antiferromagnetic model with fractional system
  41. Study on acoustic radiation response characteristics of sound barriers
  42. The tribological properties of single-layer hybrid PTFE/Nomex fabric/phenolic resin composites underwater
  43. Research on maintenance spare parts requirement prediction based on LSTM recurrent neural network
  44. Quantum computing simulation of the hydrogen molecular ground-state energies with limited resources
  45. A DFT study on the molecular properties of synthetic ester under the electric field
  46. Construction of abundant novel analytical solutions of the space–time fractional nonlinear generalized equal width model via Riemann–Liouville derivative with application of mathematical methods
  47. Some common and dynamic properties of logarithmic Pareto distribution with applications
  48. Soliton structures in optical fiber communications with Kundu–Mukherjee–Naskar model
  49. Fractional modeling of COVID-19 epidemic model with harmonic mean type incidence rate
  50. Liquid metal-based metamaterial with high-temperature sensitivity: Design and computational study
  51. Biosynthesis and characterization of Saudi propolis-mediated silver nanoparticles and their biological properties
  52. New trigonometric B-spline approximation for numerical investigation of the regularized long-wave equation
  53. Modal characteristics of harmonic gear transmission flexspline based on orthogonal design method
  54. Revisiting the Reynolds-averaged Navier–Stokes equations
  55. Time-periodic pulse electroosmotic flow of Jeffreys fluids through a microannulus
  56. Exact wave solutions of the nonlinear Rosenau equation using an analytical method
  57. Computational examination of Jeffrey nanofluid through a stretchable surface employing Tiwari and Das model
  58. Numerical analysis of a single-mode microring resonator on a YAG-on-insulator
  59. Review Articles
  60. Double-layer coating using MHD flow of third-grade fluid with Hall current and heat source/sink
  61. Analysis of aeromagnetic filtering techniques in locating the primary target in sedimentary terrain: A review
  62. Rapid Communications
  63. Nonlinear fitting of multi-compartmental data using Hooke and Jeeves direct search method
  64. Effect of buried depth on thermal performance of a vertical U-tube underground heat exchanger
  65. Knocking characteristics of a high pressure direct injection natural gas engine operating in stratified combustion mode
  66. What dominates heat transfer performance of a double-pipe heat exchanger
  67. Special Issue on Future challenges of advanced computational modeling on nonlinear physical phenomena - Part II
  68. Lump, lump-one stripe, multiwave and breather solutions for the Hunter–Saxton equation
  69. New quantum integral inequalities for some new classes of generalized ψ-convex functions and their scope in physical systems
  70. Computational fluid dynamic simulations and heat transfer characteristic comparisons of various arc-baffled channels
  71. Gaussian radial basis functions method for linear and nonlinear convection–diffusion models in physical phenomena
  72. Investigation of interactional phenomena and multi wave solutions of the quantum hydrodynamic Zakharov–Kuznetsov model
  73. On the optical solutions to nonlinear Schrödinger equation with second-order spatiotemporal dispersion
  74. Analysis of couple stress fluid flow with variable viscosity using two homotopy-based methods
  75. Quantum estimates in two variable forms for Simpson-type inequalities considering generalized Ψ-convex functions with applications
  76. Series solution to fractional contact problem using Caputo’s derivative
  77. Solitary wave solutions of the ionic currents along microtubule dynamical equations via analytical mathematical method
  78. Thermo-viscoelastic orthotropic constraint cylindrical cavity with variable thermal properties heated by laser pulse via the MGT thermoelasticity model
  79. Theoretical and experimental clues to a flux of Doppler transformation energies during processes with energy conservation
  80. On solitons: Propagation of shallow water waves for the fifth-order KdV hierarchy integrable equation
  81. Special Issue on Transport phenomena and thermal analysis in micro/nano-scale structure surfaces - Part II
  82. Numerical study on heat transfer and flow characteristics of nanofluids in a circular tube with trapezoid ribs
  83. Experimental and numerical study of heat transfer and flow characteristics with different placement of the multi-deck display cabinet in supermarket
  84. Thermal-hydraulic performance prediction of two new heat exchangers using RBF based on different DOE
  85. Diesel engine waste heat recovery system comprehensive optimization based on system and heat exchanger simulation
  86. Load forecasting of refrigerated display cabinet based on CEEMD–IPSO–LSTM combined model
  87. Investigation on subcooled flow boiling heat transfer characteristics in ICE-like conditions
  88. Research on materials of solar selective absorption coating based on the first principle
  89. Experimental study on enhancement characteristics of steam/nitrogen condensation inside horizontal multi-start helical channels
  90. Special Issue on Novel Numerical and Analytical Techniques for Fractional Nonlinear Schrodinger Type - Part I
  91. Numerical exploration of thin film flow of MHD pseudo-plastic fluid in fractional space: Utilization of fractional calculus approach
  92. A Haar wavelet-based scheme for finding the control parameter in nonlinear inverse heat conduction equation
  93. Stable novel and accurate solitary wave solutions of an integrable equation: Qiao model
  94. Novel soliton solutions to the Atangana–Baleanu fractional system of equations for the ISALWs
  95. On the oscillation of nonlinear delay differential equations and their applications
  96. Abundant stable novel solutions of fractional-order epidemic model along with saturated treatment and disease transmission
  97. Fully Legendre spectral collocation technique for stochastic heat equations
  98. Special Issue on 5th International Conference on Mechanics, Mathematics and Applied Physics (2021)
  99. Residual service life of erbium-modified AM50 magnesium alloy under corrosion and stress environment
  100. Special Issue on Advanced Topics on the Modelling and Assessment of Complicated Physical Phenomena - Part I
  101. Diverse wave propagation in shallow water waves with the Kadomtsev–Petviashvili–Benjamin–Bona–Mahony and Benney–Luke integrable models
  102. Intensification of thermal stratification on dissipative chemically heating fluid with cross-diffusion and magnetic field over a wedge
Downloaded on 26.2.2026 from https://www.degruyterbrill.com/document/doi/10.1515/phys-2021-0026/html
Scroll to top button