MGOC10H3 Lecture Notes - Lecture 3: List Box, Semicolon
Document Summary
Chapter 2 solving lp models with lindo solver suite. Can download lingo - www. lindo. com student/demo version or from the course website. Can also solve linear programs with excel see textbook appendix 2. 3. There is an = after the max or min in objective. Arithmetic operators: power ^ , multiply * , division / , addition + , subtraction - . Start program with model: end of program with end . Limit of 32 characters in variable name, must begin with a-z. To enter type <= , to enter type >= . Comments may be placed anywhere, comments are denoted by ! and end with ; . @free(x1) - allows variable x1 to be unrestricted in sign. @bin(x1) specifies that x1 is 0 or 1 (binary) Lp model x1 = # soldiers produced each week x2 = # trains produced each week. 1x1 + 1x2 80 x1 40 x1 0 and x2 0.