Recipe recommendation method, computer program implementing recipe recommendation method and recipe recommendation device
The recipe recommendation method uses dynamic programming to optimize nutrient intake and minimize loss, addressing economic and food waste issues while adapting to ingredient changes, ensuring balanced and cost-effective meal planning for multiple individuals.
Patent Information
- Application Number
- JP2024049088
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-26
- Publication Date
- 2024-10-11
AI Technical Summary
Existing recipe recommendation systems fail to consider economic perspectives such as ingredient cost and food loss, and do not adapt quickly to changes in ingredient status, leading to high purchasing costs and potential food waste.
A recipe recommendation method using dynamic programming to maximize profit or minimize loss by optimizing nutrient intake, ingredient usage, and food waste, considering multiple people and adjusting to ingredient changes.
The method effectively recommends recipes that balance health, cost, and food waste, adapting to ingredient changes and optimizing nutrient intake for multiple individuals.
Smart Images

Figure 2024144305000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a recipe recommendation method that recommends recipes taking into consideration ingredients possessed by a user, a computer program used in the recipe recommendation method, and a recipe recommendation device. [Background technology]
[0002] There have been many studies on the recommendation of cooking recipes (hereafter referred to as "recipe") from a health care perspective. For example, many recipes that take health into consideration are introduced on recipe sites on the Internet. In the field of mathematical engineering, there has been much research into recipe recommendations based on a healthcare perspective. Karimae et al. (Non-Patent Document 1) recommend a nutritionally balanced menu (a combination of multiple recipes), while Mino et al. (Non-Patent Document 2) consider recipe recommendations that also take into account calorie consumption in daily schedules. Hanai et al. (Non-Patent Document 3) and Maeda (Non-Patent Document 4) consider the generation of healthier recipes than the original recipe by substituting other ingredients for ingredients in the recipe. However, these conventional studies only consider the healthcare perspective and do not consider the purchase of ingredients or the effective use of surplus ingredients. As a result, there is a possibility that the cost of purchasing ingredients for recommended recipes will be high and a lot of food loss (food waste) will occur.
[0003] Some previous research has taken into account the purchasing of ingredients and the effective use of surplus ingredients in addition to a health care perspective. Hayashi et al. (Non-Patent Document 5) recommends menus based on a daily ingredient purchasing cost limit. Zheng et al. (Non-Patent Document 6) recommends recipes that make effective use of surplus ingredients. However, as Hayashi et al. and Zheng et al. do not take into account the expiration date of the ingredients, it is difficult to apply them when there are surplus ingredients with only a short time left until the expiration date. Furthermore, optimization in terms of nutrition and food waste has not been examined.
[0004] Regarding recipe recommendations from the perspective of food waste, Kihara et al. (Non-Patent Document 7), Maeda (Non-Patent Document 8), Maeda (Non-Patent Document 9), and Maeda (Non-Patent Document 10) consider recipe recommendations that utilize surplus ingredients while taking into account expiration dates. Maeda (Non-Patent Document 9) and Maeda (Non-Patent Document 10) consider products with the same ingredients but different weights and prices, and consider recipe recommendations and ingredient purchasing methods to minimize the total of food waste and ingredient purchasing costs, minimize food waste under ingredient purchasing limits, and minimize purchasing costs with minimum food waste. However, Kihara et al. and Maeda (Non-Patent Documents 8-10) do not consider healthcare. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] S. Karikome and A. Fujii: “A Retrieval System for Cooking Recipes Considering Nutritional Intake Balance”, IEICE Transaction on Information and Systems, Vol.J92-D, No.7, pp.975-983 (2009) (in Japanese) [Non-Patent Document 2] Y. MINO and I. KOBAYASHI: “Flexible Recommendation of Cooking Recipes for a Diet”, Journal of Japan Society for Fuzzy Theory and Intelligent Informatics, Vol.24, No.1, pp.616-626 (2012) (in Japanese) [Non-Patent Document 3] Shunsuke Hanai, Hidetsugu Namba, and Akiyo Nadamoto: "Methods for discovering alternative ingredients with health in mind", DEIM2015, G6-6 (2015) [Non-Patent Document 4] Y. Maeda: “A Note on Supporting Method for Making Recipes with Control of Nutritional Elements”, IEEJ Trans.EIS, Vol.131, No.9, pp.1654-1655 (2011) (in Japanese) [Non-Patent Document 5] Y. Hayashi, R. Oku, H. Takenouchi and M. Tokumaru: “Consideration of Ingredient Purchases Using the Healthy Eating Habits Support System”, 31st Fuzzy System Symposium, TE1-3 (2015) (in Japanese) [Non-Patent Document 6] M. Zheng, E. Inoue and M. Nakagawa: “Recommending Cooking Recipes Considering the Amount of Ingredients”, DEIM2011, E3-4 (2011) (inJapanese) [Non-Patent Document 7] H. Kihara, M. Ueda and S. Nakajima: “Proposal of recipe recommendation method for using up surplus ingredients”, DEIM2011, E3-3 (2011) (inJapanese) [Non-Patent Document 8] Y. Maeda: “A Note on Recommendation Method for Recipes Considering Expiration Date”, IEICE Transaction on Information and Systems, Vol.J103-D, No.11, pp.849-852 (2020) (in Japanese) [Non-Patent Document 9] Y. Maeda: “Recommendation of Recipes and Additional Purchase of Ingredients Considering Expiration Date”, Journal of Biomedical Fuzzy Systems Association, Vol.23, No.1, pp.9-16 (2021) (in Japanese) [Non-Patent Document 10] Y. Maeda: “Minimizing Food Loss under the Limit on Cost of Purchasing Additional Ingredients”, IEEJ Trans.EIS, Vol.142, No.8, pp.877-883 (2022) (in Japanese) Summary of the Invention [Problem to be solved by the invention]
[0006] Even when recommending recipes from a healthcare perspective, if we assume that the recommendations will be applied to actual eating habits, it is necessary to take into account economic aspects such as the cost of purchasing ingredients and food waste, and it is preferable to recommend recipes taking all of these into consideration. Alternatively, when the ingredients available to a user change, it is desirable to quickly recommend recipes that correspond to the new ingredients. [Means for solving the problem]
[0007] In order to solve the above problems, the present disclosure has the following configuration. [1] The present disclosure relates to a recipe recommendation method that uses dynamic programming to maximize profit or minimize loss of a recommended recipe when recommending recipes T times (1≦t≦T, where T is an integer greater than or equal to 2, and t is an integer), wherein the maximization of profit or minimization of loss is maximization of a score defined from a healthcare perspective or minimization of loss defined from a healthcare perspective, and the score or loss is determined based on whether or not the recommended intake of nutrients contained in the recipe is met.
[0008] The present disclosure relates to a recipe recommendation method that uses dynamic programming to maximize the profit or minimize the loss of a recommended recipe when recommending recipes T times (1≦t≦T, where T is an integer equal to or greater than 2, and t is an integer), where the maximization of profit or minimization of loss is the maximization of a score defined from a healthcare perspective or the minimization of a loss defined from a healthcare perspective, and the score or loss is determined based on whether or not the recommended intake amount of nutrients contained in the recipe is met. Therefore, the method processes the recipe from the Tth recipe recommendation back to the first recommendation, and the maximum total score from the t+1th recommendation onwards can be used recursively. This look-ahead makes it possible to realize planned recipe recommendation that maximizes the score or minimizes the loss of a recommended recipe from a healthcare perspective.
[0009] [2] The present disclosure relates to a method for determining whether the score is a number of nutrients contained in the recipe that are within the range of the upper and lower limits of the recommended intake amount of the nutrients, and the maximization of the score is a maximization of the score over the T rounds or a maximization of the score for each round, If the loss meets the recommended intake amount for the nutrient contained in the recipe, it is set to 0, and if it does not meet the recommended intake amount, it is set to a percentage of the difference from the standard (upper or lower limit) of the recommended intake amount, and this is a method for recommending a recipe in which the minimization of loss is the minimization of loss over all T times or the minimization of loss in each time.
[0010] The present disclosure is that the score is the number of nutrients contained in the recipe that are within the range of the upper and lower limits of the recommended intake amount, and the maximization of the score is the maximization of the score over the entire T times or the maximization of the score for each time, If the loss meets the recommended intake amount for the nutrients contained in the recipe, it is set to 0; if it does not meet the recommended intake amount, it is set to the percentage of the difference from the standard (upper or lower limit) of the recommended intake amount.Since this recipe recommendation method involves minimizing the loss over the entire T times or minimizing the loss in each time, it is possible to focus on the nutrients contained in the ingredients and recommend the best recipe from the perspective of the nutrients to be ingested.
[0011] [3] The present disclosure provides a method for recommending a recipe, wherein the recipe is intended for multiple people, and the score or loss is a weighting set for each of the multiple people to whom the recipe is intended.
[0012] The present disclosure relates to a method of recommending recipes in which the recipes are intended for multiple people and the score or loss is weighted for each of the multiple people to whom the recipe is to be provided. Therefore, in the case of a family with multiple people, recipes can be provided taking into consideration family members, such as who eats more than others.
[0013] [4] The present disclosure may further provide a method for recommending recipes in which weights of the nutrients are set for each of the plurality of people.
[0014] The present disclosure further provides a recipe recommendation method in which weightings of the nutrients are set for each of the multiple persons, so that since appropriate nutrient intakes vary depending on the gender and age group of family members, recipes can be provided that take such circumstances into consideration.
[0015] [5] The present disclosure may be a method for recommending a recipe as described in claim 4, in which information about ingredients is obtained through an electronic receipt. The present disclosure provides a recipe recommendation method as described in claim 4 in which information regarding the ingredients is obtained through an electronic receipt, so that information regarding purchased ingredients can be received as electronic information from the issuer of the electronic receipt, eliminating the need for the user to input information regarding purchased ingredients one by one.
[0016] [6] The present disclosure may be a computer program product that executes any of the recipe recommendation methods described above. Since the present disclosure is embodied as a computer program for executing any one of the recipe recommendation methods, any one of the recipe recommendation methods can be executed on a computer.
[0017] [7] The present disclosure may be a recipe recommendation device that has a control means, a storage means, and a communication means, and executes any of the recipe recommendation methods described above. The present disclosure provides a recipe recommendation device that has a control means, a storage means, and a communication means and executes any one of the recipe recommendation methods described above, and therefore the recipe recommendation method can be executed by this recipe recommendation device.
[0018] The present disclosure relates to the dynamic programming method, When changing from t times to t+1 times, follow steps 1 to 6. Step 1: Subtract the number of days remaining until the expiration date of the food ingredient from the tth time to the t+1th time. Step 2: subtract the weight of the ingredient used in the recipe recommended in the tth time from the weight of the ingredient, and add the weight of any additional ingredient recommended in the tth time, if any; Step 3: Calculate the weight of food ingredients to be discarded when the remaining days until the expiration date becomes 0 after the tth recipe recommendation, and subtract it from the allowable weight; Step 4: From the budget, subtract the cost of any additional ingredients recommended in the tth time. Step 5: Updating the remaining allowable weight of the food ingredient up to the weight at which the food ingredient can be discarded; Step 6: Add the recipe recommended in the tth recipe recommendation to the recipe history information. This method of recommending recipes can be used to recommend recipes that perform the above. By using this method of recommending recipes, the process can be performed by going back from the Tth recipe recommendation and the additional purchase amount of ingredients to the first recommendation, and the maximum score or minimum loss from the t+1th recommendation onwards can be used recursively. This look-ahead method makes it possible to realize planned recipe recommendations and suggestions for additional purchase amounts of ingredients that maximize the score of the recommended recipe or minimize loss from a healthcare perspective.
[0019] The present disclosure can be a recipe recommendation method that executes the dynamic programming method to recommend T recipes and recommend additional ingredients to be purchased within T times, based on setting conditions such as the weight of surplus ingredients, a budget for additional purchased ingredients, and the acceptable weight when discarding the surplus ingredients or purchased ingredients, and using the number of days remaining until the expiration date of the surplus ingredients or purchased ingredients, and data on the nutrients and their contents contained in the surplus ingredients, the purchased ingredients, and the recipes that are candidates for recommendation, and can recommend the best recipe under these assumptions.
[0020] TIFF2024144305000002.tif50166
[0021] TIFF2024144305000003.tif148166
[0022] TIFF2024144305000004.tif68166
[0023] TIFF2024144305000005.tif69166
[0024] The present disclosure can be a recipe recommendation method in which, after the t-th recipe recommendation, new ingredient information is added, such as ingredients that exceed the additional purchase amount of ingredients recommended at the t-th recipe recommendation or ingredients other than the recommended ingredients, and a new dynamic programming is performed to recommend a recipe.If new ingredient information that was not originally planned is added, a new recipe and additional ingredient purchase amounts that take that ingredient information into consideration can be proposed.
[0025] The present disclosure can be a recipe recommendation method that does not recommend the remaining number of recipes if, after the tth recipe recommendation, information is not received that an additional amount of an ingredient recommended at the time of the tth recipe recommendation has been purchased, thereby eliminating the waste of receiving the remaining number of recipe recommendations that would have been proposed under the initial conditions. Effect of the Invention
[0026] According to the recipe recommendation method, the computer program for executing the recipe recommendation method, and the recipe recommendation device disclosed herein, it is possible to recommend recipes that take into consideration economic aspects such as the cost of purchasing ingredients, food waste, and healthcare aspects. According to the recipe recommendation method, the computer program for executing the recipe recommendation method, and the recipe recommendation device disclosed herein, when the availability of ingredients in the user's possession changes, a recipe that corresponds to the changed ingredients can be quickly recommended. [Brief description of the drawings]
[0027] [Figure 1] FIG. 1 is a block diagram of a recipe providing system. [Diagram 2] FIG. 1 is a block diagram of a recipe recommendation device. [Diagram 3] FIG. 1 is an explanatory diagram for explaining processing of a dynamic programming algorithm. [Figure 4] 1 is a flowchart illustrating the process of a dynamic programming algorithm. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028] The recipe recommendation method of the present disclosure will be described based on the embodiment. Note that in the following description, even if the embodiment is different, if there are overlapping parts regarding the same operation method, various conditions, actions, effects, etc., the description thereof will be omitted.
[0029] [System configuration of recipe recommendation system] An embodiment of a recipe providing system 1 (hereinafter also referred to as "the system") that executes the recipe recommendation method according to the present disclosure is shown in the block diagram of Figure 1. The recipe providing system 1 is a system including a recipe recommendation device 10, a user terminal 20, and a network 50 that connects them so that they can communicate with each other.
[0030] The user terminal 20 is a mobile information terminal such as a smartphone, tablet, or PDA used by a user, a wearable computer, or a personal computer. The hardware constituting the user terminal 20 has a processor such as a CPU that performs various calculations and serves as a control means, and has a communication interface as a communication means for transmitting the recorded data to the recipe recommendation device 10, such as a ROM that records data such as information recorded on electronic receipts that can be issued at online supermarkets or supermarkets with physical stores, a RAM used to execute the programs, and a HDD that serves as an auxiliary storage means for recording large amounts of data. In addition, the user terminal 20 has a display unit that displays various data and images received from the recipe recommendation device 10, and an input unit for performing user operations such as keys, a touch sensor, and a scanner.
[0031] When the user inputs the ingredients, their prices, quantities, etc. shown on the paper receipt through the input unit, the data can be transmitted to the recipe recommendation device 10, which will be described later, through the communication means. Alternatively, when the user inputs data such as an image of the inside of the refrigerator through the input unit, the data can be transmitted to an external server, which will be described later, through the communication means, and the data converted into the names of ingredients, etc. can be received from the external server through the communication means and recorded in the storage means.
[0032] 2 shows a block diagram showing the system configuration of the recipe recommendation device 10. The recipe recommendation device 10 is a main management server device of the recipe providing system 1, and has a control means 11, a main memory means 12, an auxiliary memory means 13, a communication means 14, and other means 15. The main memory means 12 and the auxiliary memory means 13 are collectively referred to as a memory means. The control means 11 is a calculation unit that performs various calculations, and is a processor such as a CPU or GPU. The main memory means 12 is a storage unit that records programs and data, and is composed of a ROM, RAM, etc. The auxiliary memory means 13 is a storage unit that records large amounts of data, and is a device such as an HDD, SSD, or flash memory. The communication means 14 is a communication unit that performs data communication with the user terminal 20 or with other computers via the network 50, and can be executed using a network card, a wireless communication module, etc. In addition to these configurations, it has other means 15 including a display means, an input means, etc.
[0033] In addition to the above, the recipe provision system 1 may also have store servers used by online supermarkets and supermarkets with physical stores, receipt servers used by electronic receipt providers, external servers capable of managing and recording various information and data such as user-related information and recipe information, and various other servers, and these servers are also configured to be able to send and receive information and data via the network 50.
[0034] [Functions of recipe recommendation device] Next, we will explain the functions of the recipe recommendation device 10. Note that the following functions are realized by a control means such as a CPU of the recipe recommendation device 10 executing a program.
[0035] Storage: The storage unit is a part for recording various information and data, and can be provided in storage means such as the main storage means 12 and the auxiliary storage means 13. Alternatively, the information and data may be recorded in a storage device (not shown) managed by an external server separate from the recipe recommendation device 10.
[0036] Recipe Database (Recipe DB): Recipe database 16 is a database that records recipes recommended to users. Information included in each recipe includes the name of the recipe, such as salmon stewed in tomato sauce or beef thigh stewed in beef sukiyaki, the names of ingredients used in the recipe, such as onion and tomato, and the numbers of the ingredients in the recipe, the amount (g) of the ingredients used in the recipe, the nutrients contained in the recipe and their contents, a score from a health care perspective, and other information necessary to prepare the dish provided as a recipe. In addition to the ingredients such as meat, fish, or vegetables, seasonings may also be included.
[0037] Nutrient Database (Nutrient DB): Nutrient database 17 is a database that records information and data about nutrients contained in food ingredients. Information about nutrients includes the name (type) of the nutrient, for example, vitamin A, calcium, phosphorus, etc., and energy (calories) can also be included in the name of the nutrient. Information about nutrients also includes the upper limit of the nutrient that a person may ingest in a day, the lower limit of the nutrient that a person must ingest in a day, etc.
[0038] Food Database (Food DB): Ingredient database 18 is a database that records information about various ingredients. Information about various ingredients includes the name of the ingredient, such as onion or tomato, and the amount of the ingredient (g). The purchase amount of an ingredient that is not used at all after purchase, or the amount that remains when some of the ingredient is used after purchase, can also be referred to as the surplus amount. Further information about ingredients can include the number of days (days) remaining until the ingredient's expiration date (here, the last day of the expiration date is counted as day 1, and when day 0 is reached, the ingredient has passed the expiration date and cannot be consumed), the nutrients contained in the ingredient and their content, other information necessary for ingredients used in recipes, etc. The food ingredient information may also include information about the food ingredient, such as the place of origin of the food ingredient, the time of arrival of the food ingredient, etc. This information may also include information stored as image information.
[0039] Food product database (Food product DB): The food product database 19 is a database that contains information on the quantity (g), price, number of days remaining until the expiration date of food products (here, a food product is defined as a group of the same food ingredients that have different weights or prices at the time of purchase), and other products if the food ingredients are considered to be some kind of grouped product.
[0040] User Database (User DB): The user database 20 is a database that records information about a user who receives recipe recommendations. The user database 20 is a database that records information that identifies the user, such as the user's name, age, address, sex, and user number, as well as history information about products purchased by the user, such as information about ingredients acquired by the user, such as information on electronic receipts and information obtained by photographing paper receipts and then converting them into text data, ingredient information processed from an image of the inside of the user's refrigerator, and ingredient weight information obtained from a weighing means installed in the refrigerator. In addition to these, the amount of the budget for additional purchase of ingredients desired by the user, such as the limit on the amount of additional purchase of ingredients that must be purchased in order to receive T recipe recommendations in T days and create those recipes, and the waste limit amount of ingredients that can be discarded, such as the remaining amount (g) of ingredients that can be allowed to remain after receiving T recipe recommendations in T days and creating those recipes, or the waste limit amount in the case where those ingredients are discarded. In addition, the database also includes various information desired by the user, such as recipe recommendation history information, i.e., the names and number of times of recipes that have been recommended so far.
[0041] Other databases (Other DB): The other database 21 is a database that records various data generated during the calculation process, temporarily stored data, and other information and data other than the information and data recorded in the various databases 16, 17, 18, 19, and 20 mentioned above.
[0042] External information database (External Information DB): The external information database 22 is a database that records information and data obtained by sending and receiving information and data other than from the user terminal 30, such as information and data sent from store servers of online supermarkets or supermarkets with physical stores, and information and data sent from receipt servers used by electronic receipt companies.
[0043] [How to recommend recipes] Next, a method for recommending recipes will be described together with the operation of the recipe recommendation device 10. In response to a request for a recipe recommendation from a user, the recipe recommendation device 10 recommends an appropriate recipe. Note that in the specification and claims, "recommending a recipe" is synonymous with providing a recipe.
[0044] Get the data: The control means 11 functioning as a data acquisition unit 22 acquires from the recipe DB 16, nutrient DB 17, ingredient DB 18, ingredient product DB 19, etc., initial data relating to the initial amount of surplus ingredients before the recipe is recommended, the number of days remaining until the expiration date, the number of recommendations, the limit on additional ingredient purchases, and the maximum amount of ingredients that may be discarded, as well as recipe information, nutrient information, ingredient information, and ingredient product information that are information necessary for recipe recommendation related to the initial data.
[0045] Information regarding newly purchased ingredients by the user can be input by the user from the user terminal 30 and recorded in the storage means 12, 13, and information from the electronic receipt can be imported into the recipe recommendation device 10 in cooperation with the receipt server of an electronic receipt provider, or data can be imported into the recipe recommendation device 10 in cooperation with an ingredient detection system in the user's refrigerator.
[0046] Healthcare score calculation: The health care perspective is to consider the nutritional value of the ingredients used in the recipe, and the score from the health care perspective is calculated based on the ingredients and nutrients contained in the recipe. There are two methods for calculating this score: one is to evaluate the recipe based on the food group evaluation and the other is to calculate the nutrient content of all the ingredients in the recipe and evaluate the recipe based on the recommended intake for each nutrient. In the following, the nutrient evaluation is used. More specifically, for each nutrient contained in the recipe, whether it is within the lower and upper limits of the recommended intake is considered, and the number of nutrients within that range is used as the score. For example, recipe A contains vitamin A, vitamin B, protein, lipid, etc. as nutrients, and while vitamin A and vitamin B are within the recommended intake range, protein is less than the recommended intake range and deviates from it, lipids are more than the recommended intake range and deviates from it, and other nutrients are also outside the recommended intake range. In this case, the nutrients contained in recipe A that are within the recommended intake range are vitamin A and vitamin B, so the score for recipe A was calculated as 2. The control means 11, functioning as the score calculation unit 24, calculates a score for each recipe based on the ingredient information of the recipe. Note that it is possible to calculate a score for each recipe in advance and record the recipe name and score at the same time.
[0047] Calculating losses from a healthcare perspective: In addition to the above scores, we define losses using the ratio of deficiency / excess of each nutrient content compared to the standard intake amount, and propose ways to minimize losses from a healthcare perspective. More specifically, we propose recipes that minimize each loss by defining two patterns of loss: loss evaluated for one recipe recommendation and loss evaluated over the entire period (T times), based on evaluation based on the ratio of deviation from the standard intake amount of each nutrient. The control means 11, which functions as the score calculation unit 24, calculates the loss for each recipe based on the ingredient information of the recipe. Note that the loss can be calculated in advance for each recipe and the recipe name and loss can be recorded at the same time.
[0048] Recommended recipes and additional ingredient purchase suggestions: Within the limits of the maximum amount of additional purchases of ingredients and the maximum amount of ingredients to be discarded, dynamic programming is used to plan T recipe recommendations (1≦t≦T, where T is an integer equal to or greater than 2, t is an integer) at time intervals, and after the tth recipe recommendation, a process is carried out in which a certain state before the recommendation is updated and changed to the state for the t+1th time, and a recipe and additional purchase amount of ingredients that maximizes the score for the final recipe recommendation up to the Tth recipe recommendation are derived. Alternatively, a recipe and additional purchase amount of ingredients that minimizes the loss for the final recipe recommendation up to the Tth recipe recommendation are derived.
[0049] Here, the above-mentioned state is defined as the elements consisting of the number of days remaining until the expiration date of the ingredients, the surplus amount of ingredients, the remaining budget for the limit on additional purchases of ingredients, the remaining allowable amount for the limit on the amount of ingredients to be discarded, and the history information of the recommended recipe.Then, by carrying out the processes in steps 1 to 6 below, the state at the time of the tth recipe recommendation is changed to the state at the time of the t+1th recipe recommendation.
[0050] Step 1: Subtract the number of days that have elapsed from the tth recipe recommendation to the t+1th recipe recommendation from the number of remaining days until the expiration date of the ingredients. Step 2: From the surplus amount of ingredients, subtract the amount of ingredients used in the tth recommended recipe and add the additional purchase amount of the recommended ingredients, if any. Step 3: Calculate the amount of food to be wasted when the number of days remaining until the expiration date becomes 0 after the t-th recipe recommendation, and subtract this amount from the surplus amount. Step 4: Regarding the remaining budget for the limit on additional food ingredient purchases, if an additional purchase is required for the t-th recipe recommendation, the cost is deducted. Step 5: Subtract the calculated waste amount of food ingredients from the remaining allowable amount relative to the waste limit amount of food ingredients. Step 6: Add the recipe recommended in the t-th recipe recommendation to the history information of the recommended recipes.
[0051] TIFF2024144305000006.tif80166
[0052] TIFF2024144305000007.tif61166
[0053] First embodiment: In one embodiment of recipe recommendation, the system predetermines the maximum amount of additional ingredients to be purchased in order to receive a recipe recommendation and the maximum amount of ingredients to be discarded after receiving all recipe recommendations, based on the ingredients owned by the user, and provides recipes and the amount of additional ingredients to be purchased as output for T days, one recipe per day, under those conditions.The recommended recipe is the one with the highest score from a health care perspective. <Definition / Preparation> First, symbols used in this embodiment will be defined.
[0054] TIFF2024144305000008.tif49166
[0055] TIFF2024144305000009.tif69166
[0056] TIFF2024144305000010.tif70166
[0057] TIFF2024144305000011.tif50166
[0058] TIFF2024144305000012.tif57166
[0059] TIFF2024144305000013.tif37166
[0060] TIFF2024144305000014.tif74166
[0061] TIFF2024144305000015.tif57166
[0062] TIFF2024144305000016.tif49166
[0063] TIFF2024144305000017.tif76166
[0064] TIFF2024144305000018.tif26166
[0065] TIFF2024144305000019.tif38166
[0066] TIFF2024144305000020.tif43166
[0067] TIFF2024144305000021.tif49166
[0068] TIFF2024144305000022.tif43166
[0069] TIFF2024144305000023.tif82166
[0070] TIFF2024144305000024.tif91166
[0071] TIFF2024144305000025.tif113166
[0072] TIFF2024144305000026.tif77166
[0073] TIFF2024144305000027.tif47166
[0074] TIFF2024144305000028.tif46166
[0075] Table 6 shows the amount of ingredients (grams, 4 servings) used in each recipe. Here, we consider 4 servings. In this example, seasonings etc. are omitted. i Nutrients in 1 gram of j Content of gi (i,j) are shown in Tables 7 and 8(16). Food product (weight, price, number of days remaining until expiration date) is shown in Table 9. Food product prices were based on the Ministry of Agriculture, Forestry and Fisheries' Food Price Trend Survey and prices from online supermarkets. Initial surplus food products (surplus amount, number of days remaining until expiration date) are shown in Table 10. The initial surplus amount of food products not listed in Table 10 is 0. The number of times (number of days) the recipe is recommended is T = 4 times, and one recipe for a main dish for dinner once a day and the purchase of food products for that day are recommended (calculated).
[0076] TIFF2024144305000029.tif110166
[0077] TIFF2024144305000030.tif122166
[0078] TIFF2024144305000031.tif120166
[0079] TIFF2024144305000032.tif235166
[0080] TIFF2024144305000033.tif40166
[0081] TIFF2024144305000034.tif87166
[0082] TIFF2024144305000035.tif138166
[0083] TIFF2024144305000036.tif43166
[0084] TIFF2024144305000037.tif43166
[0085] TIFF2024144305000038.tif130166
[0086] TIFF2024144305000039.tif43166
[0087] Also, the food waste of 100 grams in Table 13 is less than the 200 grams in Table 11. However, the additional purchase cost of 3,572 yen in Table 13 is 50 yen higher than in Table 11. Tables 11 and 13 have the same four recommended recipes, but the order is different. Due to the difference in order, Table 11 discards 200 grams of cabbage, while Table 13 discards 100 grams of cucumber. The initial surplus food ingredient of 200 grams of cabbage is 40 grams short of the amount required for r8 Stir-fried chicken thighs without skin, so even in Table 13, where no cabbage is discarded, additional cabbage is purchased. Therefore, the additional purchase cost of Table 13 is higher than that of Table 11, due to the 50 yen for 100 grams of cucumber.
[0088] TIFF2024144305000040.tif136166
[0089] In this way, by changing the limits L1 and L2 for additional purchases and food waste, it is possible to improve additional purchase costs and food waste under the same maximum score. However, the appropriate degree of change for each limit is unclear. The above algorithm only maximizes the score, but when considering the economic perspective and food waste perspective of the household, smaller purchase costs and food waste are preferable, even within the limits.
[0090] <Algorithm of Improvement Proposal Method 1 of the First Embodiment (Algorithm 1-2)> We considered improvements to the basic proposed method of the first embodiment. We determined the method of minimizing the additional purchase cost under the maximum score of the basic proposed method and further minimizing food waste under the minimum additional purchase cost as the improved proposed method 1.
[0091] TIFF2024144305000041.tif69166
[0092] TIFF2024144305000042.tif56166
[0093] <Example 2 (Application example of algorithm 1-2)> An application example using the algorithm of the improvement proposal method 1 of the first embodiment will be shown below. Table 14 shows the results of the improved proposed method 1 for the same settings as Table 11 for the basic proposed method (Tables 1 to 10, number of times T = 4, additional purchase limit L1 = 5,000 yen, food waste limit L2 = 1,000 yen per gram).
[0094] TIFF2024144305000043.tif132166
[0095] Table 14 shows the same results as Table 12 for the basic proposed method. In the basic proposed method, the additional purchase cost was reduced to 3162 yen by changing the additional purchase limit L1 from 5000 yen to 3200 yen. On the other hand, in the improved proposed method 1, the optimal solution was calculated for an additional purchase cost of 3162 yen under the additional purchase limit of 5000 yen by minimizing the additional purchase cost under the maximum score using equation (14).
[0096] <Algorithm of Improvement Proposal Method 2 in the First Embodiment (Algorithm 1-3)> An improvement to the basic proposed method was considered separately from the improved proposed method 1. The method of minimizing food waste under the maximum score of the basic proposed method and further minimizing additional purchase costs under the minimum food waste was defined as the improved proposed method 2 of the first embodiment. In other words, improvement proposal method 2 is an improvement method in which the priorities of additional purchasing costs and food waste are reversed from those in improvement proposal method 1.
[0097] TIFF2024144305000044.tif61166
[0098] TIFF2024144305000045.tif56166
[0099] <Example 3 (Application of Algorithm 1-3)> An application example using the algorithm of the improvement proposal method 2 in the first embodiment will be shown below. Table 15 shows the results of the improved proposed method 2 for the same settings as Table 11 for the basic proposed method (Tables 1 to 10, number of times T = 4, additional purchase limit L1 = 5,000 yen, food waste limit L2 = 1,000 grams).
[0100] TIFF2024144305000046.tif131166
[0101] The food loss in Table 15 is 100 grams, the same as in Table 13 for the basic proposed method. In the basic proposed method, food loss was reduced to 100 grams by changing the food loss limit L2 from 1000 grams to 100 grams. On the other hand, the improved proposed method 2 calculated an optimal solution of 100 grams of food loss under a food loss limit of 1000 grams by minimizing food loss under the maximum score using equation (16). In addition, the additional purchase cost for the basic proposed method is 3572 yen, while that for the improved proposed method 2 is 3212 yen. This is because the additional purchase cost is further minimized under the minimum food loss under the maximum score using equation (17). In addition, the combinations of recommended recipes in Table 14 of improvement proposal method 1 and Table 15 of improvement proposal method 2 are the same but in different orders, and the ingredients to be discarded and the ingredients to be additionally purchased are also different. This difference is due to the difference in the priorities of additional purchase costs and food waste in the two methods.
[0102] <Comparison between the method proposed in the first embodiment and empirical rules> Improvement proposal method 1 or improvement proposal method 2 was compared with a simple rule of thumb. It is self-evident that the optimal solution of the proposed method of the first embodiment for solving the optimization problem is superior to the solution of the rule of thumb in any aspect (score / additional purchase cost / food waste) due to the nature of the optimization problem, but the proposed method of the first embodiment was compared with the rule of thumb to specifically confirm the difference.
[0103] Rule of thumb 1: Do not recommend duplicate recipes, and recommend recipes with higher scores. For ingredients that are in short supply, purchase the product with the lowest additional purchase cost for the day. If the scores are the same, recommend the recipe with the lowest additional purchase cost for the day. Rule of thumb 2: Recommend recipes with the highest priority on consuming surplus ingredients with one day left until the expiration date. Others are the same as rule of thumb 1. However, if there are multiple surplus ingredients with one day left, recommend the recipe with the smallest amount of waste on that day. If the amount of waste on that day is the same, recommend the recipe with the smallest additional purchase cost on that day. Rule of thumb 3: Do not recommend duplicate recipes, and recommend the recipe with the lowest additional purchase cost on the day. Rule of thumb 4: Recommend recipes with the highest priority on consuming surplus ingredients with one day left until the expiration date. Others are the same as rule of thumb 3. However, if there are multiple surplus ingredients with one day left, recommend the recipe with the smallest amount of waste on that day. If the amount of waste on that day is the same, recommend the recipe with the smallest additional purchase cost on that day. Rule of thumb 5: The additional purchase limit on the day is 2,000 yen, and everything else is the same as rule of thumb 1. Rule of thumb 6: The additional purchase limit on the day is 2,000 yen, and everything else is the same as rule of thumb 2.
[0104] Table 16 shows the recipe scores, food waste, and additional purchase costs from the comparison results between the proposed method of the first embodiment and empirical rules. The common settings are Tables 1 to 10, and the number of times T=4. IP1_5000 is a re-listing of Table 14 of improvement proposal method 1 (additional purchase limit 5000 yen, food waste limit 1000 grams), and IP2_5000 is a re-listing of Table 15 of improvement proposal method 2 (additional purchase limit 5000 yen, food waste limit 1000 grams). IP1_6000 and IP2_6000 are the cases where the additional purchase limit is 6000 yen for improvement proposal method 1 and improvement proposal method 2. EM1 to EM6 are empirical rules 1 to 6.
[0105] TIFF2024144305000047.tif92166
[0106] First, we confirm the results of empirical rule 3 (EM3), which only aims to minimize the additional purchasing cost on the day, and empirical rule 4 (EM4), which adds a priority rule when there is only 1 day left until the expiration date to empirical rule 3. Since there is no healthcare perspective, the recipe score is clearly lower than the other empirical rules and the proposed method. In addition, a comparison of empirical rules 3 and 4 shows that empirical rule 3 has lower additional purchasing costs and empirical rule 4 has less food waste, depending on whether or not there is a priority rule when there is only 1 day left until the expiration date.
[0107] Next, we confirm the results of empirical rule 1 (EM1), which prioritizes the health care perspective and aims only to maximize the score, and empirical rule 2 (EM2), which adds a priority rule for when the number of remaining days is 1 to empirical rule 1. Both empirical rules 1 and 2 have a score of 34, which is higher than the application examples of improvement proposal method 1 or improvement proposal method 2. Specifically, by recommending recipe r7 Tomato sukiyaki with egg (beef fillet), which has a score of 10, a total score of 34 is achieved. Compared to the additional purchase limit of 5,000 yen for the application examples of the above proposed methods, the additional purchase costs of both empirical rules 1 and 2 are greater than 5,000 yen. Therefore, when we check IP1_6000 and IP2_6000, which have a limit of 6,000 yen for improvement proposal method 1 or improvement proposal method 2, the scores for both are 34. In addition, the additional purchase cost of IP1_6000, which prioritizes minimizing additional purchase costs over food waste under the maximum score, is 5,400 yen, which is lower than the 5,500 yen of empirical rule 1. The food waste of 100 grams of IP2_6000, which prioritizes minimizing food waste over additional purchase costs under the maximum score, is the same as empirical rule 2. However, the improvement proposal method 2 also minimizes additional purchase costs under the maximum score while minimizing food waste, so the additional purchase cost of IP2_6000, 5,502 yen, is 140 yen lower than the 5,642 yen of empirical rule 2.
[0108] Finally, we look at empirical rules 5 and 6 (EM5,6), which add an additional purchase limit of 2,000 yen for the day to empirical rules 1 and 2. Both scores are 32, the same as IP1_5000 and IP2_5000 for improvement proposal method 1 and improvement proposal method 2. Food waste is 200 grams for empirical rule 5 and IP1_5000, which prioritizes additional purchase costs, and 100 grams for empirical rule 6, which prioritizes food consumption with 1 remaining day, and IP2_5000, which prioritizes food waste. On the other hand, the additional purchase costs are IP1_5000 (3,162 yen) 100 yen lower than empirical rule 5, and IP2_5000 (3,212 yen) 170 yen lower than empirical rule 6.
[0109] In the above comparison, the main difference between improvement proposal method 1 or improvement proposal method 2 and the empirical rules seems to be only the additional purchase cost. However, it can also be interpreted that there is a difference in the score from the healthcare perspective. The additional purchase limit for the day in empirical rules 5 and 6 is 2000 yen, and a maximum expenditure of 8000 yen over 4 days is allowed. However, the empirical rules are simply processed on a day-by-day basis, and there is no planning like improvement proposal method 1 or improvement proposal method 2. If a high expenditure (about 3000 yen) is allowed only for one day, a score of 34 is possible with an additional purchase cost of less than 8000 yen by recommending recipe r7 beef fillet tomato sukiyaki (with warm egg) as with empirical rules 1 and 2 (EM1,2), improvement proposal method 1 or improvement proposal method 2's IP1_6000 and IP2_6000. However, in empirical rules 5 and 6 (EM5,6), due to the simple processing of the additional purchase limit of 2000 yen for the day, the actual score is 32, which is lower than 34.
[0110] As mentioned above, when comparing Improvement Proposal Method 1 or Improvement Proposal Method 2 for solving optimization problems with empirical rules, it is obvious that there will be differences in the solutions. Improvement Proposal Method 1 or Improvement Proposal Method 2 uses dynamic programming to look ahead and systematically optimize the score / additional purchase cost / food waste. Since empirical rules do not involve optimization processing, differences in the solutions may occur.
[0111] <Consideration> Since the priorities of additional purchase costs and food waste are different in improvement proposal method 1 and improvement proposal method 2, which method is preferable depends on the user's values. The method of weighting additional purchase costs and food waste according to values and minimizing the weighted sum can be considered as a compromise between improvement proposal method 1 and improvement proposal method 2.
[0112] Next, we considered the nutrients contained in the recommended recipes in the basic proposal method, the improved proposal method 1, and the improved proposal method 2 of the first embodiment. Specific application examples of the basic proposal method, the improved proposal method 1, and the improved proposal method 2 are shown in Tables 11 to 15. From the results, we focused on the combination of recipes, although the order of the recipe recommendations and the purchased products in each table are different. The combination of recommended recipes is (r2, r3, r6, r8) and (r2, r3, r8, r 10 ) The score for nutrients is 32 for both sets. In both sets, of the 15 nutrients in Table 3, the same 12 nutrients are found to satisfy the conditions in at least one recipe. However, for the remaining three nutrients calcium, magnesium, and vitamin A, for which no recipes that satisfy the conditions are recommended, there are no recipes in Table 2 that satisfy the conditions.
[0113] For the 12 nutrients with recipes that satisfy the conditions, the number of recipes that satisfy the conditions in Table 2 is a maximum of 9 for 1 nutrient, 8 for 1 nutrient, 7 for 3 nutrient, 5 for 1 nutrient, 4 for 3 nutrients, 3 for 2 nutrients, and a minimum of 2 for 1 nutrient. On the other hand, for the same 12 nutrients, the number of recipes that satisfy the conditions in the two sets of four recipes above is 4 for 3 nutrients, 3 for 3 nutrients, 2 for 5 nutrients, and 1 for 1 nutrient. These numbers are the same for both sets. The only difference between the two sets is the swapping of the nutrient in recipe number 2 with the nutrient in recipe number 1.
[0114] Given the above problem setting and application example settings such as the recipe set, the combination of the two recommended recipes is considered appropriate from a healthcare perspective. However, depending on the application example settings, there is a possibility that nutrients may be biased in order to maximize the score. In other words, even if there are recipes in the recipe set that satisfy the conditions for the nutrient, there is a possibility that an optimal solution may be calculated that does not recommend any recipes that satisfy the conditions for the nutrient. Therefore, it is necessary to consider ways to avoid the occurrence of such bias.
[0115] Next, we considered three nutrients for which there are no recipes in Table 2 that meet the conditions. Of the three nutrients, the calcium and magnesium contents are insufficient relative to the conditions in all recipes in Table 2. On the other hand, there are recipes that both deficiency and excess of vitamin A. Therefore, depending on how the recipe is selected (recommended), even if the conditions are not met in one go (one day), it is possible that the conditions will be met on average over several times (several days). According to the Ministry of Health, Labor and Welfare's Dietary Reference Intakes for Japanese (2020 edition), the period required for the onset of health problems varies greatly depending on the type of nutrient, and daily assessments of nutrient intake status in health guidance are inappropriate.
[0116] In this disclosure, we considered the evaluation of the target period by accumulating evaluations for each time (each day) using formula (2) and formula (3). Considering the example of vitamin A above and the indications in the Dietary Reference Intakes for Japanese (2020 edition), it is necessary to evaluate the average nutrient intake over the entire target period. For example, the recipe evaluation mechanism based on formula (2) and formula (3) in this disclosure can be expanded to an evaluation mechanism based on the cumulative value (or average value) of nutrient intake over the entire period.
[0117] In the above embodiment, the setting was such that shopping could be done for each day of the target period (shopping can be done every day), but a setting where shopping is only possible on limited days during the target period (when shopping is not possible every day) is also possible. For example, no shopping is done on day t, and the immediately preceding shopping day is day t-2. In this case, this can be handled by setting a food product that is two days less than the number of days remaining until the expiration date of the original food product as an option for additional purchases on day t. In other words, the food product selected as an additional purchase on day t is actually purchased on day t-2, and on day t, the product is used (opened) two days after purchase.
[0118] Second embodiment: In the first embodiment, we considered the recommendation of optimal recipes from a health care perspective, with the constraints of purchase limits and food waste limits, and the purchase of ingredients that additionally minimizes purchase costs and food waste under the optimal recipe. However, in the first embodiment, even when the target is a family of multiple people, only the lower and upper limits of nutrients for one specific person (age group) were considered, and all nutrients were evaluated to the same extent, and optimization that takes into account the health of the entire family was not considered. In the case of a family with multiple members, the appropriate amount of nutrients to be consumed generally varies depending on the gender and age group of the family members. Therefore, in this embodiment, in comparison with the first embodiment, we have considered recipe recommendations and food purchasing that take into account the health of the family by adding lower and upper limits for nutrients for each family member, weights for nutrients for each family member, and weights for health care-oriented losses (evaluation of recommended recipes) for each family member.
[0119] Symbols and the like used in the second embodiment are defined. Since this embodiment is an extension of the first embodiment, many of the symbols and the like are the same as those in the first embodiment. First, the same or nearly the same parts as those in the first embodiment are described, and then the extended parts and related parts in the second embodiment are described. The main enhancements of this embodiment over the first embodiment are setting lower and upper limits for nutrients for each family member, adding weights for nutrients for each family member, adding weights for losses from a healthcare perspective (evaluation of recommended recipes) for each family member, and introducing new losses from a healthcare perspective that takes family members into consideration.
[0120] TIFF2024144305000048.tif45166
[0121] TIFF2024144305000049.tif75166
[0122] TIFF2024144305000050.tif58166
[0123] TIFF2024144305000051.tif69166
[0124] TIFF2024144305000052.tif26166
[0125] TIFF2024144305000053.tif81166
[0126] TIFF2024144305000054.tif51166
[0127] TIFF2024144305000055.tif50166
[0128] TIFF2024144305000056.tif26166
[0129] TIFF2024144305000057.tif45166
[0130] TIFF2024144305000058.tif45166
[0131] TIFF2024144305000059.tif63166
[0132] TIFF2024144305000060.tif69166
[0133] TIFF2024144305000061.tif57166
[0134] TIFF2024144305000062.tif33166
[0135] TIFF2024144305000063.tif95166
[0136] TIFF2024144305000064.tif38166
[0137] <Basic algorithm of the second embodiment (algorithm 2-1)> The basic algorithm for calculating recommended recipes and ingredients (products) to purchase that minimizes waste from a healthcare perspective while considering the family, subject to the constraints of the food purchase limit and food waste limit, is shown below. The basic algorithm uses dynamic programming, a type of optimization method, and processes by going back from the last T times to the 1st time.
[0138] TIFF2024144305000065.tif56166
[0139] TIFF2024144305000066.tif50166
[0140] <Additional algorithm 1 of the second embodiment (algorithm 2-2)> The basic algorithm makes it possible to minimize losses from a healthcare perspective, taking into account the family, under the constraints of the food purchasing limit and the food loss limit. However, there may be multiple optimal solution candidates with different food purchasing costs and food losses when minimizing losses from a healthcare perspective. For example, in the first embodiment and this embodiment, when the argmin function in NumPy of the Python language is used to calculate the numerical calculation example, which solution is output from among the multiple optimal solution candidates depends on the Python specifications, the order of the data, etc.
[0141] TIFF2024144305000067.tif43166
[0142] TIFF2024144305000068.tif45166
[0143] TIFF2024144305000069.tif50166
[0144] TIFF2024144305000070.tif51166
[0145] TIFF2024144305000071.tif45166
[0146] TIFF2024144305000072.tif49166
[0147] TIFF2024144305000073.tif44166
[0148] The upper and lower limits of various nutrients corresponding to the sex and age of each family member were determined based on the 6th revised nutritional requirements for Japanese people, and were set at 10% of the daily nutritional requirements, assuming a recipe for the main dish for dinner. Other various conditions are as follows. First, the recipes to be provided are shown in Table 17. The recipes were taken from cooking recipe sites such as Cookpad (Cookpad Inc.) and Oishi Kenko (Oishi Kenko Inc.).
[0149] TIFF2024144305000074.tif96166
[0150] The list of ingredients used is shown in Table 18 below.
[0151] TIFF2024144305000075.tif62166
[0152] The amounts of ingredients (grams, 4 servings) used in each recipe are shown in Table 19 below. Note that seasonings, etc. are omitted.
[0153] TIFF2024144305000076.tif98166
[0154] The initial surplus ingredients (surplus amount, number of days remaining until expiration date) are shown in Table 20. The initial surplus amount of ingredients not listed in Table 20 was set to 0.
[0155] TIFF2024144305000077.tif28166
[0156] TIFF2024144305000078.tif39166
[0157] TIFF2024144305000079.tif170166
[0158] Nutrients i A list of these is shown in Table 22.
[0159] TIFF2024144305000080.tif48166
[0160] (Family Composition) The family member settings are as follows: [Application example 1] The family consisted of a couple in their 40s and two children (man 44, woman 46, man 16, woman 20). The weights for nutrients for each family member and the weights for health care losses for each family member were all set to 1. [Application example 2] The family consisted of a couple in their 40s living with their parents (man 44, woman 46, man 70, woman 66). The weights for nutrients for each family member and the weights for health care losses for each family member were all set to 1.
[0161] [Application example 3] Same family structure as Application Example 1 The weighting for nutrients n1–n5 for all family members was set at 10 (when all family members prioritize adequate intake of energy, calcium, iron, magnesium, and phosphorus). [Application example 4] Same family structure as Application Example 2 The weighting for nutrients n1–n5 for all family members was set at 10 (when all family members prioritize adequate intake of energy, calcium, iron, magnesium, and phosphorus).
[0162] [Application example 5] Same family structure as Application Example 2 Only the weighting for the loss from a healthcare perspective of a 44-year-old man was set to 1, and the weighting for other family members was set to 0. [Application Example 6] Same family structure as Application Example 2 Only the weighting for the loss from a healthcare perspective of a 46-year-old woman was set to 1, and the weighting for other family members was set to 0.
[0163] [Application Example 7] Same family structure as Application Example 2 Only the weighting for the loss from a healthcare perspective of a 70-year-old man was set to 1, and the weighting for other family members was set to 0. [Application Example 8] Same family structure as Application Example 2 Only the weighting for the loss from a healthcare perspective of a 66-year-old woman was set to 1, and the weighting for other family members was set to 0.
[0164] (Application of algorithm) In application examples 1 to 8, the additional algorithm 1 (equations (32) and (33)) was added to the basic algorithm (equations (30) and (31)).
[0165] (Results: recipe recommendations and ingredients purchased) The results of Application Examples 1 to 8 are shown in Tables 23 to 30, respectively.
[0166] TIFF2024144305000081.tif81166
[0167] TIFF2024144305000082.tif82166
[0168] TIFF2024144305000083.tif89166
[0169] TIFF2024144305000084.tif83166
[0170] TIFF2024144305000085.tif62166
[0171] TIFF2024144305000086.tif55166
[0172] TIFF2024144305000087.tif56166
[0173] TIFF2024144305000088.tif55166
[0174] (Consideration) When comparing Application Example 1, a family of a couple in their 40s with children, and Application Example 2, a family without children living with the parents, the results were the same except for health loss. Because the lower and upper limits of various nutrients differ by gender and age group, differences due to family structure were expected in advance, but no differences were confirmed when comparing Application Example 1 and Application Example 2.
[0175] On the other hand, when comparing application examples 3 and 4, in which the weights for nutrients n1 to n5 for all family members were changed to 10 for the family members in application examples 1 and 2, the results of two of the four recipe recommendations were different, and the number of recommendations for the two overlapping recipes also differed. In application example 3, the cost of purchasing ingredients was high at 4,910 yen, and food waste was low at 400 grams, whereas in application example 4, the cost of purchasing ingredients was low at 2,850 yen, and food waste was high at 1,000 grams.
[0176] In addition, the settings for Application Example 3 and Application Example 4 are the same for a married couple in their 40s, so the only difference in the settings is between children (Application Example 3) and parents (Application Example 4). No differences were observed when comparing Application Example 1 and Application Example 2, which evaluate all nutrients to the same degree, but when comparing Application Example 3 and Application Example 4, which prioritize the intake of energy, etc., differences in the application results due to differences in family structure were confirmed.
[0177] In the family structure of application example 4, the results of application examples 5 to 8, in which weighting was applied to one of the family members, were all different, but the results of application example 8, in which only the 66-year-old woman was weighted, and application example 4, in which all family members were weighted equally, were the same except for health loss. The loss from a healthcare perspective (health loss) in application examples 5 to 8 was minimized for each family member, and the sum of application examples 5 to 8 was 30.14. On the other hand, the loss in application example 4, in which the loss from a healthcare perspective for all family members was evaluated to the same extent, was 30.61. It is self-evident from the concept of optimization that the sum of application examples 5 to 8, in which loss was minimized for each family member, is smaller, but in this application example, it was confirmed that the difference was not very large, at approximately 0.12 per family member.
[0178] We have shown application examples 4 to 8, which prioritize the appropriate intake of nutrients n1 to n5. We also considered examples where the proper intake of other nutrients is prioritized. 10 Application Examples 9 to 13, which prioritize appropriate intake of nutrients 11 ~n 15 These are Application Examples 14 to 18, which prioritized appropriate intake of food. Detailed application results are omitted here, but there was no difference in the application results for each of the five application examples, Application Examples 9 to 13 and Application Examples 14 to 18. In other words, in Application Examples 9 to 13 and Application Examples 14 to 18, the sum of the healthcare-perspective losses minimized for each family member was the same as the loss when the healthcare-perspective losses of all family members were evaluated to the same degree.
[0179] From the results of Application Examples 1 to 18, it was confirmed that the recipe recommendation and ingredient purchase algorithm considering the family health of the second embodiment, which is an extension of the first embodiment, makes it possible to recommend recipes and purchase ingredients that consider the weights related to losses and the weights related to nutrients from the healthcare perspective of the family members. It was also confirmed that the magnitude of the impact of the difference in weight settings related to losses from the healthcare perspective of the family members changes when the nutrients prioritized for appropriate intake differ.
[0180] In application examples, it was confirmed that even if family structures differ, recommended recipes and purchased products (ingredients) may or may not be the same depending on the priority settings for nutrients that are desired to be appropriately ingested. In an application example optimized for a specific member by setting the weight of health care perspective loss for all family members other than a specific (one) family member to 0, it was also confirmed that recommended recipes and purchased products may differ for each family member depending on the priority settings for nutrients.
[0181] Verification through application examples confirmed that by using a recipe recommendation and ingredient purchasing algorithm that takes family health into consideration, it is possible to recommend recipes and purchase ingredients in response to household needs from a healthcare perspective, such as when you want to consider the health of the entire family or the health of specific family members (e.g., children or the elderly).
[0182] <Modifications of the embodiment> The above-described embodiment is one example of the present invention, and the present invention is not limited to this form. Various modifications and substitutions can be made without departing from the spirit of the present invention. For example, food waste that is discarded may be evaluated based on the value of the food at the time of purchase instead of the weight of the food discarded. The recommended recipes are derived by taking into consideration three perspectives: health care, economics, and food waste. However, it is also possible to recommend recipes by taking into consideration one or two of these three perspectives.
[0183] In the proposed method of the above embodiment, seasonings, etc. are not included in the ingredients and are omitted, and the recommendation target at one time is limited to one recipe, and in the application example, a small set of recipes / ingredients / products is targeted. However, it is also possible to set a problem closer to reality, for example, using ingredients that include seasonings, etc., recommend multiple recipes at one time, or recommend recipes within a larger set of recipes / ingredients / products, and in addition to this, approximate solutions and empirical rules may be applied. In addition, instead of using the entire recipe set as recommendation candidates, randomly extracted recipes may be used to avoid an increase in the number of recommendation candidates. This makes it possible to avoid an increase in the number of recommendation candidates (an increase in the problem scale) even when expanding the recipe set. Alternatively, if the amounts of ingredients in a recipe are strictly adhered to, but there is no surplus of an ingredient in the recipe, the conventional method of substituting other surplus ingredients can be applied.
[0184] In the second embodiment, the weights of nutrients for each family member and the weights for losses from a health care perspective for each family member are set, but these settings are only examples, and other weight settings that take into account various situations in real life can also be considered. For example, with the recent health boom and development of ICT technology, health care-related information such as an individual's diet is often recorded in a life log, etc., so a method of weighting an individual's nutrients with reference to the diet history information in the life log can be considered.
[0185] In both the first and second embodiments, recipes are recommended and ingredients are purchased T times (once per day) for T days, but this can be modified to recommend recipes and suggest ingredients for purchase on any day during the T days. [Explanation of symbols]
[0186] 1. Recipe provision system 10 Recipe recommendation device 11 Control Means 12 Main memory means 13 Auxiliary storage means 14 Means of communication 15 Other measures 16 Recipe Database 17 Nutrient Database 18 Food Database 19 Food product database 20 User Database 21 Other Databases 22 External information database 23 Data Acquisition Section 24 Score Calculation Section 30 User terminals 50 Network
Claims
1. A recipe recommendation method that uses dynamic programming to maximize the profit or minimize the loss of a recipe recommended T times (1≦t≦T, where T is an integer equal to or greater than 2, and t is an integer), The maximization of profits or minimization of losses is maximization of scores defined from a healthcare perspective or minimization of losses defined from a healthcare perspective, A method for recommending recipes, in which the score or loss is determined based on whether or not the recommended intake of nutrients contained in the recipe is met.
2. The score is the number of nutrients contained in the recipe that are within the range of the upper and lower limits of the recommended intake amount of the nutrients, The maximization of the score is a maximization of the score over the T times or a maximization of the score for each time, If the loss meets the recommended intake of the nutrient contained in the recipe, it is set to 0, and if it does not meet the recommended intake, it is set to a ratio of the difference between the recommended intake standard (upper or lower limit) and the standard, The minimization of the loss may be the minimization of the loss over the entire T times or the minimization of the loss for each time. The recipe recommendation method according to claim 1.
3. The recipe is intended for multiple servings, 3. The recipe recommendation method according to claim 2, wherein the score or the loss is a weighting set for each of the plurality of people to whom the recipe is to be provided.
4. 4. The method for recommending recipes according to claim 3, further comprising the step of setting weights of said nutrients for each of said plurality of people.
5. 5. The method for recommending recipes according to claim 4, wherein the information about the ingredients is obtained through an electronic receipt.
6. A computer program for executing the recipe recommendation method according to any one of claims 1 to 5.
7. A recipe recommendation device comprising a control means, a storage means, and a communication means, and which executes the recipe recommendation method according to any one of claims 1 to 5.
