⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stigler.mod

📁 著名的大规模线性规划求解器源码GLPK.C语言版本,可以修剪.内有详细帮助文档.
💻 MOD
📖 第 1 页 / 共 2 页
字号:
driedpeach     "Peaches, Dried"            "1 lb."prunes         "Prunes, Dried"             "1 lb."raisins        "Raisins, Dried"            "15 oz."driedpeas      "Peas, Dried"               "1 lb."limabeans      "Lima Beans, Dried"         "1 lb."navybeans      "Navy Beans, Dried"         "1 lb."coffee         "Coffee"                    "1 lb."tea            "Tea"                       "1/4 lb."cocoa          "Cocoa"                     "8 oz."chocolate      "Chocolate"                 "8 oz."sugar          "Sugar"                     "10 lb."cornsirup      "Corn Sirup"                "24 oz."molasses       "Molasses"                  "18 oz."stawberry      "Strawberry Preserve"       "1 lb.";set N :=calories       /* Calories, unit = 1000 */protein        /* Protein, unit = grams */calcium        /* Calcium, unit = grams */iron           /* Iron, unit = milligrams */vitaminA       /* Vitamin A, unit = 1000 International Units */thiamine       /* Thiamine, Vit. B1, unit = milligrams */riboflavin     /* Riboflavin, Vit. B2, unit = milligrams */niacin         /* Niacin (Nicotinic Acid), unit = milligrams */ascorbicAcid   /* Ascorbic Acid, Vit. C, unit = milligrams */;param data:             price   weight calories protein  calcium   iron :=#            aug. 15  edible#             1939    per $1#           (cents)   (grams) (1000)  (grams)  (grams)   (mg.)flour         36.0    12600    44.7     1411     2.0      365macaroni      14.1     3217    11.6      418      .7       54cereal        24.2     3280    11.8      377    14.4      175cornflakes     7.1     3194    11.4      252      .1       56cornmeal       4.6     9861    36.0      897     1.7       99grits          8.5     8005    28.6      680      .8       80rice           7.5     6048    21.2      460      .6       41oats           7.1     6389    25.3      907     5.1      341whitebread     7.9     5742    15.6      488     2.5      115wheatbread     9.1     4985    12.2      484     2.7      125ryebread       9.2     4930    12.4      439     1.1       82poundcake     24.8     1829     8.0      130      .4       31crackers      15.1     3004    12.5      288      .5       50milk          11.0     8867     6.1      310    10.5       18evapmild       6.7     6035     8.4      422    15.1        9butter        20.8     1473    10.8        9      .2        3margarine     16.1     2817    20.6       17      .6        6eggs          32.6     1857     2.9      238     1.0       52cheese        24.2     1874     7.4      448    16.4       19cream         14.1     1689     3.5       49     1.7        3peanutbutter  17.9     2534    15.7      661     1.0       48mayonnaise    16.7     1198     8.6       18      .2        8crisco        20.3     2234    20.1        0      .0        0lard           9.8     4628    41.7        0      .0        0sirloinsteak  39.6     1145     2.9      166      .1       34roundsteak    36.4     1246     2.2      214      .1       32ribroast      29.2     1553     3.4      213      .1       33chuckroast    22.6     2007     3.6      309      .2       46plate         14.6     3107     8.5      404      .2       62liver         26.8     1692     2.2      333      .2      139lambleg       27.6     1643     3.1      245      .1       20lambchops     36.6     1239     3.3      140      .1       15porkchops     30.7     1477     3.5      196      .2       80porkroast     24.2     1874     4.4      249      .3       37bacon         25.6     1772    10.4      152      .2       23ham           27.4     1655     6.7      212      .2       31saltpork      16.0     2835    18.8      164      .1       26chicken       30.3     1497     1.8      184      .1       30veal          42.3     1072     1.7      156      .1       24salmon        13.0     3489     5.8      705     6.8       45apples         4.4     9072     5.8       27      .5       36bananas        6.1     4982     4.9       60      .4       30lemons        26.0     2380     1.0       21      .5       14oranges       30.9     4439     2.2       40     1.1       18greenbeans     7.1     5750     2.4      138     3.7       80cabbage        3.7     8949     2.6      125     4.0       36carrots        4.7     6080     2.7       73     2.8       43celery         7.3     3915      .9       51     3.0       23lettuce        8.2     2247      .4       27     1.1       22onions         3.6    11844     5.8      166     3.8       59potatoes      34.0    16810    14.3      336     1.8      118spinach        8.1     4592     1.1      106      .0      138sweetpotato    5.1     7649     9.6      138     2.7       54peaches       16.8     4894     3.7       20      .4       10pears         20.4     4030     3.0        8      .3        8pineapple     21.3     3993     2.4       16      .4        8asparagus     27.7     1945      .4       33      .3       12cannedgrbn    10.0     5386     1.0       54     2.0       65porkbeans      7.1     6389     7.5      364     4.0      134corn          10.4     5452     5.2      136      .2       16peas          13.8     4109     2.3      136      .6       45tomatoes       8.6     6263     1.3       63      .7       38tomatosoup     7.6     3917     1.6       71      .6       43driedpeach    15.7     2889     8.5       87     1.7      173prunes         9.0     4284    12.8       99     2.5      154raisins        9.4     4524    13.5      104     2.5      136driedpeas      7.9     5742    20.0     1367     4.2      345limabeans      8.9     5097    17.4     1055     3.7      459navybeans      5.9     7688    26.9     1691    11.4      792coffee        22.4     2025      .0        0      .0        0tea           17.4      652      .0        0      .0        0cocoa          8.6     2637     8.7      237     3.0       72chocolate     16.2     1400     8.0       77     1.3       39sugar         51.7     8773    34.9        0      .0        0cornsirup     13.7     4996    14.7        0      .5       74molasses      13.6     3752     9.0        0    10.3      244stawberry     20.5     2213     6.4       11      .4        7:           vitaminA thiamine riboflavin  niacin  ascorbicAcid :=#          (1000 IU)  (mg.)      (mg.)     (mg.)     (mg.)flour           .0    55.4       33.3       441         0macaroni        .0     3.2        1.9        68         0cereal          .0    14.4        8.8       114         0cornflakes      .0    13.5        2.3        68         0cornmeal      30.9    17.4        7.9       106         0grits           .0    10.6        1.6       110         0rice            .0     2.0        4.8        60         0oats            .0    37.1        8.9        64         0whitebread      .0    13.8        8.5       126         0wheatbread      .0    13.9        6.4       160         0ryebread        .0     9.9        3.0        66         0poundcake     18.9     2.8        3.0        17         0crackers        .0      .0         .0         0         0milk          16.8     4.0       16.0         7       177evapmild      26.0     3.0       23.5        11        60butter        44.2      .0         .2         2         0margarine     55.8      .2         .0         0         0eggs          18.6     2.8        6.5         1         0cheese        28.1      .8       10.3         4         0cream         16.9      .6        2.5         0        17peanutbutter    .0     9.6        8.1       471         0mayonnaise     2.7      .4         .5         0         0crisco          .0      .0         .0         0         0lard            .2      .0         .5         5         0sirloinsteak    .2     2.1        2.9        69         0roundsteak      .4     2.5        2.4        87         0ribroast        .0      .0        2.0         0         0chuckroast      .4     1.0        4.0       120         0plate           .0      .9         .0         0         0liver        169.2     6.4       50.8       316       525lambleg         .0     2.8        3.0        86         0lambchops       .0     1.7        2.7        54         0porkchops       .0    17.4        2.7        60         0porkroast       .0    18.2        3.6        79         0bacon           .0     1.8        1.8        71         0ham             .0     9.9        3.3        50         0saltpork        .0     1.4        1.8         0         0chicken         .1      .9        1.8        68        46veal            .0     1.4        2.4        57         0salmon         3.5     1.0        4.9       209         0apples         7.3     3.6        2.7         5       544bananas       17.4     2.5        3.5        28       498lemons          .0      .5         .0         4       952oranges       11.1     3.6        1.3        10      1993greenbeans    69.0     4.3        5.8        37       862cabbage        7.2     9.0        4.5        26      5369carrots      188.5     6.1        4.3        89       608celery          .9     1.4        1.4         9       313lettuce      112.4     1.8        3.4        11       449onions        16.6     4.7        5.9        21      1184potatoes       6.7    29.4        7.1       198      2522spinach      918.4     5.7       13.8        33      2755sweetpotato  290.7     8.4        5.4        83      1912peaches       21.5      .5        1.0        31       196pears           .8      .8         .8         5        81pineapple      2.0     2.8         .8         7       399asparagus     16.3     1.4        2.1        17       272cannedgrbn    53.9     1.6        4.3        32       431porkbeans      3.5     8.3        7.7        56         0corn          12.0     1.6        2.7        42       218peas          34.9     4.9        2.5        37       370tomatoes      53.2     3.4        2.5        36      1253tomatosoup    57.9     3.5        2.4        67       862driedpeach    86.8     1.2        4.3        55        57prunes        85.7     3.9        4.3        65       257raisins        4.5     6.3        1.4        24       136driedpeas      2.9    28.7       18.4       162         0limabeans      5.1    26.9       38.2        93         0navybeans       .0    38.4       24.6       217         0coffee          .0     4.0        5.1        50         0tea             .0      .0        2.3        42         0cocoa           .0     2.0       11.9        40         0chocolate       .0      .9        3.4        14         0sugar           .0      .0         .0         0         0cornsirup       .0      .0         .0         5         0molasses        .0     1.9        7.5       146         0stawberry       .2      .2         .4         3         0;param allowance :=calories       3protein       70calcium         .8iron          12vitaminA       5thiamine       1.8riboflavin     2.7niacin        18ascorbicAcid  75;end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -