2013 Future University-Hakodate 2013 System Information Science Practice Group Report Project Name Exploring recipe for a new concept of food B Group Name Group B /Project No. 1-B /Project Leader 1011013 Norihiko Komagata /Group Leader 1011020 Shnsuke Nishiyasu /Group Member 1011013 Norihiko Komagata 1011014 Shin Koyama 1011020 Shunsuke Nishiyasu 1011021 Ryotaro Hashimoto Professor Hideki Satoh Advisor Associate Professor Ayahiko Niimi 2014 15 Date of Submission January 15 2014
,..,.,,. - i -
Abstract In this project, food ingredients and their quantities were optimized using a recipe design tool taking health condition, nutritional values, and color of foods into account. This group developed meals which were considered nutrient balance from the diet for a few days.we developed a data and a program for target values of nutrient factors. The data is a matrix which is contained meal name as rows and values of nutrient factors as columns.the program calculates the mean values of nutrient factors using the data and meal names which were eaten recently. The recipe design tool needs two inputs. One is a matrix which is contained values of nutrient factors as rows and food names as columns. The other is the target values of nutrient factors. The tool outputs the necessary quantities of food.we concluded that we were able to develop the delicious recipe for nutrient balance by conducting the cooking experiment using the suggested quantities of food ingredients. Keyword food nurtrient vector matrix., target values of nutrient factors the recipe design tool,the necessary quantities of food - ii -
1 1 1.1....................................... 2 1.2................................ 3 1.3.................................... 4 1.3.1................................ 4 1.3.2................................ 4 2 5 2.1................................ 5 2.1.1................................. 5 2.1.2.............................. 6 2.1.3........................ 7 2.2.............................. 11 2.2.1......................... 12 2.2.2................................ 13 2.2.3 B.................... 13 2.2.4.............................. 14 3 16 3.1...................................... 16 3.1.1.............................. 16 3.1.2.............................. 17 3.2.............................. 17 3.2.1................................... 18 3.2.2............................. 18 3.3.................................... 18 3.3.1................................ 19 3.3.2................................... 19 3.3.3............................. 19 3.3.4.......................... 21 3.3.5...................................... 21 3.4...................................... 21 3.4.1.............................. 22 3.4.2.............................. 22 3.4.3............................... 22 3.4.4...................................... 23 3.5.................................. 23 3.5.1...................................... 23 - iii -
3.5.2...................................... 24 3.5.3..................................... 24 3.5.4............................. 28 4 29 4.1................................ 29 4.2............................ 30 4.2.1.................... 30 4.2.2................................... 30 4.3................................. 32 4.3.1............................... 32 4.3.2............................. 32 4.3.3................................. 33 4.3.4................................ 34 4.3.5............................. 36 4.4.................................... 37 4.4.1......................... 37 4.4.2....................... 38 4.4.3.............................. 38 4.4.4.............................. 40 5 43 46 - iv -
1 3 2011 10 1 [1] [2] [3] 10 10 : Group Report of 2013 SISP - 1 - Group Number 1-B
1.1 [4] [4] [4] [4] 2011 10 1500 4 9000 [5] [4] [4] Twitter Facebook SNS woman [6] [7] 3 PFD 2010 2010 [8] : Group Report of 2013 SISP - 2 - Group Number 1-B
1.2 [5] [4], [4] [5] [6] [7] : Group Report of 2013 SISP - 3 - Group Number 1-B
1.3 1.3.1 [9] 3 [10] [11] Android [5] [4] 1.3.2 1 35 ( ) ( [3]) Group Report of 2013 SISP - 4 - Group Number 1-B
2 2.1 [3] [3] [12] [3] [3] 1 2 2010[8] ( 37 35 ) 20 [12] 2.1.1 0 10000 10 10g 0 10 Group Report of 2013 SISP - 5 - Group Number 1-B
NP 100 10 100 C 10 1.73103 10 13 1.73103 10 13 [12] 2.1.2 [12] [12] 1989 Goldberg bi (0 i b max 1) g i g i J b [12] g i [12] [12] g i g 0 g bmax 1 r 1 g bmax 1 r g bmax 1 r b max g 0 g bmax 1 r 1 2 g i g j g i g j g i b max 1 r i b max 1 p M g i ˆM M i 0 i b max 1 ˆM ˆm max M i b max M i g i M i J i J (2.1) GA J w ε errt ast w Jc cost (2.1) Group Report of 2013 SISP - 6 - Group Number 1-B
w ε w Jc w ε < w Jc Algorithm1 GA Algorithm1 GA Step 1-1 g 0 g bmax 1 Step 1-2 =0 Step 1-3 g 0 g bmax 1 J 0 J bmax 1 (2.1) Step 1-4 J 0 J bmax 1 g 0 g bmax 1 J i > J i+1 Step 1-5 Step 1-6 Step 1-6 N=b max 1 r g 0 g N 1 g N g bmax 1 Step 1-7 n=n Step 1-8 g 0 g N 1 2 g i g j Step 1-9 g i g j g n g n+1 1 m max 1 Step 1-10 g n g n+1 g n / g 0 g N 1 g n+1 / g 0 g N 1 g n g n+1 Step 1-11 n+2 b max Step 1-12 n+2 b max n=n+2 Step 1-8 Step 1-12 g N i i b max 1 p M g i 0 1 ˆm max 1 Step 1-13 g i g i / g 0 g i 1 N i b max Step 1-14 1 Step 1-3 2.1.3 1 Group Report of 2013 SISP - 7 - Group Number 1-B
2 1 inparmain.par inparmtlset.par inpareval.par inparrsltdata.par J inparibmnrandom.par random inparibmndjudge.par djudge inparibmndjudge2.par djudge2 inparcbrrandom.par random inparnm.par NMM inparsdm.par SDM inparrbmnrandom.par random inparopco.par 2 inpar.par 2.1 inparmtlset.par 2.2 inpareval.par 2.3 inparmain.par 2.4 input.par inpar.mtlset.par NameMtlSet numelmmtlset dimtastvec numblenset numelmblenset inpar.eval.par flnametargetset matwtast W y dimtastvec dimtastvec Group Report of 2013 SISP - 8 - Group Number 1-B
2.1 inparmtlset.par 2.2 inpareval.par inparmain.par maxruntime StopGAcond StopCondVal prmodrsltcond 1 maxoutputnum prmod input.par kizon-row material Group Report of 2013 SISP - 9 - Group Number 1-B
2.3 inparmain.par sousaku-row seibun-file sousaku-file output-file 2.4 input.par rsltblen.dat [min.] rsltblendataj.dat J Group Report of 2013 SISP - 10 - Group Number 1-B
J 1/4 J 1/4 1/4 [sec] rsltblenfin.dat [min.] 2.2 [3] [3] 2 1 3 [5] [3] Group Report of 2013 SISP - 11 - Group Number 1-B
[3] [3] 2010 [14] B : 2.2.1 [5] [3] 2010[8] A E [3] 2010 35 2010 [14] 35 A E - [13] : Group Report of 2013 SISP - 12 - Group Number 1-B
2.2.2 [3] Microsoft Excel [3] [3] [3] [3] [3] [3] [3] 1 1 [3] B : 2.2.3 B B B B B [8] [3] Step3-2 : Group Report of 2013 SISP - 13 - Group Number 1-B
2.2.4 2.1 2.2 2.3 2.4 2.5 2.6 2.7 : Group Report of 2013 SISP - 14 - Group Number 1-B
2.8 Group Report of 2013 SISP - 15 - Group Number 1-B
3 3.1 1 3.1.1 ( ) [5] 44 [8] [3] PostgreSQL9.2 psql C [3] C C [3] [3] 2 A B6 C 10 10 1 2010 [14] [13] 1 Group Report of 2013 SISP - 16 - Group Number 1-B
3.1.2 10 n-6 n-3 D E K B1 B2 B12 25 35 35 3 [3] [3] 3 3.2 1. 3 2. 3 3 3. [3] Group Report of 2013 SISP - 17 - Group Number 1-B
3.2.1 1. 2. 3. 4. 5. 6. [3] [3] 3.2.2 3 [3] [3] 1. [3] 2. [3] 3. [3] 4. [3] 3.3 [3] 2 1. 2. 3. Group Report of 2013 SISP - 18 - Group Number 1-B
4. 5. 3.3.1 1. [3] 2. 3. 4. (2) 5. 3.3.2 2 1 2 2 2 1. 2. 3. 4. 3.3.3 Group Report of 2013 SISP - 19 - Group Number 1-B
1. 2. 20 3. 4. Group Report of 2013 SISP - 20 - Group Number 1-B
3.3.4 1. 2. 3. 4. 5. 6. 3.3.5 1. ( ) 2.. 3. 4. 5. 6. (5) 7. (6) 3.4 Group Report of 2013 SISP - 21 - Group Number 1-B
3.4.1 1. 3 2 2. 3. 4. 5. 6. 7. (4) 8. (7) 9. 3.4.2 1. 2. 3. 4. (2) 5. 6. 7. 8. (7) 3.4.3 1. Group Report of 2013 SISP - 22 - Group Number 1-B
2. 3. (2) 4. 5. 6. 7. (6) 3.4.4 2 (2) (3) (4) (5) (8) 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 3.5 3.5.1 1. 2. (1) (2) Group Report of 2013 SISP - 23 - Group Number 1-B
3. (2) 3.5.2 [3] 1. 2. 3. 4. 5. 3.5.3 1. 2. 3. (2) 4. 5. 6. 7. 8. 9. (8) 10. (9) 11. 12. 13. 14. ( ) Group Report of 2013 SISP - 24 - Group Number 1-B
3.1 3.2 Group Report of 2013 SISP - 25 - Group Number 1-B
3.3 3.4 Group Report of 2013 SISP - 26 - Group Number 1-B
3.5 3.6 Group Report of 2013 SISP - 27 - Group Number 1-B
3.7 3.5.4 3 1. 2. 3. Group Report of 2013 SISP - 28 - Group Number 1-B
4 4.1 [6] [4] [4] S [4] [6] [6] [14] V 4.1 Group Report of 2013 SISP - 29 - Group Number 1-B
4.1 4.2 [3] 4.2.1 [3] [3] [3] [3] 4.2.2 : 4.2.2 Group Report of 2013 SISP - 30 - Group Number 1-B
[3] [3] [3] [3] [3] [3] 1 [3] [3] [3] [3] [3] [3] [3] [3] Group Report of 2013 SISP - 31 - Group Number 1-B
[3] [3] : 4.3 4.3.1 [3] 4.1 4.3.2, Group Report of 2013 SISP - 32 - Group Number 1-B
4.3.3 [3] 4.2 4.1 Group Report of 2013 SISP - 33 - Group Number 1-B
114.9g 51.9g 78.6g 74.1g 135g 6.45g 11.1g 59.7g 36.6g 18.15g 4.3. 4.3.4 Group Report of 2013 SISP - 34 - Group Number 1-B
, 4.2 4.3 Group Report of 2013 SISP - 35 - Group Number 1-B
4.2 1 2 3 4 5 6 7 8 4.3.5 [3] 4.2 Group Report of 2013 SISP - 36 - Group Number 1-B
4.4 4.4.1 4.4 [3] [3] [3] [3] [3] Group Report of 2013 SISP - 37 - Group Number 1-B
[8] 4.4 4.4.2 4.4.3 2013 7 12, 6,,,,,,., 1, 3 Group Report of 2013 SISP - 38 - Group Number 1-B
4.,..,,, [3] 2 1,.,,.,, 10,. 53,,, 3,2 9 10 2.38 2.54 6.28 6.76 4.5, 4.6 4.5. Group Report of 2013 SISP - 39 - Group Number 1-B
4.6 4.4.4 [3] 4.7 4.8 1 3 10 2.79 7.13 Group Report of 2013 SISP - 40 - Group Number 1-B
2 3 10 3.07 6.78 Group Report of 2013 SISP - 41 - Group Number 1-B
4.7 4.8 Group Report of 2013 SISP - 42 - Group Number 1-B
5 [14] [3], [4] [5] [6] [7] google play [10] [11] Android [4] [5] WEB [6] WEB [6] [14] [7] [10] Group Report of 2013 SISP - 43 - Group Number 1-B
Android [11] Android [4] [5] [14] [7] [10] [11] [14] [3] [3] [3] [3] [3] [3] Group Report of 2013 SISP - 44 - Group Number 1-B
UI Microsoft Excel UI [3] Group Report of 2013 SISP - 45 - Group Number 1-B
[1] 25 http://www.mhlw.go.jp/bunya/kenkou/eiyou-syokuji2/ (2014/1/08 ) [2] http://www.astellas.com/jp/health/healthcare/sp/lifestyle02/01.html (2014/1/08 ) [3], [12], NLP2013-78, pp. 47 52, Oct. 2013. [4] http://cookpad.com/ (2014/1/05 ) [5] http://recipe.rakuten.co.jp/ (2014/1/06 ) [6] http://www.asken.jp/calculate/meal/1 (2014/1/05 ) [7] http://www.glico.co.jp/navi/index.htm (2014/1/06 ) [8]. [9] http://www.mhlw.go.jp/topics/bukyoku/kenkou/seikatu/ (2014/1/08 ) [10] google play https://play.google.com/store/apps/details?id= info.mochidango (2014/1/06 ) [11] google play https://play.google.com/store/apps/details?id=jp.studionob.nutrition (2014/1/06 ) [12], :, 2008 [13],,,,2010. [14], 2010,,2010. Group Report of 2013 SISP - 46 - Group Number 1-B