Index
- 格式:pdf
- 大小:111.30 KB
- 文档页数:15
index函数语法说明及应用实例INDEX函数INDEX函数是返回表或区域中的值或对值的引用。
函数INDEX ()有两种形式:数组形式和引用形式。
数组形式通常返回数值或数值数组;引用形式通常返回引用。
返回特定行和列交叉处单元格的引用。
如果该引用是由非连续选定区域组成的,则可以选择要用作查找范围的选定区域。
函数语法语法:INDEX(array,row_num,column_num)返回数组中指定的单元格或单元格数组的数值。
INDEX(reference,row_num,column_num,area_num)返回引用中指定单元格或单元格区域的引用。
参数:Array为单元格区域或数组常数;Row_num为数组中某行的行序号,函数从该行返回数值。
如果省略row_num,则必须有column_num;Column_num是数组中某列的列序号,函数从该列返回数值。
如果省略column_num,则必须有row_num。
Reference是对一个或多个单元格区域的引用,如果为引用输入一个不连续的选定区域,必须用括号括起来。
Area_num是选择引用中的一个区域,并返回该区域中row_num和column_num的交叉区域。
选中或输入的第一个区域序号为1,第二个为2,以此类推。
如果省略area_num,则INDEX函数使用区域1实例:如果A1=68、A2=96、A3=90,则公式=INDEX(A1:A3,1,1)返回68。
INDEX函数返回一个值或者对某个值的引用。
与其他函数如MATCH函数联合使用,可以构造强大的公式。
什么情况下使用INDEX函数?INDEX函数可以返回一个值或者对某值的引用,因此可以使用该函数来:查找所选月份的销量;获取对指定行、列、区域的引用;基于给定数目创建动态区域;以字母顺序排序文本列。
INDEX函数的语法INDEX函数有两种语法形式数组和引用。
使用数组形式,返回值;使用引用形式,返回引。
sql常用函数indexSQL常用函数index在SQL中,index(索引)是一种用于加快查询速度的数据结构。
它以键值对的形式存储数据,可以提供快速的数据访问路径。
index可以使得数据库在执行查询时不必逐行扫描整个表,而是直接通过索引值定位到所需数据的位置,从而提高查询的效率。
本文将详细介绍SQL常用函数index 的相关知识。
一、什么是indexindex是一种数据结构,用于在数据库中加速数据的查找操作。
它是一个独立于表的对象,与表一同存储在数据库中。
index通过建立索引(indexing)来加速查询的过程。
索引是一种有序排列的数据结构,保存了指向表中数据的指针。
通过索引,数据库可以更快地定位到所需的数据,而不必逐行扫描整个表。
二、index的特点index在数据库中是一个独立的对象,与表一同存储在数据库中。
它的特点如下:1. 提高查询速度:index可以加速数据库的查询操作,通过指向表中数据的指针,数据库可以迅速定位到所需数据的位置,而不必逐行扫描整个表。
2. 占用额外的存储空间:index需要额外的存储空间来存储索引数据,因此会占用一定的存储资源。
但是,相比于整个表而言,index的存储空间通常较小。
3. 频繁更新会影响性能:当对表进行插入、更新或删除操作时,index也需要进行相应的更新。
如果频繁进行这些操作,index的性能可能会受到影响。
三、index的应用场景index可以在很多场景下发挥重要作用,特别是在以下几个方面:1. 提高查询速度:对于经常进行查询操作的表,通过创建index可以显著提高查询的速度。
2. 加速连接操作:当需要在多个表之间进行连接查询时,通过为连接字段建立index可以提高连接查询的效率。
3. 优化排序和分组操作:对于包含大量数据的表,通过为排序和分组字段建立index可以加快排序和分组操作的速度。
四、创建index的方法在SQL中,可以通过以下几种方法来创建index:1. 在创建表时指定index:在创建表的时候,可以为表的某个字段或多个字段指定index。
7-21-14-python index 用法在Python中,"index" 通常是用来引用序列(如字符串、列表、元组等)中元素的位置或索引的方法。
以下是一些关于 "index" 的常见用法:查找元素的索引:使用 index() 方法可以查找特定元素在序列中的第一个出现位置的索引。
例如,查找列表中数字 5 的索引:my_list = [1, 3, 5, 7, 9]index = my_list.index(5)print(index) # 输出:2如果元素不在序列中,index() 方法会引发 ValueError 异常。
因此,在使用 index() 之前,通常会先检查元素是否存在。
切片和索引序列:使用索引可以访问序列中的特定元素。
Python中的索引从0开始。
例如,访问列表中的第一个元素:my_list = [1, 3, 5, 7, 9]first_element = my_list[0]print(first_element) # 输出:1使用负数索引可以从末尾开始计数,例如-1 表示最后一个元素。
切片操作:使用切片操作可以获取序列中的一部分元素。
切片操作使用冒号分隔起始索引和结束索引。
例如,获取列表中的前三个元素:my_list = [1, 3, 5, 7, 9]sub_list = my_list[0:3]print(sub_list) # 输出:[1, 3, 5]使用索引修改元素:你可以使用索引来修改序列中的元素。
例如,将列表中的第一个元素更改为 10:my_list = [1, 3, 5, 7, 9]my_list[0] = 10print(my_list) # 输出:[10, 3, 5, 7, 9]长度和范围检查:使用 len() 函数可以获取序列的长度,即包含多少个元素。
例如:my_list = [1, 3, 5, 7, 9]length = len(my_list)print(length) # 输出:5这些是"index" 在Python中常见的用法。
index函数的使用方法和vlookupx一、index函数的使用方法Index函数可以说是Excel最强大的函数之一,用它可以实现Vlookup函数的功能,但在性能上比Vlookup要高得多。
1、index函数的一般格式:INDEX ( array, row_num, column_num )其中:array:要从中取值的数组;row_num:行号,从第一行为1开始;column_num:列号,从第一列为1开始。
2、index函数的使用方法:(1)单元格索引其中的array是一个单元格或单元格的范围,而row_num和column_num分别代表需要取值的单元格行号和列号;例如,求数组A1:B5中第3行,第2列的值,可用INDEX(A1:B5,3,2),也可用INDEX(A:B,3,2)。
(2)列索引如果要求数组A1:B5中某一列的所有值,就需要用列索引,此时array只能为一个单元格范围;row_num可以指定为0,这样column_num就可以取值;例如,求数组A1:B5中第2列的所有值,可用INDEX(A1:B5,0,2),也可用INDEX(A:B,0,2)。
(3)行索引如果要求数组A1:B5中某一行的所有值,就需要用行索引;此时array只能为一个单元格范围,column_num可以指定为0,这样row_num就可以取值;例如,求数组A1:B5中第3行的所有值,可用INDEX(A1:B5,3,0),也可用INDEX(A:B,3,0)。
二、vlookup 函数的使用方法1、vlookup 函数的一般格式:VLOOKUP ( lookup_value , table_array , col_index_num , [ range_lookup ] )其中:lookup_value:要查找的值;table_array:要从中取值的表格;col_index_num:表格中的列号,从第一列为1开始;range_lookup:查找方式,可以为TRUE或FALSE,TRUE表示用最接近的值,FALSE表示用精确值。
在Java 中,`index` 是一个非常重要的概念,主要用于数组、列表、字符串等数据结构中。
以下是一些常见的`index` 用法:
1. 数组索引:在Java 中,数组中的每个元素都有一个索引,索引从0 开始。
例如:
```java
int[] arr = {1, 2, 3, 4, 5};
int index = 2; // index 为2,表示第三个元素
```
2. 列表索引:在Java 的集合框架中,如`ArrayList`、`LinkedList` 等,也使用索引来访问元素。
例如:
```java
List<Integer> list = new ArrayList<>();
list.add(1);
list.add(2);
list.add(3);
int index = 1; // index 为1,表示第二个元素
```
3. 字符串索引:在Java 中,字符串也是一个重要的数据结构,它也使用索引来访问字符。
例如:
```java
String str = "Hello";
int index = 1; // index 为1,表示访问字符'e'
```。
index的复数形式复数形式,指的是单数形式的词语表示多个的形式。
在英语中,一些词语的复数形式是通过在单数形式后面加上“s”来表示的。
而有些词语则需要更改单数形式的拼写,才能变成复数形式。
而“index”这个词语的复数形式,就是“indexes”或“indices”。
下面是关于“index”这个词语的一些信息和用法:一、词语定义和意思1. index是指按照一定的规则或顺序进行排序或分类的目录或指南,通常用于参考资料或书籍中。
例如:The book has a comprehensive index at the end.这本书在结尾有一份详尽的索引。
2. index也可以指用于确定或测量某个属性或特征的标准或标志。
例如:Body mass index is a common measure of obesity.身体质量指数是衡量肥胖的一项常用指标。
3. 在计算机领域,index还可以指数据存储或检索的指针或标志,用于快速访问或操作数据。
例如:The program uses an index to quickly search for files.该程序利用索引来快速搜索文件。
二、单数形式和复数形式1. 单数形式:index (音标:ˈɪndeks)2. 复数形式:indexes 或 indices (音标:ˈɪndəsiːz)3. 相关词汇:indexed (过去式/过去分词形式)三、用法示例1. 我建议你在书的结尾查看一下索引。
I suggest you check the index at the end of the book.2. 这个数据库有一个适当的索引,你可以快速找到你需要的信息。
The database has a proper index, so you can easily find the information youneed.3. 这个程序使用了一个自动创建的索引,以提高搜索速度。
index函数如何使用方法index函数是Python字符串的内置方法之一,用于查找指定字符或子字符串在字符串中的索引位置。
它的语法格式如下:pythonstr.index(sub[, start[, end]])其中,str代表要进行查找的字符串;sub代表要查找的字符或子字符串;start 和end是可选参数,表示查找的起始位置和结束位置。
该方法的返回值是指定字符或子字符串在字符串中首次出现的索引位置。
如果未找到,则会引发一个ValueError异常。
下面,我将详细介绍index函数的使用方法,并给出一些示例说明。
1. 查找单个字符的索引位置如果要查找单个字符在字符串中的索引位置,可以直接作为参数传入index函数。
它会返回该字符在字符串中首次出现的位置。
pythonstr = "Hello, World!"index = str.index("o")print(index) # 输出结果为:4在上面的例子中,index函数查找并返回了字符"o"在字符串中的索引位置,即第5个位置(Python中索引从0开始)。
2. 查找子字符串的索引位置如果要查找子字符串在字符串中的索引位置,也可以将它作为参数传入index 函数。
同样,它会返回子字符串在字符串中首次出现的位置。
pythonstr = "Hello, World!"index = str.index("World")print(index) # 输出结果为:7在上面的例子中,index函数查找并返回了子字符串"World"在字符串中的索引位置,即第8个位置。
3. 使用start和end参数查找索引位置index函数还可以通过start和end参数指定查找的起始位置和结束位置。
例如,如果只想在字符串的一部分进行查找,可以设置start和end参数的值。
函数index的用法函数index是Python语言中常用的一个内置函数,它可以用来查找一个字符串在另一个字符串中第一次出现的位置。
它是根据字符串的下标(索引)来查找的,比如说,第一个字符的下标为0,第二个字符的下标为1,以此类推。
使用index函数时,需要两个参数,第一个参数表示要查找的字符串,第二个参数表示要查找的范围。
该函数将返回一个整型值,表示要查找的字符串在范围内第一次出现的下标,如果字符串不存在,则返回-1。
下面举例说明index函数的用法:#找字符串Python在字符串Hello Python!中第一次出现的位置 index(PythonHello Python!)#回的结果为 6,因为Python的第一个字母P出现在Hello Python!的第六个位置另外,如果范围参数不指定,那么index函数将默认查找整个字符串,比如:#找字符串Python在字符串Hello Python!中第一次出现的位置 index(PythonHello Python!)#回的结果仍然为 6此外,index函数还可以接受可选参数start和end,它们可以指定查找的范围。
如果指定start参数,则从此位置开始查找;如果指定end参数,则查找到此位置结束。
例如:#找字符串Python在字符串Hello Python!中从第7个位置开始的第一次出现的位置index(PythonHello Python!start=7)#回的结果为 8,因为Python的第一个字母P出现在Hello Python!的第八个位置另外,index函数也可以接受可选参数encoding,它可以指定字符串的编码,这在处理含有英文字符、中文字符等多种编码的字符串时非常有用。
最后,介绍一个非常实用的函数“rindex”。
它可以用来查找一个字符串在另一个字符串中最后一次出现的位置,函数的使用方法和index函数类似。
总的来说,index函数是Python语言中常用的一个内置函数,它可以用来查找一个字符串在另一个字符串中第一次出现的位置,可以指定查找的范围,也可以指定字符串的编码,这在处理含有多种字符的字符串时非常方便。
index跨工作表引用
要在一个工作表中引用另一个工作表的数据,可以使用
INDEX函数。
以下是使用INDEX函数进行跨工作表引用的步骤:
1. 在使用INDEX函数的工作表中,选择需要引用其他工作表
数据的单元格。
2. 输入以下公式:`INDEX(工作表名称!范围, 行号, 列号)`。
在这个公式中,工作表名称是需要引用数据的工作表的名称。
范围是数据所在的区域,可以是一列数据,也可以是一整个
区域。
行号和列号是需要引用数据的单元格在工作表中的行号和列号。
例如,如果你要引用工作表名为“Sheet2”中的A1单元格的
数据,公式将为:`INDEX(Sheet2!A1:A1, 1, 1)`。
3. 按下Enter键,完成跨工作表引用。
请注意,如果被引用的单元格发生更改或被删除,引用的数据也将随之更新。
如果工作表的名称包含空格或其他特殊字符,需要使用单引号将工作表名称括起来(例如,'Sheet 2')。
希望以上步骤对你有所帮助!。
index函数解读
index函数是一种常见的编程函数,它在不同的编程语言中都
有所对应,我会以Python语言中的index函数为例来进行解读。
在Python中,index函数通常用于查找某个元素在列表中的索
引位置。
该函数的基本语法是list.index(x, start, end),其中
list是要进行查找的列表,x是要查找的元素,start是开始查找
的起始位置(可选,默认为0),end是结束查找的结束位置(可选,默认为列表的长度)。
index函数的作用是返回列表中指定元素的索引位置,如果列
表中不存在该元素,则会抛出ValueError异常。
如果指定了start
和end参数,index函数会在指定范围内进行查找,而不是在整个
列表中查找。
需要注意的是,index函数只返回第一次出现指定元素的索引
位置,如果列表中有多个相同的元素,只会返回第一个元素的索引
位置。
除了Python中的列表,index函数在其他编程语言中也有类似
的功能,例如在C++中的std::vector和Java中的ArrayList等容器类中也有类似的函数用于查找元素的索引位置。
总的来说,index函数是一种非常实用的函数,可以帮助我们快速定位列表中元素的位置,但需要注意处理可能出现的数值错误异常。
希望这个解读能够帮助你更好地理解index函数的作用和用法。
INDEX!! mark comment, 30@@ functions, 94, 97, 114, 261, 495, 515, 516 @NEWLINE, 563@TEXT() function, 563@WRITEFOR function, 5631100% rule, 43–44, 431-set patterns, 12222D cutting stock, 1232-matching, 487AABC’s of modeling, 56 Abdulkadiroglu, A., 487ABOUT LINGO, 29absolute value, 202–3accounting constraint, 56accurate response, 519Acharya, S., 168Acie Knielson, 137 Acknowledgments, xiii–xivactivities, 1activity/resource diagram, 164, 178–80 activity-on-arc, 149–50, 190activity-on-node, 149–50ad hoc procedures, 124Adams, J.L., 222Adams, W., 297additively separable, 271additivity, 5adjustable cells, 56advertising, 414, 475advertising brochures, 132advertising decision, 474aggregation, 557, 566–68Air Force, 165 Airbus 320, 128aircraft, 123aircraft fuel ferrying, 189airline, 60, 123, 168, 191, 193, 223, 325, 398, 502, 515airline hub, 281airline industry, 164airline terminal, 296Alaska Airlines, 428, 429Alcohol, Tobacco, and Firearms, Dept. of, 253 Alirezaee, M., 429all units discount, 270Allen, S. J., 228allocated cost, 60allocation of profit, 37allowable increase/decrease, 39alternate optima, 13, 412, 417–18alternative formulation, 99, 102alternative solution, 479America West Airline, 428American Airlines, 281American Metal Fabricating Company, 103 American option, 356, 361American Petroleum Institute, 241Amin, G., 429amperes, 465AND operator, 323Andrews, B., 532Andrus, S.G., 217Ann Klein, 499API gravity, 241apparel firm, 519apple, 439approximation, 557arbitrage, 398, 441arc, 143arithmetic mean, 239, 255Arizona, 364Arnold Line, 475ARRANGE ICONS, 28ash, 227, 250, 303assignment problem, 144, 281–99, 300–303 asymmetric risk measure, 404ATM, 541attribute, 71auction, 326, 447–51, 469auditability, 95auto industry, 508Automated Teller Machine, 541589590 INDEXautomobile, 330, 515automobile industry, 386 AUTOUPDATE, 29average cost, 364Aviston Electronics, 109Bbacklog, 562backlogged demand, 513backup supply agreement, 499–501 baggage, 281balance sheet, 227Balas, E., 267balk, 534balking, 549bank, 227banking, 327, 435Banks, J., 555barge, 303Barnett, A., 428baseball, 285base-stock policy, 512–15, 539batch size constraint, 262–63beans, 337Beckmann, M., 297benchmark portfolio, 398, 399–406, 404 benchmark study, 437Benetton, 499Bessent, A., 433Bessent, W., 433beverages, 294bicycle, 529bid-ask spread, 380bidding system, 189Big Mac, 256bilingual, 138bimatrix game, 474BIN function, 94binary integers, 30binary representation of a general integer, 262 binary variable, 94, 262binomial distribution, 501binomial pricing, 356binomial tree model, 357–60Birge, J. R., 336Black & Scholes model, 356black market, 454Black, F., 356, 357, 558Black/Derman/Toy model, 358blending, 227–58blending facility, 560 blending, multi-level, 243 Blockbuster, 332bluffing, 558Blumenstein, R., 515BND() function, 94Boeing 747, 128bond, 224bond market, 356bond portfolio, 203book value, 61, 66Boole, G., 262Boolean variables, 262borrow, 225Bosch, R.A., 256Bracken, J., 186Bradley, G., 141Bradley, S., 43Braess, D., 463Braess’s Paradox, 463branch and bound method, 272branch banking, 327Bratley, P., 352Brearley, A.L., 565broker, 447Brompton bicycle, 529Brown, G., 141, 198, 324BTU, 227, 250, 256, 303build-out problem, 57bulk mail, 132bundle pricing, 320, 451–57Buster Sod, 109buyer behavior, 451byproduct, 60CCabernet Sauvignon, 253cabin attendant, 128calcium, 256California, 253call center, 114, 532calorie, 256Canada, 441, 483capacitated plant location problem, 265–70 capacity planning, 531, 532capital gain, 382caplet, 360carbohydrate, 227Carino, D.R., 217, 352CASCADE, 28cash balance management, 365–68cash flow constraint, 208INDEX591cash flow matching, 203–7, 224 casino, 346cassette, 332catalog, 493, 496centistokes, 241CEO, 559cereal, 198certainty equivalence, 345–46chance-constrained program, 368 Charnes, A., 433checkerboard, 331cheese, 197chemical industry, 240chess, 182Chevrolet, 261Chicago, 447chicken, game of, 480chief financial officer, 335chip design, 296chips, electronic, 182chocolate, 432Cholesky factorization, 272, 352, 407–8 Chrysler, 507circuit board, 283, 296, 300circuit board routing, 300circuits in networks, 164Clarke, G., 290Claus, A., 284Clay Mathematics Institute, 275 clearing price, 448, 455CLOSE, 24CLOSE ALL, 28Clue (game of), 333coach class, 503coal, 227, 250, 256, 303coal-fired unit, 217coalition, 482Codd, E.F., 69coefficient of variation, 496 college, 487college admissions, 483column generation, 309, 571, 576 combinatorial auction, 469 COMMAND WINDOW, 28 Commands, 23–29comment, 30communication network, 164, 182 complementary slackness condition, 38 composite variable, 157, 159, 309 computational difficulty, 46, 274–75 computer controlled machine, 284 concave function, 41congestion, 458 conjoint analysis, 293conservation of flow, 465, 466 constrained dynamic lot size problem, 521–29 constrained optimization, 1constraint aggregation, 567constraint limit, 29constructive model formulation, 56–57 continuity, 5Continuous review, 515convex function, 41convex region, 423Cooldot cutting stock, 116Cooper, W, 433cooperation, 482cooperative game, 481Copenhagen, 532copper, 45COPY, 25core of a game, 482, 487corn, 227, 337correlation, 372cost allocation, 60, 471–92cost of capital, 60costing out an activity, 35, 36–37coupon, 110course registration, 447covariance, 371covariance matrix, 396–97Coventry, 558coverage by test, 556coverage by tests, 556covering, 299covering models, 111–40covering problem, 332reducing nonzeroes, 569–71CPM, 55, 86, 144–49cranberry, 110crashing, 193crashing of projects, 144, 150–57Craven, J. P., 86creative, 577crewing basing constraints, 128Critical Path Method, 55, 86, 144–49cross of sets, 70cross-sectional aggregation, 557crude integer programming, 326 Cumulative Load Formulation for TSP, 283 currency exchange, 191CUT, 25cutting plane method, 272cutting stock, 115–23, 140, 300, 311, 572–76 cycle inventory, 510cyclic problem, 217592 INDEXcyclic vehicle routing, 222DDalton, L., 332Dantzig, G., 159, 241Dantzig, G. B., 283Danusaputro, S., 283data envelopment analysis, 433–38 DATA section, 73–75data set allocation, 327database, 95DATABASE USER INFO, 25 databases, 75Dauch, D.E., 507Davis, L., 158DEA, 433–38deadheading, 125decision support system, 555–78 decision variables, 568 decomposition, 557defeasance of balance sheet, 203 defect, 123definitional constraint, 56 degeneracy, 11–18, 13, 16–18Deglo Toys, 57delivery, 300Dell, R., 198Delta Airlines, 168, 281demand requirements, 124Dembo, R., 336dense derived set, 83dense set, 71density, 240Department of Energy, 443 depreciation, 211derived set, 71–72Derman, E., 357DeRosa, D., 361designing of reports, 560–61 Deutsche Mark, 361developing the model, 556 dimensional analysis, 63 dimensional view of reports, 561 Dines/Fourier/Motzkin elimination, 159 disaster planning, 214disjunctive formulation, 267disk drive, 503disk file allocation, 296disk storage device, 327distribution center, 192, 292, 515 distribution system, 141, 144 diversion matrix, 502dividends, 372, 382dormitory, 90double entry bookkeeping, 162–63Dow-Jones Industrial, 384downside risk, 347, 393–97dual degenerate, 16dual of network LP, 280dual price, 7, 8–9, 12, 13, 35–38, 267, 276, 562, 571, 576dual problem, 45–47dualing objectives, 375duality in networks, 149due date, 122dummy activity, 150duration, 254Dyckhoff, H., 121dynamic, 197dynamic lotsizing, 267, 521–29dynamic network, 214dynamic programming, 315, 356–57EEast Germany, 441economic equilibria, 441–69economy of scale, 537edge waste, 115, 122Edie, L., 112Editing a Model, 30Efficient Benchmark Portfolio, 404–5 efficient front, 375efficient frontier, 413, 416, 428–33efficient market, 389efficient points, mixed case, 432–33electric power industry, 217electrical distribution, 364electrical network, 463electrical utility, 325, 350electricity, 411, 465electronic circuit board, 283Ellis, C., 324Elshafei, A., 297end effect, 216–17end waste, 115, 122energy policy, 443entering a problem, 29–30enumeration tree, 273environmental interests, 412Eppen, G., 217, 355, 372, 386, 502, 522 equilibium network flows, 465–67 equilibrium strategy, 476INDEX593equities, 163Erlang C model, 536Erlang loss model, 536Erlang, A. K., 532Erlang-B, 536error of approximation, 63error of formulation, 62–65European option, 356, 361evacuation, 214Evans, J.R., 557EVMU, 345EVPI, 344–45Excel, 95exchange rate option, 361–63exclamation mark, 30EXIT, 25expected value of modeling uncertainty, 345 expected value of perfect information, 344–45 exponential distribution, 533exposures in advertising, 414expressway repair, 152Ffabric, 123face value, 204facility layout, 296Fahrenheit, 240farmer, 337, 398, 411fast food restaurant, 555feasible solution, 6, 133, 562feasible tour, 126Federal Express, 165federal regulation, 237feed, 227ferry, 475ferry fuel, 164fertilizer, 252Festus City staffing, 131fiber optic, 258Fields, C., 228file, 95file allocation, 296, 327Fillon, M., 412filter, 71financial, 203financial portfolio, 55financial agreement, 568financial index, 56financial industry, 254financial option, 356financial packing, 307 FIND, 26FIND NEXT, 26first class seat, 503first-order conditions, 247Fisher, M., 496, 519fisherman, 412fixed charge problem, 263fixed cost, 122flashpoint, 241fleet routing & assignment, 168–76, 218 fleet sizing, 60flexible spending account, 530flood control, 412flooding, 335Florian, M., 461Flying Tiger Airlines, 124FOB, 508, 510food, 227football, 329forecast error, 507foreign exchange rate option, 361–63 forest planning, 158forest products, 198formatted output, 563formulation, 126formulation of portfolio problems, 405–6 Foster City, 207Fourier/Motzkin/Dines elimination, 159 Fox, B., 352Fra Luca Pacioli, 162fractional answers, 121fractional programming, 242–43free variable, 94Freeport Community College, 139 frequency assignment, 296fruit packing, 439FTL(Full Truck Load) routing problem., 168 Fudenberg, D., 471fuel, 55, 254, 338fuel ferrying, 189fuel purchasing, 164fuel tank truck, 324Fulkerson, D. R., 283functional approximation, 557GGaballa, A., 532Gale, D., 483gallons per mile, 237gambler, 346game theory, 56, 423, 471–92594 INDEXgas-fired unit, 217gasoline, 61, 227, 331, 465gate assignment, 296general equilibrium model, 463 general integer, 31, 94, 262 General Motors, 55, 217, 502, 515 generalized mean, 240–42 generalized networks, 164 GENERATE, 27Geoffrion, A., 157geometric mean, 239, 255German Mark, 361German writer, 469Germany, 441Gibson, R., 555GIN function, 30, 94, 114, 261 glass, 123glass bottle, 441glass fiber, 241, 258global solver, 17, 457Glover, F., 443GO TO LINE, 26go/no-go, 262goal programming, 411–39, 416–22 Goethe, 469Gould, F.J., 372government, 326government securities, 203grain, 227grain storage, 243Gram-Schmidt orthogonalization, 353 grape juice, 228graphical analysis, 2–4Graves, G., 141, 157, 324 Graves, R. L., 447gray market, 454greedy heuristic, 266 Greenberg, H. J., 32Grinold, R., 216grocery store, 513Gross, D., 532Grötschel, M., 293grouping, 299, 332guess, 246guillotine cut, 123H Hadley, G., 179Haggard, M., 332Hamlet variable, 262Hansen, C., 465 Hanson, W., 320harmonic mean, 240, 255 Harris, C., 532Haverly, C., 243Hax, A., 43health insurance, 58Heath, D., 357hedging, 398, 399Held, M., 315HELP TOPICS, 29heuristic, 266heuristic for TSP, 284heuristic procedures, 124 Hewlett-Packard, 509Hidroeléctrica Española, 336 high school ranking, 429 highschool, 487highway maintenance, 364 highway repair, 150hiring and firing cost, 199 holdback agreement, 499 holdback inventory, 519–21 hospital, 20, 112, 483hotel, 567house of representatives, 422 Houston, 433hub, 281hub system, 166 hydroelectric, 214, 335 hyperbolic programming, 242–43I IBM, 332IBM RS6000, 182Illinois, 227 implementation, 555–78 IMPORT LINDO FILE, 25 importance sampling, 350 inbound call center, 547 incentive, 150incentive compatibility, 487 incentive compatible, 483 income tax, 211–16 incremental units discount, 270 inequalities, 29Infanger, G., 336, 350, 386 infeasible formulation, 10–11 INIT section, 246initial guess, 246 initialization, 246input data, 565INDEX595input-output matrix, 293input-output model, 55, 176INSERT NEW OBJECT, 26integer programming, 30–32, 261–333, 576 integral Leontief, 276integrality restriction, 114intelligent enumeration, 272interest rate option, 357internal rate of return, 210Internal Revenue Service, 225 international affairs, 471inventory, 493inventory balance constraint, 217 inventory positioning, 516inventory restrictions, 122inventory turns, 535inventory variable, 197, 198 investment, 371iron, 256irrigation, 109Irving, R., 487Islandia, 176iso-cost line, 3iso-profit line, 3JJ.P. Morgan, 391Jahanshahloo, G., 429Jarrow, R., 357Jeroslow, R., 164, 276jet fuel, 241jobshop scheduling, 155Johnson, K., 158Johnson, S. M., 283join of sets, 70joint cost, 58, 60joint product, 60–62Jorion, P., 391KKall, P., 336Karp, R., 315Karush, W., 38Kasparov, G., 182Kehoe, T.J., 456, 457Kelly-Springfield Tire Company, 522 Kennington, J., 433Kernighan, B., 284Khachian, L., 275kidney donor, 483Killion, C.L., 124King, R.H., 522KISS (Keep It Simple,...), 556KKT condition, 37–38Klingman, D., 443knapsack, 574, 576Kontogiorgis, S., 168Koopmans, T., 297Kruskal, W., 181Kuhn, H., 38LL.L. Bean, 493, 532labor contract, 58labor market, 483Ladino, G., 435Lagrange multiplier, 37–38lakefront, 481Lands End Outlet store, 496Lasdon, L., 237, 240, 522Lawler, E., 283lead time, 214, 507leap year, 561Lee, C., 283Leontief flow, 164, 176–78Leontief LP, 276Leontief, W., 55, 164Less than TruckLoad, 289less-is-better, 430–32lexico goal programming, 419–22lexico minimization, 422–27 liabilities, 163LICENSE, 25Lin, S., 284Lincoln Tunnel, 112linear complementarity problem, 474, 477 linear loss function, 495linear loss function, Poisson, 515linear ordering, 293–95Linear Products Company, 529linear programming, 1, 116linearity, 5–6linearization, 240linearizing products of variables, 316–23 LINKS, 27Linux, 23LIST OF WINDOWS, 28littering, 441Little's equation, 535Liz Claiborne, 499loan, 227596 INDEXlocal optimal, 247local optimum, 17lockbox location, 264log, 262LOG OUTPUT, 24logical expression, 323–24LOOK, 28loose formulation, 266lost sales, 502, 514lotsizing, 493lottery, 140, 332Love, R.R., 522lower bound, 94lower triangular matrix, 407LTL, 289lumber, 66MMackinac Island, 475Mackinaw City, 475MAD, 396Madansky, A., 386Madsen, K., 465Magnanti, T., 43mail order, 139mail processing, 132mailing lists, 131, 138maintenance, 176, 364maintenance of a model, 556make-or-buy, 262Manne, A., 364map coloring, 300marginal analysis, 494, 497, 499Mark, German, 361market factor, 384market share, 490market value, 61marketing, 139, 293, 471marketing the model, 559–63Markov decision process, 364Markowitz, H., 371marriage problem, 483Marsten, R.E., 124Martin, K., 32, 159, 164, 217, 267, 275, 276, 320, 355, 386, 502, 522Martin-Vega, L., 283Maschler, M., 423mass mailing, 131mastermind, 328MATCH PARENTHESIS, 26match the covariance matrix, 396 matching, 90, 299, 399matching portfolio, 398matching scenarios to targets, 351 material balance, 197material requirements planning, 164, 522 mathematical programming, 1matrix generation, 565maximal flow, 144McCormick, G., 186McDonald's restaurant, 257McGee, E., 228McVitie, D., 486mean absolute deviation, 396mean time between failures, 533 measure of risk, 389–93media selection, 413medical expense, 530Mehrabian, S., 429membership filter, 71, 90–94memory limit, 29memoryless property, 534metal, 227METRIC model, 515–18Mexico, 441Michigan, 475Microsoft Windows, 95miles per gallon, 237, 254military combat, 471Millenium prize, 275Miller, C. E., 284milling in transit, 157milling-in-transit, 158minimax hurt, 422–27minimax strategy, 472–74minimum spanning tree, 293Mitra, G., 565mixed strategy, 473, 476Mobil Oil, 324model formulation, 53–67Model I approach, 158Model II approach, 159MODEL STATISTICS, 27 moisture, 227, 250, 303Moldovanu, B., 469Moore, G., 132more-is-better, 428–30Morton, A., 357Mother’s Day, 159motorists, 152Motzkin/Dines/Fourier elimination, 159 movie distributor, 320MPS FILE, 25MRP, 164, 276, 522INDEX597MTBF, 533Muller, M.P., 124Multi-commodity Flow Formulation for TSP, 284 multicommodity network, 164–65multi-echelon base stock, 515–18multiperiod network, 214multiperiod planning, 197, 335multiple criteria, 411–39, 442multiple optima, 11–18, 16, 479multiple rates of return, 210multiple skills, 114multiplicative, 5multiproduct inventory, 502–6multiproduct lot sizing, 521–29multi-stage newsvendor, 496–506Multisys, Inc., 503Murchland, J. D., 463music, 332NNAFTA, 441Nahmias, S., 507, 509Nash equilibrium, 477National League, 285National Resident Matching Program, 483 natural gas, 224natural gas pipeline, 164naturally integer, 141, 279–80naval petroleum reserve, 326navigation, 335NBA basketball draft, 491negotiation, 471Nelson, W., 332Nemhauser, G., 272nervousness, 198net worth, 209network LPs, 55, 143, 276Model I approach, 158Model II approach, 159network with gains, 164networks, 141–95, 463NEW, 23New York, 487New York Port Authority, 112news vendor problem, 493–96, 493, 494, 503 newspaper, 289niacin, 257Nielsen, H. B., 465Nikkei index, 384nitrogen, 252no feasible solution, 6, 10 Nobel Prize, 377node, 143non-constant sum game, 474–81 nonlinear network, 186–88nonlinear profit function, 99nonlinear program, 202non-optimal behavior, 218non-optimal solutions, 558 nonsimultaneity error, 65Normal distribution, 495, 501Normal form, 69Northeast Tollway staffing, 112–15, 134 Norway, 483NP-complete, 275n-person game, 481NP-hard, 275NRMP, 483nucleolus, 423Ooats, 227Obermeyer, 496, 519Object Linking and Embedding, 95 OBJECT PROPERTIES, 27octane, 227ODBC, 25, 75, 95, 97ohms, 465OLE, 95Omaha, NE, 114one hundred % rule, 43–44one-time study, 556on-the-fly column generation, 571–76, 574 OPEN, 24Open Database Connectivity, 95optical instrument, 135optimal solution, 576option, 356optional stop TSP, 289OPTIONS, 27OR operator, 323order splitting costs, 122origin/destination pair, 164Orlin, J., 222orthogonalization, 353overage, 122overbooking, 501, 556overstaffing, 115overtime, 151, 223598 INDEXP packing, 299, 330packing problem, 303–16 Padberg, M., 284painting of cars, 283 pairing, 125pairwise comparison, 294 paper, 115paper industry, 311Pap-Iris Company, 132 paradox, 463parametric analysis, 375–79 parent set, 71Pareto optimal, 412, 461 parking garage, 501 Parsons, H., 532 partitioning, 299part-time help, 137 PASTE, 25PASTE FUNCTION, 26 PASTE SPECIAL, 25path formulation, 157–59, 309 Pathak, P., 487patient distribution, 165 pattern pairing, 123pattern selection, 115–23 Pearce, W., 532Peiser, R.B., 217Peleg, B., 423 Pennsylvania, 227pension fund, 203perfect information, 344 perfume industry, 45 periodic review, 513 perishable product, 217 Perold, A., 386personal injury lawsuit, 203 PERT, 55, 85PERT/CPM, 141, 144–49 petroleum, 198, 243, 331 petroleum industry, 1 petroleum reserve, 471 phase-out problem, 66 Phoenix, 428phone, 194 phosphorous, 252picture, 142PICTURE, 27piecewise linear, 268 PIES, 443pilot, 128, 223 pipeline, 243pipeline inventory, 508, 509planning horizon, 58, 217plant location and vehicle routing, 292plant location problem, 263–64Plante, R.D., 557plastic wrap, 115, 123plywood, 66Poisson distribution, 501, 515poker, 558Polaris submarine, 86political candidate, 138political events, 336political organization, 131pooling, 243–48portfolio models, 371–409Postal Optimality Analysis, 132 postponeable demand, 115postprocessing/disaggregation, 566, 568 potash, 252PPL() function, 515, 516prayer algorithm, 275–80predictive dialing, 541preemptive goal programming, 419–22 preemptive objective, 411Preface, xiii–xivpresent value, 203, 210pressure drop, 466price strategy, 471primal degenerate, 16primitive set, 70–71print, 24, 509PRINT, 24PRINTER PREVIEW, 24PRINTER SETUP, 24prisoner's dilemma, 475–76Pritzker, A., 155probability, 140, 186, 241process selection, 103–7product mix, 1–4, 99–110product of variables, 271Program Evaluation and Review Technique, 55, 144–49program trading, 398proportional representation, 422 proportionality, 5protein, 227, 256PSL() function, 495public service organizations, 131 pumpkins, 60pure integer program, 261pure strategy, 472Puterman, M., 364INDEX599puzzle, 328, 333, 563QQ,r model, 507–12Qantas Airline, 532quadratic assignment problem, 296–99 quadratic programming, 371 quadratic utility function, 393 quality, 227, 237–39quality measure, 240quantity discount, 5, 268, 454queue discipline, 532queuing theory, 139, 532–35 Quinn, P., 532RR. R. Bean, 139Raborn, W. F., 86radio frequency assignment, 296 radio frequency spectrum, 469 railroad, 19Raman, A., 496, 519ranch, 469random strategy, 472, 476random variable, 55RANGE, 27range analysis, 35, 38–44range name, 95ranking, 293, 294Rardin, R., 164Reagan, B., 433real estate, 469recapture of lost demand, 502 recreational interests, 412 recycling, 45reduced cost, 7, 8–9, 13, 35–38 reducing model size, 563–71 reducing nonzeroes, 569redundant constraint, 16–18 reference solution, 198refinery, 243REGISTER, 29Reid vapor pressure, 240 reneging, 534, 549rented vehicles, 176REPLACE, 26report format, 56, 563reports, 559–63reports in LINGO, 563 resistance, 465 resource constraints, 155 resources, 1restaurant, 543return, 371revenue management, 191 Rhodes, E., 433riboflavin, 257Riefel, R., 253Rigby, B., 237, 240Rinaldi, G., 284risk, 371risk averse, 346–50, 389risk-free asset, 375–77 RiskMetrics, 391river shipping, 411Roache, P.J., 556road network, 182Rogers, D.F., 557rolling format, 197Ronen, D., 324room scheduling, 567 roommate assignment, 300, 301 roommate problem, 90room-mate problem, 487Rose, P., 285Rosenthal, R., 253rostering, 114, 128rotation, 125Roth, A., 483, 487Rothblum, U., 487Rothstein, M., 556Rotorua, 439roulette, 346rounding up heuristic, 576round-up feature/cutting stock, 140 routing, 111, 168, 289–92row aggregation, 566row generation, 576row operation, 276, 279Roy, A., 371royalty fee, 469SS&P 500, 56, 372, 384, 398, 399 safety lotsize, 501–2salt, 338salvage value, 217Sampson, R., 491 Samuelson, D., 541San Francisco, 428Sankaran, J., 423600 INDEXSarrafzadeh, M., 296Savage, S., 56SAVE, 24SAVE AS, 24Saving a Model, 30savings account, 203Sayre-Priors Airline, 124, 134scalability, 95scaling, 32scaling networks with gains, 164scenario approach, 267, 336–38, 386–87, 402–4 Schmidt, C., 372Scholes, M., 356school assignment, 265school ranking, 429Schrage, L., 217, 352, 355, 386, 502Schuster, E. W., 228Schwindle Cycle Company, 277–79scoring, 434Scotland, 483seasonal product, 493Seattle, 428seawall, 481secondary objective, 198second-shift labor, 151security level, 331segregated storage, 324SELECT ALL, 26SELECT FONT, 26sell crude oil, 326semicolon, 30semiconductor manufacture, 501semi-continuous variable, 263semi-variance, 394–96SEND TO BACK, 28sensitivity analysis, 8–9sensitivity analysis of constraint coefficients, 44–45 separable function, 271–72separation of data and system structure, 558–59 separation theorem, 377sequencing, 122, 284, 293Serafini, P., 422service industries, 111–40service system, 531–54set partitioning, 129sets, 69–98covering, 129packing, 129sewer lines, 182Sexton, T.R., 435Shapley value, 483Shapley, L., 423, 483Sharpe ratio, 378–79 Sharpe, W., 384shelf life constraints, 217shelf space allocation, 513 Sheplers, 475Sherali, H., 297Sherbrooke, C.C., 516, 518 Sherman, H.D., 435ship scheduling, 198, 557 Shmuzzles, 66shoe factory, 559shortest/longest path, 144sign convention, 8signing off on system structure, 562–63 silo, 324simple lower bound, 94simple upper bound, 46, 94simplex method, 141Singapore, 483single-sourcing, 265ski parka, 493slack variables, 12sliding format, 197slow moving item, 515Snake Eyes condition, 13–16snicker test, 561snow removal, 369social optimum, 461–63Social Security, 58soft constraints, 416–22software, 556solution, 121SOLUTION, 27solution analysis, 6–7solution report, 7, 35SOLVE, 27solving a model, 30, 32Sonmez, T., 483sorghum, 337sources = uses, 56, 142, 197, 200 soybeans, 227Spanish, 138spanning tree, 180–82, 293sparse set, 71, 90–94specific gravity, 241spill, 502split the pie, 471Sport Obermeyer, 496, 519sport utility vehicle, 438sports tournaments, 293 spreadsheets, 94–97SQL interface, 97SR-71, 241St. Libory Quarry, 134。