The work describes a scheduling system based on an opportunistic framework. It exploits the potentiality of a predictive module that provides a-priori information about the conflicts that may arise in a schedule, managing a constraint based approach in problem solving. The system SOS has been designed and realized to apply in real productive environments this theoretical approach. Requirements of efficiency and flexibility of use have been particularly considered. GUIDELINES AND SCHEDULING STRATEGIES IN SOS In this paper we will present an approach to scheduling problems which is focused on the requirements of real manufacturing environments. Therefore we considered aspects that are tied to the managerial perspective of the problem. The SOS system is designed both for computing solutions in scheduling problems and for supporting manager in obtaining schedules that reflect the state of shop-floor and organizational problems in production. Two aspects have been considered in these perspective: • it develops a temporal predictive method [7] to support a preventive analysis of activity interactions and to detect bottlenecks. It exploits an a-priori analysis of the effects of organizational constraints on the scheduling problem, evaluating alternatives as quick as possible. Transactions on Information and Communications Technologies vol 1, © 1993 WIT Press, www.witpress.com, ISSN 1743-3517 628 Artificial Intelligence in Engineering • If some unexpected event happens on the job shop, it works as a support tool for the evaluation of different reaction decisions (reactive scheduling [4]). The contribution of Al-based techniques is focused especially on the analysis of the effects that scheduling variables have on solutions and on the definition of adequate reasoning patterns. We based our approach on opportunistic reasoning [5]. This term characterizes a problem solving process in which the focus of attention is constantly directed to those choices that appear the most promising for reaching a solution. This policy is expected to reduce the search space (and therefore the computational complexity), focusing the reasoning on areas that are considered as the more constrained (island driving). The capability to provide a feasible solution in a sufficiently short time is fundamental for manufacturing environments, but we must remember that the existence of at least one feasible solution is not always guaranteed. The evaluation of effects of constraints becomes fundamental to identify a solution. Production managers want to know how the decision to change or to relaxing the value of some constraints (concerning for example orders due-dates or priorities) affects the quality of final schedules and the global productive efficiency. This feature is particularly important when a feasible solution does not exist; in this case, from a managerial viewpoint, it is required to the system to support the user in building a feasible solution. From a mathematical perspective we considered scheduling as a Constraint Satisfaction Problem (CSP) [6], concerned with the assignment of values to variables subject to a set of constraints. The solution of the CSP (a feasible set of values assumed by the variables) depends on the constraints defined on the problem: by changing the constraints, the solution will change, too. In solving a CSP, two decisions have to be made at each cycle, i.e. which variable to instantiate next and which value to assign to that variable. This formalization highlights the importance associated to constraints analysis: • they allow the quick computation of a feasible solution, without exploring the entire problem domain. • Through their analysis we can obtain information about how they can be modified opportunistically during scheduling. Transactions on Information and Communications Technologies vol 1, © 1993 WIT Press, www.witpress.com, ISSN 1743-3517 Artificial Intelligence in Engineering 629 We distinguished between two classes of constraints [3], considering the possibility for production managers to change their values in a very short time horizon: Restrictions: they must be always respected and cannot be easily and quickly changed; they can be furtherly divided into causal constraints (they represent conditions to be satisfied before starting an activity), physical constraints (each equipment has specific capabilities that restrict the type and the speed of operations it can accomplish), and resources unavailability. Preferences: restrictions leave scheduling problem underconstrained. Preferences represent the set of managerial constraints and the definition of their values is subject to a decision process. Some examples are: defining orders due date and priority, meeting due-dates, minimizing WIP, maximizing resource utilization, the definition of operational preferences (an order may follow alternative production paths in shop floor), etc. The role of constraints can be underlined considering a second classification, which concerns the links among activities. In a manufacturing environment orders (made of many activities) are processed contemporaneously; moreover many of them may require the same productive resources. These connections cause two kinds of constraints [9]: • intra-order: they represent explicit links existing among activities belonging to an order (for example temporal relations [1]. These constraints are explicitly defined in the problem. • Inter-order: they represent implicit links existing among activities belonging to different orders. For example activities belonging to different orders may require contemporaneously the same productive resource. These constraints remain implicit after the problem definition. THE SOS SCHEDULING PROCESS The goal of our system is to find solutions that satisfies a given set of constraints as quick as possible. If a solution does not exist, the system relaxes only preferences, minimizing the overall effects on final schedule. The scheduling policies followed in SOS can be summarized as follows: 1. Scheduling is made allocating one activities at a time, consider at each step the effects of intraand inter-order constraints; Transactions on Information and Communications Technologies vol 1, © 1993 WIT Press, www.witpress.com, ISSN 1743-3517 630 Artificial Intelligence in Engineering 2. Most constrained and least-impact policies are implemented at each step. First the most-constrained policy selects dynamically on which agent must be focused scheduling attention. Then, the least impact policy chooses for that agent a value whose impact on the rest of the non-scheduled agents is as small as possible. The strategic goal is the identification of critical activities that heavily rely on the possession of highly contended temporal intervals or resources because of intra-order and inter-order interactions (look-ahead strategy). These two policies are based on numeric indexes which account for the particular structure of a problem. They give a measure of the interaction among activities and resources in terms of variable looseness (it is a measure of constraint degree) and value goodness (it is a measure of the impact of a scheduling decision on non-scheduled activities) [9]. Finally -we decided to avoid the utilization of backtracking in SOS systems because of the particular field of application that we identified. In real problems, we have no a priori guarantees concerning the existence of a solution: in this case backtracking is completely useless. Moreover, in order to meet our basic requirements, we prefer to look for a satisfying solution in a short time, instead than to wait for the best solution (which may not exist). V)PI ( Predictive pre-analysis 1 constraints modification / jtraints modification W Result and jus sy ' xi' :•:':':•:•::•:: •;::-:•: j @ Sch, Pr X^x:: :.:••::.::.-::: s display jtification stem
Read more