IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v18y2026i2p93-d1862193.html

LeapNP: A Modular Python Framework for Benchmarking Learned Heuristics in Numeric Planning

Author

Listed:
  • Valerio Borelli

    (Department of Information Engineering, Università Degli Studi di Brescia, Via Branze 38, 25123 Brescia, Italy
    Department of Computer, Control and Management Engineering, Sapienza Università di Roma, Via Ariosto 25, 00185, Rome, Italy)

  • Alfonso Emilio Gerevini

    (Department of Information Engineering, Università Degli Studi di Brescia, Via Branze 38, 25123 Brescia, Italy)

  • Enrico Scala

    (Department of Information Engineering, Università Degli Studi di Brescia, Via Branze 38, 25123 Brescia, Italy)

  • Ivan Serina

    (Department of Information Engineering, Università Degli Studi di Brescia, Via Branze 38, 25123 Brescia, Italy)

Abstract

This paper introduces LeapNP (Learning and Planning Framework for Numeric Problems), a lightweight, Python-native framework engineered to support both classical and numeric planning tasks. Designed with a fully modular interface, it specifically aims to facilitate the seamless integration of deep learning methodologies. The design philosophy of LeapNP stems from the observation that traditional planners, while highly efficient, lack the necessary flexibility for experimental research, particularly at the intersection of learning and planning. Most state-of-the-art engines are built as highly optimized, rigid executables that are resistant to internal modification. LeapNP disrupts this paradigm by offering a framework where the entire planning stack is accessible and mutable. Users can seamlessly plug in custom implementations for grounding, define novel state representations, or design bespoke search strategies, thereby enabling a level of integration with learning models that is currently impractical with standard tools. By significantly lowering the engineering barrier, our planner fosters rapid experimentation and accelerates research in neuro-symbolic planning. We also present a comprehensive suite of search algorithms, designed to evaluate different properties of learned heuristics. These include two algorithms designed to exploit batching to maximize inference throughput, and a greedy algorithm meant to test the intrinsic robustness of the learned models, running them as general policies.

Suggested Citation

  • Valerio Borelli & Alfonso Emilio Gerevini & Enrico Scala & Ivan Serina, 2026. "LeapNP: A Modular Python Framework for Benchmarking Learned Heuristics in Numeric Planning," Future Internet, MDPI, vol. 18(2), pages 1-22, February.
  • Handle: RePEc:gam:jftint:v:18:y:2026:i:2:p:93-:d:1862193
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/18/2/93/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/18/2/93/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:18:y:2026:i:2:p:93-:d:1862193. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.