Hostname: page-component-78c5997874-94fs2 Total loading time: 0 Render date: 2024-11-13T06:07:26.764Z Has data issue: false hasContentIssue false

Using Tabled Logic Programming to Solve the Petrobras Planning Problem

Published online by Cambridge University Press:  21 July 2014

ROMAN BARTÁK
Affiliation:
Charles University in Prague, Faculty of Mathematics and Physics, Prague, Czech Republic (e-mail: bartak@ktiml.mff.cuni.cz)
NENG-FA ZHOU
Affiliation:
The City University of New York, Brooklyn College, New York, USA (e-mail: nzhou@acm.org)

Abstract

Tabling has been used for some time to improve efficiency of Prolog programs by memorizing answered queries. The same idea can be naturally used to memorize visited states during search for planning. In this paper we present a planner developed in the Picat language to solve the Petrobras planning problem. Picat is a novel Prolog-like language that provides pattern matching, deterministic and non-deterministic rules, and tabling as its core modelling and solving features. We demonstrate these capabilities using the Petrobras problem, where the goal is to plan transport of cargo items from ports to platforms using vessels with limited capacity. Monte Carlo Tree Search has been so far the best technique to tackle this problem and we will show that by using tabling we can achieve much better runtime efficiency and better plan quality.

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2014 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

International Planning Competitions, http://ipc.icaps-conference.org Google Scholar
Barták, R. and Zhou, N.F. (2013), On Modeling Planning Problems: Experience From The Petrobras Challenge. Proceedings of MICAI 2013, Part II, LNAI 8266, pp. 466477, Springer Verlag.Google Scholar
Dvořák, F. and Barták, R. (2010), Integrating time and resources into planning. Proceedings of ICTAI 2010, Volume 2, pp. 7178, IEEE Computer Society.Google Scholar
Gerevini, A. and Long, D. (2005), BNF description of PDDL 3.0, http://cs-www.cs.yale.edu/homes/dvm/papers/pddl-bnf.pdf Google Scholar
Hewitt, C. (1969), Planner: A language for proving theorems in robots. In IJCAI, 295–302.Google Scholar
Hsu, C. and Wah, B.W. (2008), The SGPlan planning system in IPC-6, http://wah.cse.cuhk.edu.hk/wah/Wah/papers/C168/C168.pdf Google Scholar
Nakhost, H. and Hoffmann, J. (2013), Nomystery. https://www.mat.unical.it/aspcomp2013/Nomystery Google Scholar
Toropila, D., Dvořák, F., Trunda, O., Hanes, M., Barták, R. (2012), Three Approaches to Solve the Petrobras Challenge: Exploiting Planning Techniques for Solving Real-Life Logistics Problems. Proceedings of ICTAI 2012, pp. 191198, IEEE Conference Publishing Services.Google Scholar
Vaquero, T. S., Costa, G., Tonidandel, F., Igreja, H., Silva, J. R. and Beck, C. (2012), Planning and scheduling ship operations on petroleum ports and platform. Proceedings of the Scheduling and Planning Applications Workshop, pp. 8–16.Google Scholar
Warren, D. H. D. (1974), WARPLAN: A system for generating plans. Technical Report DCL Memo 76, University of Edinburgh.Google Scholar
Warren, D.S. (1992), Memoing for Logic Programs, CACM, Vol. 35, No. 3, pp. 93111.Google Scholar
Zhou, N.-F., Dovier, A. (2011), A Tabled Prolog Program for Solving Sokoban. Proceedings of the 26th Italian Conference on Computational Logic (CILC 2011), pp. 215–228.CrossRefGoogle Scholar