Using constraint programming to model complex plans in an integrated approach for planning and scheduling
Using constraint programming to model complex plans in an integrated approach for planning and scheduling
复制标题
使用约束规划以集成的规划和调度方法对复杂计划进行建模
DOI:
--
复制
发表时间:
--
期刊:
影响因子:
--
通讯作者:
Marlene Arangú
中科院分区:
文献类型:
--
作者:
Antonio Garrido;E. Onaindía;Marlene Arangú
The objective of this paper is to present an integrated architecture for planning and scheduling (P&S) and, more particularly, the role of a constraint programming module (scheduler) within this framework. The underlying idea is to have two separate modules, a planner and a scheduler, solving jointly a P&S problem. In this collaborative framework, we have firstly focused our research on the modelling of a plan with complex P&S constraints as a CSP. Then a CSP solver takes as input the plan along with all its constraints and validates such a plan. The model presented in this paper can also be easily extended to solve P&S problems rather than just validating plans. Introduction and motivation The resolution of P&S problems has followed two different perspectives. In one of the research directions, the temporal planning approach, the objective is to extend planning to cope with scheduling capabilities, that is augmenting the planning reasoning capabilities in order to handle time and resources (Chen, Hsu, & Wah 2005; Gerevini et al. 2004; Ghallab, Nau, & Traverso 2004). In the other direction, planning embedded into scheduling, the solution consists of including planning capabilities into a scheduler (Smith & Zimmerman 2004). In this latter approach, the starting point is usually a pre-planned set of ordered activities and planning is called each time it is necessary to release, set up or make any problem component available. However, it is possible to come up with a more general and flexible model where both P&S have an important role in the problem solving, which is a hot topic of research. We use such a model to combine a planning solver and a CSP solver (acting as a scheduling module) as presented in Figure 1, which depicts the structure of our integrated architecture: • The input data. The input is the problem model (domain+problem definition in any specification language, e.g. PDDL3 (Gerevini & Long 2006)). Additionally, we allow an extension of the model by incorporating further constraints like quantitative temporal restrictions or more sophisticated local conditions for actions. The overall problem definition is divided into two parts: the propositional part that includes those aspects related to the causal structure of the problem and the additional constraints which comprise the numeric constraints, the preferences and hard constraints and the extra constraints of the extended model. By separating the problem modelling into these two parts we can use a classical planner, as simple (in terms of expressivity and calculus) and efficient as possible, to solve the propositional component of the problem. Moreover, we might even use an input plan generated by the user as a sequence of activities. It is important to note that this plan may abstract out the scheduling (time+resources) requirements, i.e. the plan does not need to be executable because the objective of the integrated module is precisely to repair a given plan and make it fully executable w.r.t. all the scheduling requirements. To sum up, we can use a pure STRIPS planner or a PDDL planner or a hand-tailored plan. The output will be, in any case, a skeleton plan or causal structure for the problem at hand. Obviously, the more advanced method we use for generating the plan, the better plan quality. • The modelling. The second step in our framework is the problem formulation. Instead of encoding planning structures (a planning graph, for instance) (Kambhampati 2000), we encode the plan causal structure and the additional constraints as a CSP. Thus, this paper shows, in detail, the formulation of plans with complex constraints based on the works of (Refanidis 2005; Vidal & Geffner 2006). We can undertake the modelling of a complete plan as a