Procedural Code Generation vs Static Expansion in Modelling Languages for Constraint Programming

被引:0
|
作者
Martin, Julien [1 ]
Martinez, Thierry [1 ]
Fages, Francois [1 ]
机构
[1] INRIA Paris Rocquencourt, EPI Contraintes, F-78153 Le Chesnay, France
关键词
RULES2CP; ZINC;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
To make constraint programming easier to use by the non-programmers, a lot of work has been devoted to the design of front-end modelling languages using logical and algebraic notations instead of programming constructs. The transformation to an executable constraint program can be performed by fundamentally two compilation schemas: either by a static expansion of the model in a flat constraint satisfaction problem (e.g. Zinc, Rules2CP, Essence) or by generation of procedural code (e.g. OPL, Comet). In this paper, we compare both compilation schemas. For this, we consider the rule-based modelling language Rules2CP with its static exansion mechanism and describe with a formal system a new compilation schema which proceeds by generation of procedural code. We analyze the complexity of both compilation schemas, and present some performance figures of both the compilation process and the generated code on a benchmark of scheduling and bin packing problems.
引用
收藏
页码:38 / 58
页数:21
相关论文
共 9 条
  • [1] OBJECT-ORIENTED VS PROCEDURAL PROGRAMMING-LANGUAGES - EFFECTIVENESS IN PROGRAM MAINTENANCE
    HENRY, S
    HUMPHREY, M
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1993, 6 (03): : 41 - 49
  • [2] Static vs. dynamic issues in object-oriented programming languages
    JOOP - Journal of Object-Oriented Programming, 2000, 13 (06): : 11 - 24
  • [3] Static vs. dynamic issues in object-oriented programming languages
    Corradi, A
    Leonardi, L
    JOOP-JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 2000, 13 (06): : 11 - +
  • [4] Unit Test Code Generation Tool Support for Lower Level Programming Languages
    Bandara, Rasika
    Perera, Indika
    MERCON 2020: 6TH INTERNATIONAL MULTIDISCIPLINARY MORATUWA ENGINEERING RESEARCH CONFERENCE (MERCON), 2020, : 632 - 637
  • [5] A NONLINEAR-PROGRAMMING APPROACH TO OPTIMAL STATIC GENERATION EXPANSION PLANNING
    RAMOS, A
    PEREZARRIAGA, IJ
    BOGAS, J
    IEEE TRANSACTIONS ON POWER SYSTEMS, 1989, 4 (03) : 1140 - 1146
  • [6] Static integrity constraint management in object-oriented database programming languages via predicate transformers
    Benzaken, V
    Schaefer, X
    ECOOP'97: OBJECT-ORIENTED PROGRAMMING, 1997, 1241 : 60 - 84
  • [7] What Programming Languages Do Developers Use? A Theory of Static vs Dynamic Language Choice
    Pang, Aaron
    Anslow, Craig
    Noble, James
    2018 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2018, : 239 - 247
  • [8] Template-based generation of programming language specific code for smart grid modelling compliant with CIM and CGMES
    Dinkelbach, Jan
    Razik, Lukas
    Mirz, Markus
    Benigni, Andrea
    Monti, Antonello
    JOURNAL OF ENGINEERING-JOE, 2023, 2023 (01):
  • [9] Investment & generation costs vs CO2 emissions in the distribution system expansion planning: A multi-objective stochastic programming approach
    de Lima, Tayenne Dias
    Tabares, Alejandra
    Arias, Nataly Banol
    Franco, John F.
    INTERNATIONAL JOURNAL OF ELECTRICAL POWER & ENERGY SYSTEMS, 2021, 131