| MS&E 111/ENGR 62.
Introduction to Optimization |
| Autumn 2007, Stanford University |
| Lectures: MW 2:15-3:30, HEWLETT
201 |
| Lab/discussion section: F 2:15-4:00, EDUC 128 |
STAFF
Please send email to
msande111-aut0708-staff@lists.ouruniversity.edu unless you need to very
specifically contact a CA or the instructor
Instructor:
Ashish Goel, ashishg@ouruniversity.edu. Terman 311. Cell phone
number:
650 814 1478. Office hours Tu 2-3:00 pm (starting Oct 2)
Course assistants:
Brad Null, null@ouruniversity.edu. Office hours: F 12:30-1:30, Terman
491.
Benjamin Yolken, yolken@ouruniversity.edu. Office hours: Th 5:30-6:30
pm,
Terman 324.
If you are auditing the class, please
subscribe to
msande111-aut0708-guests .
ESSENTIAL
CLASS INFORMATION
Course Objective: To
learn the basics of linear programming; applying linear programming to
various
real life problems; introduction to network flows; introduction to
dynamic
programming; Excel examples.
Textbook: There will
be no formal required textbook. We will use lecture notes by Benjamin
Van Roy and Kahn Mason, and occasionally supplement it with additional
notes. The
following are good reference texts and
will be placed on reserve at the Engineering library.
- Introduction to Operations Research by Frederick S. Hillier
and Gerald J. Lieberman
- Introduction to Linear Optimization by Dimitris Bertsimas and
John N. Tsitsiklis
Laptops:
While not strictly required, a laptop with Excel and more
than 2 hours of battery capacity will be very useful.
Course load and exams: There
will be seven HWs, and we will count the best six. There will be a 90
minute in-class midterm on Oct 29th, a 2 hour comprehensive (i.e. everything included) final exam on
Dec 10 at 12:15pm, and a 2 hour take home lab exam handed out on Dec
10th. All exams will be
closed-book. The HWs, the midterm, and the final will each be worth 30
points. The lab exam will be worth another 15 points. This adds to 105
points -- if you get 100 or more (no exceptions, even if you get
99.9999) you will get an A+ .
Discussion section timetable: The
sections on Fridays Oct 5, 12, 19, and Nov 9, 16, 30 will be lab
sections. The section on Sep 28 will be an Excel tutorial. You are
welcome to bring your laptop and try things along with the CAs. The
sections on Oct 26 and Dec 7 will be review sessions for the exams. The
tutorial and the review sections will be from 2:15-3:30.
Lab
sections: The lab sections will open with a short
demonstration by the CAs. Then you will do a small problem on your own
(with a partner if you prefer) and check the answer against the one
provided by the CAs. The lab sections will be over by 3:30, but you
should feel free to hang around till 4:00 if you need any help about
any part of the lab or if you have general Excel questions. Please
bring your own laptop (or share one with your partner). If you don't
have a laptop, and can't find a partner who does, let us know and we
will schedule a make-up section for you on Fri mornings. The CAs will
post the lab problems in advance. You are welcome to try
them out at home instead of the lab section if you prefer. Attendance
is optional, and you don't
have to submit the results of the lab problems.
Collaboration policy for the HWs:
You can discuss general strategies with other people but must solve all
the problems yourself. You can do the Excel problems in the HWs with a
partner if you wish; in that case your partner and you can submit just
one copy of the Excel problem separate from the rest of the HW.
For Excel problems, submit the answer report (solution)
from Excel and also your Linear Program formulation, with a brief
description of the variables, and the constraints.
Extension policy for HWs: There
will be no extensions for HWs except for documented medical reasons.
The HWs will be posted on Monday morning during the weeks which have a
lab section, and will be due next Monday in class.
List
of topics with suggested reading (subject to change):
- Introduction to linear programming; the knapsack problem. Chapter
1 of Van Roy/Mason's notes (VRM 1), and section 1 of the supplemental
notes (G.1)
- Matrix notation, graphical representation, and standard forms
(VRM 2.1, 3.0, 3.1, G.2)
- Linear programming examples: matchings (VRM 1.0.1, G.3),
contingent claims (VRM 3.6, 2.4.1, 2.4.2), pattern classification (VRM
3.7)
- Some linear programming tricks: minimizing the max,
maximizing the min, minimizing the absolute value (G.4)
- Convexity, basic feasible solutions,
and optimality of basic feasible solutions (G.5, VRM 3.1-3.3), linear
programming algorithms, the knapsack
problem revisited (G.6.1)
- Production problems (VRM 3.5)
- Network flows: min-cost flow and the integrality of its basic
feasible solutions; special cases of min-cost flow -- max-flow,
shortest paths, matchings (VRM 5.1-5.2, G.7)
- Duality and complementary slackness (VRM 4.1-4.3), the knapsack
problem revisited (G8.1-8.2)
- Network flows: duals of shortest paths (G8.3); the min-cut
problem (VRM 5.3)
- Brief introduction to dynamic programming: knapsack, longest
common subsequence (G9)
- Two person zero-sum games (covered briefly, not part of exam
syllabus)
- Other examples and special topics (TBD)
LECTURE
NOTES
The text by Benjamin Van
Roy and Kahn Mason:
Supplementary notes by Ashish Goel
(updated 12/3/7)
Other supplementary material:
HANDOUTS
- Homework 1
- Lab 1 (click here for the .xls we built
during the lab)
- Homework 2
- Lab 2 (iris.xls,
solutions spreadsheet)
- Homework 3
- Lab 3 (click here for an.xls solving this problem)
- Practice midterm (question 1 graph)
- Practice
midterm solutions
- Homework 4 (currencies.xls)
- Lab 4 (telco_example.pdf, solutions spreadsheet)
- Homework 5
- Lab 5 (solutions)
- Homework 6 (blast.txt, largemaxflow.xls)
- Notes from discussion section on Monday, December 3 (section_notes.pdf)
- Practice problems for the final
(revised)
- Solutions to practice
problems for final
HW solutions are handed out in class. Extra copies can be found in the
folders outside Terman 491.
AVERAGES AND STANDARD
DEVIATIONS
HW/Exam
|
Average
|
Standard
Deviation
|
MAX
|
HW 1
|
79
|
13.4
|
98
|
HW 2
|
31
|
7.9
|
40
|
HW 3
|
43
|
13.4
|
59
|
Midterm
|
39
|
10.9
|
50
|
HW 4
|
25
|
9.1
|
36
|
HW 5
|
49
|
6
|
59
|
HW 6
|
30
|
11.0
|
44
|
Final Exam
|
40.0
|
14.9
|
62
|
Final Lab
|
17.2
|
3.6
|
20
|
Total
|
74.9
|
23.5
|
104.5
|
ANNOUNCEMENTS ARCHIVE
- 9/26 - Just a reminder that there is an Excel tutorial scheduled
for
this Friday, September 28, 2:15-3:30PM in Education 128. Please bring a
laptop if you have one (if not, you can partner with another student).
I've posted a file on the course website that we'll be using. We'll go
through the first problem together, and then I'll have you work on the
second and third problems on your own.
- 10/1 - This week's homework and lab problem have been posted on
the Handouts section of the webpage. We will do the lab problem
together on Friday. The homework is due in class next Monday.
- 10/1 - The LP corresponding to example 3.6.1 in VRM has been
posted under supplementary material. We will discuss it some time over
the next two lectures.
- 10/7 - The spreadsheets we created during the lab on Friday are
now on the website (linked to next to the lab handout).
- 10/7 - Brad will not have office hours Friday the 12th. Instead
there will be office hours Wednesday 10/10 at 4 pm in Terman 491.
- 10/15 - HW3 is posted on the website - it is due 10/24, Lab 3
(for 10/19) will be posted by Wednesday.
- 10/17 - Lab 3 is posted. Also, extra copies of old homework
solutions are now available outside Terman 491.
- 10/19 - HW1 has been graded and can be picked up at OH or the Lab
today or after class Monday. Please contact Brad if you have any
questions about the concepts or grading from the HW.
- 10/22 - A couple of announcements:
- HWs 1 and 2 will be available after class today. Afterwards,
all remaining HWs will be in the bin outside Terman 491 for you to
pickup as you wish
- A spreadsheet solving Lab 3 is now on the website.
- 10/23
- Practice midterm is posted.
- This Friday's session will be devoted to review.
- 10/31 - Pick up graded midterms at Thursday office hours or after
class Monday.
- 11/4 - HW4 has been posted and is due on 11/14. Lab 4 has been
posted as well.
- 11/5 - As promised, an updated excel file for the shortest path
problem that demonstrates the formulaic approach to computing the
incidence matrix "A" has been posted above.
- 11/6 - Graded midterms can be picked up during Professor Goel's
Office Hours. Midterm solutions can be picked up outside Terman 491 in
the same locations as graded HWs and HW solutions.
- 11/16 - HW5 and Lab5 are now on the website. We will do the lab
together today. The homework is due in class the Wednesday after
Thanksgiving (11/28).
- 11/27 - Office hours on Thursday and Friday this week are
cancelled. Instead there are additional office hours Wednesday 11/28 at
3:30pm in Terman 491 and Monday 12/3 at 5:30pm in Terman 324.
- 11/29 - A summary of recent announcements:
- The excel spreadsheet for determining the longest common
subsequence is now on the website.
- HW6 is also online and is due next Wednesday.
- No OHs for the rest of the week
- No lab Friday
- Makeup section/OH on Monday 6-8PM in Terman 453
- 11/30 - The due date for HW6 has been extended to Friday 12/7 at
2:15 (before the Review session)
- 12/3 - HW5 is graded and will be returned along with solutions
after class on Wednesday.
- 12/6 - Practice problems for the final have been posted. We will
review some of these in the review session tomorrow. Solutions will be
posted Saturday.