Fuzzy Nonlinear Programming with Applications in Decision MakingView this Special Issue
Research Article | Open Access
A Biobjective Fuzzy Integer-Nonlinear Programming Approach for Creating an Intelligent Location-Aware Service
An intelligent location-aware service is created in the present study, in which a timely service is provided to a user without changing the user's pace. To the user, there are two goals to achieve—one is to reach the service location just in time; the other is to get to the destination as soon as possible. To consider the two objectives at the same time and to allow for the uncertainty in the dynamic environment, a biobjective fuzzy integer-nonlinear programming problem is formulated and solved. To illustrate the applicability of the proposed methodology, an experiment has been performed. According to the experimental results, the user's waiting time was reduced by 61% using the proposed methodology.
Ambient intelligence (AmI), coined by European Commission in 2001, features an environment in which the environment supports the people inhabiting it in an unobtrusive/transparent, interconnected, adaptable, dynamic, embedded, and intelligent way [1, 2]. An AmI system has the following characteristics.(1) Interfacing with human senses rather than focusing on computer-based input and output devices.(2) Sensors/detectors are embedded in everyday objects that can communicate with each other.(3) Environment is sensitive to a user’s needs and even can anticipate the user’s needs or behavior.
In fact, a few basic AmI technologies and systems have already been applied in our everyday lives, such as thermostats, movement sensors that control lighting, and movement sensors linked to a security alarm for detecting intruders. AmI related topics include context-aware computing, ubiquitous computing, pervasive computing, everywhere computing, human/artificial intelligence, machine learning, agent-based software, and robotics.
Basically, AmI technologies can be divided into the following categories: ubiquitous computing, context awareness, intelligence, and natural user-system interaction. In the literature, several researchers have established the procedure for developing AmI systems. For example, in Cook et al. , the procedure is composed of three steps.(1) Sensing features of the users and their environment.(2) Reasoning about the accumulated data.(3) Selecting actions to take that will benefit the users in the environment.
Garzotto and Valoriani  detailed the steps of developing an AmI system including requirements, specifications, mockups, functional prototypes, and beta-systems. After summarizing the viewpoints of these studies, a procedure of eight steps can be proposed as motion decomposition, motion analysis, scenario generation, law, privilege, and data security consideration, human-system interface design, data/message transmission, data analysis, and performance evaluation.
In short, the existing AmI methods have the following problems.(1) There is a lack of a systematic procedure for developing AmI applications.(2) Cost-effect analyses of AmI applications have seldom been done. That may be because most successful AmI applications are based on massive government support.(3) The usefulness of some AmI technologies is being questioned.(4) No AmI application is successful in every respect.
The objective of this study is to create an intelligent location-aware service (LAS), which can be regarded as an innovative application of AmI, ubiquitous computing, and mobile commerce. A context-aware service (CAS) system provides relevant information and/or services to a user through the interpretation of the user’s context . A LAS is a special CAS that utilizes the location of a user to adapt the service accordingly .
Krevl and Ciglarič  proposed a framework for developing location-based distributed applications. The framework comprises of three layers—the client layer, the application/server layer, and the database layer. Allamanis et al.  observed that LASs can foster the creation of online social networks. Savage et al.  designed a restaurant recommendation LAS system, which processed the user’s location, preferences, feelings, and transportation mode with decision trees to make a recommendation. In addition, a discrete hidden Markov model was also built to reduce the misclassification in the decision tree. The LAS system developed by Zhang et al.  considered location features, social features, and implicit patterns and then recommended online social groups to users that may be interested in.
However, it is not easy for a LAS to be successful, because of the uncertainties arising from changes in a user’s speed, positioning inaccuracy, unstable network connections, human-assisted service preparation, and others. To deal with such uncertainties, fuzzy and probabilistic (stochastic) methods are two main streams; however, fuzzy methods are easier to implement than probabilistic methods and do not rely on strict assumptions [9–12]. In the literature, fuzzy methods have been applied to various LASs. For example, Kotsakis and Ketselidis  indicated that the uncertainties of a dynamic environment increase the difficulty to interpret the context. In such a circumstance, linguistic terms may be a better choice to describe user’s subjective feelings. Mateo et al.  established a set of fuzzy inference rules to help a user select the most suitable nearby restaurant. In Anagnostopoulos and Hadjiefthymiades , a user’s context is represented through fuzzy variables assuming fuzzy values, which then become inputs to the fuzzy inference rules. Chen et al.  developed a LAS system that can inform users of the best station to park their cars in during the peak period. Simple fuzzy inference rules were established to make a recommendation.
In short, the existing LAS systems have the following problems.(1) There is considerable uncertainty in detecting a user’s position. For example, the detection error may be up to 20 meters using the global positioning system on the cell phone ; that is large enough to mislead the recommendation process. Such an uncertainty has not been properly considered.(2) There is a gap between theory and practice of LAS. More emphasis is put on the correctness of a service than on the timeliness of providing the service. Some LAS systems attempt to recommend the nearest service location to the user; however, timeliness is a different concept that forces the LAS system to go along with a user’s pace.
An intelligent LAS is created in this study, in which a user sends a request to the system server through his/her mobile phone and reaches the recommended service location exactly as the requested service becomes available; that is just in time (JIT). JIT is traditionally a production strategy to reduce waste; however, it has seldom been applied to AmI, ubiquitous computing, or LAS. In this study, the general methodology or technology to address this problem is fuzzy mathematical programming, which is usually used to optimize a specific target under an uncertain environment [18–20].
Compared with the existing methods, the proposed methodology has the following innovative characteristics.(1) The location and speed of a user are highly uncertain, and therefore they are given in fuzzy numbers. (2) Since fuzzy numbers are used to represent the location and speed of a user, the time to go through a path, denoted as the “path duration,” is also a fuzzy number.(3) In addition, the service preparation time is also given in fuzzy numbers to consider its uncertainty. Since most of the services are subject to human intervention, such a treatment should be reasonable. As a result, the available time of each service location is also a fuzzy number.(4) Two goals are to be achieved. The first one is to find a timely manner to reach the service location. The other is to reach the destination as soon as possible. That leads to a biobjective decision-making problem. To assist decision-making, a biobjective fuzzy integer nonlinear programming (2o-FINLP) model is formulated and solved.The differences between the proposed methodology and some existing methods were summarized in Table 1.
The remaining of this paper is organized as follows. First, the architecture and operation procedure of the intelligent LAS are detailed in Section 2. To reach the service location just in time and to reach the destination as soon as possible, a 2o-FINLP problem is formulated and solved in Section 3. To illustrate the applicability of the proposed methodology, an experiment has been performed. Finally, Section 4 concludes this paper and lists some topics for future investigation.
2. The Intelligent LAS
The first step of developing an AmI system is to propose the scenario for usability evaluation. The scenario of the intelligent LAS is shown in Figure 1. While most of the scenarios are presented in short films, Figure 1 can still clearly express the concepts of the new system.
The system architecture of the intelligent LAS is illustrated in Figure 2. There are four main parts in the system: users, the communication and request system, the system server, and service locations. The interactions among them refer to the data flow diagram (DFD) in Figure 3 and are briefly described here. At first, the communication and request system establishes a ubiquitous environment for the users to access the system server and then the service locations. Then, the system server, as a third-party service provider, selectively bridges the gap between a user and the service locations. That is, only the JIT service location will be contacted by the system server on behalf of the user. The system server, finally, can get a commission from the service locations as a reward.
3. Determining the Fuzzy JIT Service Location and Path
The variables and parameters used in the proposed methodology are defined as follows.(1): there are nodes in the traffic network indicated with node .(2): there are service locations in the traffic network indicated with service location .(3) or : the length of the path connecting nodes and . , ; . if there is no connection between the two nodes. The start point and destination are nodes 1 and , respectively. In addition, no back path is allowed; namely, if .(4) or : the distance from the start point to node . Obviously, , and . In addition, is determined by the distances of nodes connected to node as follows: (5) or : the distance from the start point to service location . .(6) or : the distance from node to node . Obviously, .(7) or : the distance from node to service location . (8) or : the service preparation time. Most of the services are prepared manually. For this reason, the preparation time is subject to the skills and mental and physical conditions of the staff and, therefore, may be highly uncertain. For these reasons, in this study, the service preparation time is given in triangular fuzzy numbers.(9): the positioning accuracy.(10) or : the user’s speed.(11): the current time.(12) or : the available time of service location .
Triangular fuzzy numbers are used in this study to represent uncertain variables. For this reason, some arithmetic operations on triangular fuzzy numbers are introduced .
Theorem 1 (arithmetic operations on triangular fuzzy numbers). and are two triangular fuzzy numbers:
Subsequently, we reviewed the ways of converting fuzzy objective functions and constraints. For a constraint in which both and are triangular fuzzy numbers, Klir and Yuan  proposed the following way to convert it: Another common way to convert the constraint is to defuzzify the related terms before comparison, say, using the center of gravity (COG) function : The third way is to assess the possibility  that the constraint is satisfied by
Theorem 2 (possibility comparison of two triangular fuzzy numbers). To ensure that the possibility is 100%, the following requirement has to be met: The required proof is straightforward.
Based on these concepts and theorems, in the following section, we describe how to calculate the fuzzy speed of a user and the fuzzy travel time of a path.
3.2. Fuzzy Speed and Travel Time
According to the detection results of the GPS system, the distance that the user went through within time is . Then, considering the positioning uncertainty , the fuzzy path length is (, , ). The fuzzy speed is
The fuzzy travel time of a path with length is according to (3).
3.3. o-FINLP Model
To find the fuzzy JIT service location and path, the waiting time is to be minimized:
In addition, the preparation of the required service cannot start before the available time of the service location. To consider that, the objective function is modified: On the other hand, the user also needs to reach the destination as soon as possible: As a result, the following 2o-FINLP problem is to be solved: s.t. Constraint (14) is to guarantee that the user will be in time. The binary variable is used to indicate whether the path connecting nodes and has been selected or not.
3.4. The Equivalent Crisp Problem
To solve the FINLP problem, it has to be converted into a crisp problem. First, according to (2)~(3), In a similar way, In the literature, Loukil et al.  mentioned five ways used to deal with multiobjective optimization problems: the simultaneous (or Pareto) approach, the utility (or compromise) approach, the goal programming (or satisfying) approach, the hierarchical approach, and the interactive approach . In this study, both the hierarchical approach and the utility approach are applied to handle the 2o-FINLP problem. First, is optimized before , according to the hierarchical approach. Such a treatment is reasonable, because the user will first encounter that decision problem to determine the JIT service location, that is, service location . After determining the JIT service location, the path duration to the JIT service location becomes fixed, and the second objective reduces to the determination of the remaining path from the JIT service location to the destination.
Subsequently, to apply the utility approach to deal with the two objectives, we need to define the utility of a fuzzy objective (or variable). Here, we are of the opinion that the defuzzification result of a fuzzy variable embodies its utility. So, in the proposed methodology, the COG function is applied to defuzzify a fuzzy variable and derive its utility: The first constraint, that is, constraint (14), is converted in the same way: In addition, the possibility that constraint (14) is satisfied can be measured with To ensure that the possibility is 100%, the following constraint has to be satisfied: Further, (15) is equal to So Finally, the 2o-FINLP model can be transformed into a two-step crisp model.
Step 1. s.t. Step 1 model has at most 1 objective function, real variables, binary variables, and constraints. The objective function (25) is to minimize the defuzzified value of the minimum waiting time among the service locations. Constraints (26) are to guarantee that the user will not be late. Equations (27) are used to calculate the fuzzy distance from the start point to each node. Among the paths to a node, only one of them will be chosen, as required by (28). Binary variables are defined in (29).
Step 2. s.t. Step 2 model has at most 1 objective function, real variables, binary variables, and constraints. The objective function (30) is to minimize the defuzzified value of the arrival time at the destination. Equations (31) are used to calculate the fuzzy distance from the start point to each node. Among the paths to a node, only one of them will be chosen, as required by (32). Binary variables are defined in (33).
To determine the fuzzy JIT service location and path, the following procedure is proposed.(1) For service location , calculate its JIT path using the Step 1 model. Assume the optimal objective function value of Step 1 model is .(2) Find the that minimizes . Node () is the JIT service location.(3) Determine the remaining path from service location to the destination using Step 2 model.
3.5. An Experiment
The experimental region is located in the Seatwen District of Taichung City, Taiwan. The area of the experimental region is about 3 square kilometers (see Figure 4). In this figure, there are three possible service locations at different places—nodes 7, 8, and 9 (indicated with red pins). These service locations represent fast food restaurants with drive-in facilities. The abstracted road map is shown in Figure 5. The length of each path is expressed with a triangular fuzzy number. Assume ; . The available times of the three service locations were summarized in Table 2.
As an example, the Step 1 model for finding the fuzzy JIT path to service location 1 (node 7) is illustrated in Box 1. The optimal objective function value is 6.3. Namely, the user only needs to wait 6.3 minutes after he/she reaches service location 1 (node 7). The fuzzy JIT path to this service location is . In the same way, the fuzzy JIT paths to other service locations have been obtained and were summarized in Table 3. Obviously, the fuzzy JIT service location in this experiment is service location 3 (node 9). The corresponding path is .
Subsequently, to determine the remaining path from the fuzzy JIT service location to the destination, Step 2 model is to be solved. For that, the Lingo code is shown in Box 2. The optimal remaining path is , and .
3.6. Global Optimality of the Solution
To solve the 2o-FINLP problem, the existing optimization packages generally use branch-and-bound algorithms to approximate the optimal solution, which cannot guarantee the global optimality of the solution. Chen and Wu  mentioned a forced reoptimization procedure to tackle this problem, which is considered useful to the present study. The concept is to add another constraint to the defuzzified models. For example, for Step 1 model, where is the optimal objective function value of Step 1 model after the -th round of optimization. is the required minimum improvement. The process stops if no improvement can be gained after another round of re-optimization. Similarly, for Step 2 model,
In the previous experiment, we set . After a round of the forced re-optimization, the solutions remain unchanged, which means that the solution is already global optimal.
3.7. Comparison with the Crisp Case
For a comparison, we also examined the crisp case, in which only the core values (i.e., values with membership equal to 1) of fuzzy variables and parameters are considered and their uncertainties are ignored. After optimization, the JIT service location is service location 1 (node 7) with a waiting time of 6. The JIT path and the remaining path are and , respectively. Obviously, the results are quite different from the above analysis considering the uncertainty of variables (see Table 4). If the waiting time after reaching the service location is compared, then the fuzzy model achieves a better performance.
This study created an intelligent LAS for a dynamic environment, in which a user requires a timely service when going to his/her destination. Obviously, there are two objectives to the user—one is to choose the JIT service location; the other is to reach the destination as soon as possible. In order to optimize these two objectives simultaneously, a 2o-FINLP problem was to be solved. Another feature of the proposed methodology is the incorporation of fuzzy variables to consider the uncertainty of dynamic factors. To solve the 2o-FINLP problem, first the two objectives are processed in a hierarchical manner. Subsequently, the utility of either fuzzy objective function value is defined; that serves as the basis for comparing feasible solutions.
The proposed system is a generic framework and can be applied to various service industries, such as the fast food industry. In Taiwan, for example, the scale of the fast food industry has reached NT$ 22 billion until 2011. In this industry, the drive-in facility is universally used to provide real-time services to consumers. However, consumers must still wait in the driveway for the ordering, billing, and preparation of meals. To eliminate the problem of waiting, some meals can be prepared in advance; however, that leads to food preservation problems. The proposed JIT LAS service is expected to solve both of these problems.
The contribution of this study is twofold.(1) It is the first attempt to apply the concept of JIT to LAS.(2) Most existing fuzzy LASs use fuzzy reference rules that have not been optimized. In contrast, this study optimized the selection of service location using fuzzy mathematical programming.
To illustrate the applicability of the proposed methodology, an experiment has been performed. According to the experimental results, (1) the user’s waiting time was indeed reduced by the proposed methodology;(2) after considering the uncertainties of various parameters, the recommendation results indeed became different. Nevertheless, such a treatment reduced the risk of unsuitable recommendation.
However, there are some limitations that need to be acknowledged and addressed regarding the proposed methodology.(1) Although the existing optimization packages can be easily applied to solve the problem of finding the JIT service location, the acquisition cost of the optimization package undoubtedly will increase the budget for establishing the system, which is unfavorable to the promotion of the proposed methodology.(2) In addition, if any existing optimization package is used as the problem solver, an additional interface will need to be developed to convert the data received by the system server to the model file of the optimization package, which may not be easy.(3) In theory, the JIT path problem is equivalent to a restricted longest path problem and may not be solved effectively when the problem scale is large. Fortunately, in real life, the JIT path problem occurs mostly in small areas.(4) In addition, in practical applications, a lot of users may send their requests to the system server simultaneously, which causes a great burden on the system server.
To address these difficulties, an algorithm or heuristic can be developed in future studies to replace the optimization package. There are many algorithms to find the shortest or longest path in a network that can serve as a basis for developing the algorithm/heuristic. Such an algorithm/heuristic can be easily programmed and integrated with the other modules on the system server. However, one drawback of an algorithm/heuristic is that the solution obtained is not always globally optimal. In addition, the concept of JIT can be applied to other fields of LAS or AmI, in order to provide more support to users in a dynamic environment.
This study was financially supported by the National Science Council of Taiwan.
- K. Ducatel, M. Bogdanowicz, F. Scapolo, J. Leijten, and J. C. Burgelman, “Scenarios for ambient intelligence in 2010,” IST Advisory Group Final Report, European Commission, Brussels, Belgium, 2001.
- D. J. Cook, J. C. Augusto, and V. R. Jakkula, “Ambient intelligence: technologies, applications, and opportunities,” Tech. Rep., 2007.
- F. Garzotto and M. Valoriani, “Don't touch the oven: motion-based touchless interaction with household appliances,” in Proceedings of the International Working Conference on Advanced Visual Interfaces, pp. 721–724, 2012.
- A. K. Dey, “Understanding and using context,” Personal and Ubiquitous Computing, vol. 5, no. 1, pp. 20–24, 2001.
- A. Krevl and M. Ciglarič, “A framework for developing distributed location based applications,” in Proceedings of the 20th International Parallel and Distributed Processing Symposium, April 2006.
- M. Allamanis, S. Scellato, and C. Mascolo, “Evolution of a location-based online social network: analysis and models,” in Proceedings of the 2012 ACM Conference on Internet Measurement Conference, pp. 145–158, 2012.
- N. S. Savage, M. Baranski, N. E. Chavez, and T. Höllerer, “I'm feeling LoCo: a location based context aware recommendation system,” Advances in Location-Based Services, pp. 37–54, 2012.
- W. Zhang, J. Wang, and W. Feng, “Combining latent factor model with location features for event-based group recommendation,” in Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 910–918, 2013.
- T. Chen, “A collaborative and artificial intelligence approach for semiconductor cost forecasting,” Computers & Industrial Engineering, vol. 66, no. 2, pp. 476–484, 2013.
- T. Chen, “A flexible way of modelling the long-term cost competitiveness of a semiconductor product,” Robotics & Computer Integrated Manufacturing, vol. 29, no. 3, pp. 31–40, 2013.
- Y. C. Wang, T. Chen, and C. W. Lin, “A slack-diversifying nonlinear fluctuation smoothing rule for job dispatching in a wafer fabrication factory,” Robotics & Computer Integrated Manufacturing, vol. 29, no. 3, pp. 41–47, 2013.
- T. Chen, “Forecasting the yield of a semiconductor product with a collaborative intelligence approach,” Applied Soft Computing Journal, vol. 13, no. 3, pp. 1552–1560, 2013.
- E. Kotsakis and M. Ketselidis, “Modeling personalized and context sensitive behavior for location aware services by employing fuzzy logic,” in Recent Advances in Circuits, Systems and Signal Processing, pp. 244–249, 2002.
- R. M. A. Mateo, M. Lee, S.-C. Joo, and J. Lee, “Location-aware data mining for mobile users based on neuro-fuzzy system,” in Fuzzy Systems and Knowledge Discovery, vol. 4223 of Lecture Notes in Computer Science, pp. 1269–1278, 2006.
- C. Anagnostopoulos and S. Hadjiefthymiades, “Advanced fuzzy inference engines in situation aware computing,” Fuzzy Sets and Systems, vol. 161, no. 4, pp. 498–521, 2010.
- Z. Chen, J. Xia, and B. Irawan, “Development of fuzzy logic forecast models for location-based parking finding services,” Mathematical Problems in Engineering, vol. 2013, Article ID 473471, 6 pages, 2013.
- E. Kaasinen, “User needs for location-aware mobile services,” Pervasive and Ubiquitous Computing, vol. 7, pp. 70–79, 2003.
- T. Chen, “A FNP approach for establishing the optimal and efficient capacity re-allocation plans for enhancing the long-term competitiveness of a semiconductor product,” International Journal of Fuzzy Systems, vol. 12, no. 2, pp. 158–169, 2010.
- T. Chen and Y. C. Wang, “Enhancing the long-term yield competitiveness of a semiconductor manufacturing factory using a multi-objective fuzzy nonlinear programming approach,” Mathematical Problems in Engineering, vol. 2013, Article ID 784237, 11 pages, 2013.
- T. Chen, “A FNP approach for evaluating and enhancing the long-term competitiveness of a semiconductor fabrication factory through yield learning modeling,” International Journal of Advanced Manufacturing Technology, vol. 40, no. 9-10, pp. 993–1003, 2009.
- H. J. Zimmermann, Fuzzy Set Theory and Its Applications, Kluwer Academic Publishers, Dordrecht, The Netherlands, 1991.
- G. J. Klir and B. Yuan, Fuzzy Sets and Fuzzy Logic, Pearson Education Taiwan Ltd., Taipei, Taiwan, 2006.
- T. Chen, “A fuzzy mid-term single-fab production planning model,” Journal of Intelligent Manufacturing, vol. 14, no. 3-4, pp. 273–285, 2003.
- L. A. Zadeh, “Fuzzy sets as a basis for a theory of possibility,” Fuzzy Sets and Systems, vol. 1, no. 1, pp. 3–28, 1978.
- T. Loukil, J. Teghem, and D. Tuyttens, “Solving multi-objective production scheduling problems using metaheuristics,” European Journal of Operational Research, vol. 161, no. 1, pp. 42–61, 2005.
- T. Chen and Y. C. Wang, “A fuzzy rule for improving the performance of multi-objective job dispatching in a wafer fabrication factory,” Journal of Applied Mathematics, vol. 2013, Article ID 986172, 18 pages, 2013.
- T. Chen and H. C. Wu, “Finding the just-in-time service location and path in a ubiquitous service network,” International Journal of Internet Manufacturing and Services. In press.
Copyright © 2013 Yu-Cheng Lin and Toly Chen. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.