MGOC10H3 Lecture Notes - Lecture 11: Semicolon, List Box
Document Summary
Chapter 2 solving lp models with lindo solver suite: can download lingo demo version at http://www. lindo. com/index. php/ls-downloads/try- lingo or from the course website (windows version, can also solve linear programs with excel see textbook appendix 2. 3. Some lingo syntax: there is an = after the max or min in objective. Min = 6*v11+ 2*v12: lingo statements end with semicolon, start program with model: end of program with end , arithmetic operators: power ^ , multiply * , division / , addition + , subtraction - . @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. # of soldiers produced = x1 = 20, # of trains produced = x2 = 60, profits=objective value =. A company produces two products using three machines.