MGOC10H3 Lecture Notes - Semicolon, List Box

73 views5 pages
23 Sep 2012
School
Course
Professor

Document Summary

Chapter 2 solving lp models with lindo solver suite: can use lingo - www. lindo. com, can download student/demo version of software, 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 - . Conversely, only variables and their coefficients are permitted on the left-hand side of constraints: @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. # of soldiers produced = x1 = 20, # of trains produced = x2 = 60, profits=objective value =.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents