1. Introduction
The daily work of a laboratory requires processing samples in thermal cyclers as part of more complex processes. As processing each of the plates is costly in both time and money, the main objective of the work is to reorganize the samples in the plates taking into account the restrictions imposed by the characteristics of the thermal cycler.
The plates used by the laboratory consist of 8 rows and 12 columns, making a total of 9 6 wells. In turn, the 12 columns are divided into 6 temperature bands with 16 wells each. The first restriction imposes that the difference of temperature between two adjacent strips must be less than 5 °C.
The input data of the problem has the following characteristics, each sample occupies a well, each group of samples is processed at a certain temperature and, in addition, for each group is necessary to reserve a well to accommodate the group control.
Figure 1 shows an example plate of this configuration.
The objective of the work is to obtain the distribution of the samples in plates in such a way that the number of plates used is minimized, the total number of cells used is minimized and the percentage of occupancy of the plates is maximized according to the lexicographical order.
2. The Algorithm
As seen in the article published by [
1], since it is necessary to achieve a solution in a reasonable time, a heuristic algorithm, based on the simulated annealing method introduced by [
2], has been developed. The idea of the method comes from the analogy between the process of metal annealing and the optimization of combinational problems. To implement this method, it is necessary to define the problem in terms of a solution space with a neighborhood and a solution space.
The algorithm starts from an initial solution, obtained by filling the plates with the samples ordered by temperature, bearing in mind that each group needs a present indicator, different groups with the same temperature can share a strip and it is possible to leave free strips to maintain the difference of 5 °C between consecutive strips. To this first solution, minimal changes are made (the neighbors), on which the objective function is calculated, which allows us to assess whether the change has been positive for the resolution of the problem. The movements that allow these changes are two, the exchange of strips and the grouping of samples dispersed by several plates.
3. Preliminary Results
The laboratory works with commercial software known as LabWare, against which the results of the implemented algorithm have been compared.
Table 1 shows a summary of the solutions obtained for a set of tests, showing the number of plates necessary in each option, accompanied by the execution time of the heuristic algorithm
4. New Challenges
In the real world, samples have different priorities (modeled by temporary windows), the processing capacity of plates is limited and sometimes it will be inevitable to postpone part of the work. In addition, the laboratory receives new samples to be processed periodically.
In order to face these new challenges, an architecture to generalize this work has been designed. This architecture must meet several requirements, such as maintaining the quality of the solutions, being able to carry out tasks in parallel with great autonomy and being of help to operators in making decisions.
This new approach consists of a web interface, capable of multiprocessing parallelism, scalable and able to work with the complete solution with which operators can interact.
Figure 2 shows an example capture of the result of an execution.
Author Contributions
L.C.R. and S.L.F. conceived and designed the algorithm and the experiments. D.N.D. developed the new software architecture.
Acknowledgments
This work has been supported by MINECO grants MTM2014-53395-C3-1-P and MTM2017-87197-C3-1-P, and by Xunta de Galicia through the European Regional Development Fund-ERDF (Grupos de Referencia Competitiva ED431C-2016-015 and Centro Singular de Investigación de Galicia ED431G/01) and the European Social Fund-ESF.
Conflicts of Interest
The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.
References
- Carpente, L.; Cerdeira-Pena, A.; Lorenzo-Freire, A.; Places, S. Optimization in Sanger sequencing. Comput. Oper. Res. under review.
- Kirkpatrick, S.; Gelatt, C.D.; Vecchi, M.P. Optimization by simulated annealing. Science 1983, 220, 671–680. [Google Scholar] [CrossRef] [PubMed]
| Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2018 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 (https://creativecommons.org/licenses/by/4.0/).