OPRE 354 / COMP 312 (2017)

Simulation and Stochastic Models

Welcome to the home page for OPRE354 and COMP 312 Simulation and Stochastic Models. This page provides information about the course, and will be updated as the course proceeds. You should visit this page frequently to ensure that you are aware of changes. If you find errors, note omissions, or have any other comments regarding these pages, please send them to A/Prof Stefanka Chukova.

An interesting part of the course is a group project where you measure and model the operation of a real system of your own choice. The queues in the pictures were studied several years ago. Other studies have involved a computer help desk, a post shop, a hair-cutting salon and the Bluebridge Cook Strait Ferry.

IMG 0773.JPG IMG 0771.JPG

ProblemSets | CourseDiary | Python | Project


STAT483 Data management, programming and application presentations (notice posted 26/06/2017)
Students' presentations on writing a software project using R (shiny) will be on Thursday, 9:00 - 12pm, MY632, 29 June 2017. For more, please see for more http://sms.victoria.ac.nz/Courses/SCIE201_2017T1/400level

Interm marks (notice posted 06/6/2017)
The interm marks, as per my records are in here. Please check these and let me know if any adjustment is needed.

PROJECT PRESENTATION and REPORT (notice posted 30/05/2017)
It is a requirement (and courtesy) that all groups go to all of the talks on Thursday, 8 June 2017. The team project report is due on Friday, 9 June 2017. Each team should email a zip file to A/Prof Stefanka Chukova by midnight of 9 June 2017 consisting of:
  • team report;
  • individual reports of the team members (each individual report should be in a separate file);
  • the file of the collected data in machine readable format;
  • the file with all your programming codes, indicating clearly their purpose.
The schedule for the presentations is as follows:

8 June 2017, 5:00 - 7:30pm, KK203.
  1. Group 3
  2. Group 4
  3. Group 2
  4. Group 1

The presentations are for 20 min + 5 min questions/answers. Team members should be able to answer questions on any part of the project.

Study session (notice posted 30/05/2017)
A study session before the final exam will be held 9:00 - 10:00am on Monday, 26 June 2017 in CO431.

Practical Exam (notice posted 25/5/2017)
Reminder that on Thursday 25th May, from 10:00-11:00am in Cotton 238 (the computer lab) we will have the Practical Exam for OPRE354/COMP312. This is an open book exam, so you can bring notes with you and use any files that you wish. The questions are on using Python and SimPy to implement and run simulation models. "The practical part of the final examination must be sat." - is one of the MANDATORY COURSE REQUIREMENTS.

Tutorial 9 (notice posted 17/05/2017)
has been modified to include an additional Python problem.

Lab 8 solutions (notice posted 12/05/2017)
are posted online in Python page under SimPy Resources net1.py and net2.py. They might be useful for Assignment 8.

Quiz 4 Reminder (notice posted 6/5/2017)
Quiz 4 will take place in the usual lecture time on Wednesday 17 May 2017, starting at 10:00pm. It will include the Queueing/Networks topics covered weeks 5 - 9 (including Monday lecture of week 9). Please read the course information sheet (below) for more information.

Quiz 3 Reminder (notice posted 6/52017)
Quiz 3 will take place in the usual lab time on Thursday 11 May 2017, starting at 10:00pm. It will cover simulation models in SimPy, i.e., all of "Bites of SimPy" (sections 3.1-3.5), "The Bank Tutorial" and "Lectures on SimPy". This will be an open book quiz, i.e., you can bring any notes or handouts you wish. Please read the course information sheet (below) for more information.

Quiz 2 make up Reminder (notice posted 6/4/2017)
Quiz 2 make up will take place in CO431 on Monday 10 April 2017, starting at 9:00am. It will cover the first four weeks of the Queueing topics. You will need a calculator. You may use your queueing cheat sheet. Please read the course information sheet (below) for more information. A sample quiz from 2012 is available from the ProblemSets page.

Study session (notice posted 24/03/2017)
A study session on probability/queues will be held 9:00 - 9:50am on Mondays, starting 27 March 2017 in CO431. We will be discussing and solving probability/queueing problems.

Tutorial2/Lab2 (notice posted 17/3/2017)
solutions have been posted on the ProblemSets subpage.

Update (notice posted 17/3/2017)
on the project groups has been posted on the Project subpage.

Assignment 1 Reminder (notice posted 11/3/2017)
Assignment 1 (A1) is due on Monday, 13/03/2017. It should be submitted before 10am in the hand-in box labeled OPRE354/COMP312 located in the main hallway of the 3 floor, CO building.

Welcome to OPRE354/COMP312 (notice posted 25/01/2017)
Lectures begin Monday 6 March. There are also lectures on Wednesday, Thursday and Friday, one of which is allocated to the practical programming teaching. See the CourseDiary for further details. Note that the tutorial for this course are scheduled throughout these four slots.

Python Programming (notice posted 25/01/2017)
If you haven't done any programming for a while, or you haven't seen any Python programming, then you will find it very helpful to start learning it before the lectures begin. Have a look at the links to various helpful Python tutorials, particularly The Python Tutorial.

What do we study in OPRE354/COMP312?

"OPRE354/COMP312 Simulation and Stochastic Models" is a 15-point course which covers similar content to OPRE352/COMP312 in previous years. The focus is on simulation and modelling of stochastic systems, covering examples from Operations Research and Computer Science, including queues, networks and computer systems. We will also learn how to design, analyse and validate simulation experiments. Previous experience with computer programming, e.g., COMP102, is required before starting this course. The textbook is: Hillier, F.S. and Lieberman, G.J., Introduction to Operations Research, McGraw-Hill (8th or 9th edition). The prerequisites are COMP 102 or 112, one of (MATH 177, 277, STAT 292, ENGR 123), 15 further 200-level COMP, MATH, NWEN, OPRE, STAT or SWEN pts.

Topic Textbook Lecturer
Python Programming and Simulation Lecture Notes & Chapter20 A/Prof Stefanka Chukova
Queues and Queueing Networks Lecture Notes & Chapter17 A/Prof Stefanka Chukova

Course Information

The courses cover both Queueing Theory and Simulation. Queuing Theory is the use of stochastic models to help making decisions associated with systems of congestion. Simulation is the art of modelling these systems using computers, in particular where analytical methods become too complicated.

Class Representative


Handouts on Probability