A Declarative Modeling Framework that Integrates Solution Methods

نویسندگان

  • John N. Hooker
  • Hak-Jin Kim
  • Greger Ottosson
چکیده

Constraint programming o ers modeling features and solution methods that are un available in mathematical programming but its models are not declarative This raises this issue as to whether the two approaches can be combined in a declarative modeling frame work This paper proposes a general declarative modeling system in which the conditional structure of the constraints shows how to integrate any checker and any special purpose solver In particular this integrates constraint programming and optimization methods because the checker can consist of constraint propagation methods and the solver can be a linear or nonlinear programming routine Solution technology has strongly in uenced the modeling framework of mathematical pro gramming Inequality constraints for example are ubiquitous not only because they are useful for problem formulation but because solvers can deal with them Linear programming is teth ered to a highly structured modeling language because the solver requires it Its historical popularity has been possible only because of George Dantzig s discovery that its restricted vocabulary is surprisingly versatile in applications Nonetheless mathematical programmers are becoming more aware of the limitations of inequality based modeling This may be due primarily to the recent commercial success of constraint programming and its richer modeling resources Constraint programming systems permit not only such logical constructions as disjunctions and implications but they include all di erent constraints and other highly useful predicates that are foreign to a mathematical programming environment Variables need not even have numerical values and they can appear in subscripts The power of this modeling framework is dramatically illustrated by the traveling salesman problem which requires exponentially many constraints in its most popular integer programming formulation In a constraint programming milieu it can be written with a single all di erent constraint if variable subscripts are permitted in the objective function Two things about the conventional modeling habits of mathematical programmers how ever are arguably very right One is that their models are fully declarative meaning that they state the problem without describing the solution procedure A linear or integer programming model can be passed to any number of solvers without modi cation Constraint programming systems by contrast typically require the user to write high level C code or some other script that invokes customized procedures A second strength of mathematical programming is that the very structure of the modeling language anticipates the solution task Although the human modeler may think little about algorithmic matters the syntax of the language forces the model into the solver s mold This is not to say that constraint programming permits formulations that are unsupported by solvers It avoids this however only to the extent that the modeling language is procedural in the rst place An all di erent constraint for example is not so much a constraint as a procedure that propagates the constraint If a set of variables are required to assume di erent values and the rst ve variables have already been assigned values then the propagation procedure removes those ve values from the domain of each of the remaining variables i e from the set of values the variable is allowed to take Although mathematical programming enjoys advantages in its declarative approach it would nonetheless bene t from the larger modeling repertory of constraint programming and the solution techniques that go with it The issue is whether there a principled way for a modeling system to integrate optimization and constraint satisfaction methods without obliging the modeler to think about the solution algorithm More generally is there a general way in which a modeling framework can be sensitive to available solution technology while remaining declarative This paper is intended to address these questions A simple example can illustrate how a modeling language might take into account the strengths and weakness of available solution methods Suppose that the language consists of systems of linear inequalities and logical formulas It permits an expression like

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Controlling Object Natural Behaviors with a 3D Declarative Modeler

In this paper, we present an extension of DEM2ONS declarative modeler. DEM2ONS provides the designer with the possibility to easily describe a scene in a high level of abstraction, using various types of constraints. It also integrates knowledge about normal use of objects in order to offer the closest solution to what the designer wants. Constraints are maintained by a new incremental constrai...

متن کامل

Towards Run-time Debugging of Equation-based Object-oriented Languages

The development of today’s complex products requires advanced integrated environments and modeling languages for modeling and simulation. Equation-based object-oriented declarative (EOO) languages are emerging as the key approach to physical system modeling and simulation. The increased ease of use, the high abstraction and the expressivity of EOO languages are very attractive properties. Howev...

متن کامل

Declarative Terrain Modeling for Military Training Games

Military training instructors increasingly often employ computer games to train soldiers in all sorts of skills and tactics. One of the difficulties instructors face when using games as a training tool is the creation of suitable content, including scenarios, entities and corresponding terrain models. Terrain plays a key role in many military training games, as for example in our case game Tact...

متن کامل

A Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies

In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...

متن کامل

A Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies

In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Annals OR

دوره 104  شماره 

صفحات  -

تاریخ انتشار 2001