Assignment 1
Due: Wednesday January 22 at the BEGINNING of class
1. This question will test your ability to understand OPL code.
(a) The following is the .mod le for a particular OPL model. Write out the general
structure of the linear program using stand
Assignment 2
Due: Wednesday February 5 at the BEGINNING of class
1. Example of a Multiperiod Problem: Investing
A person has $21,000 and plans to invest it over the next 3 years. Their nancial advisor has suggested three investments to invest in. Each inv
University of Waterloo
CO327 Deterministic O.R. Models (Nonspecialist)
Midterm Test
February 9, 2011
5:00 7:00 pm OR 7:00 9:00 pm
INSTRUCTIONS:
Write your name, Id.#, and signature in the blanks above.
There are 4 pages in this exam including the cover
Assignment 1
Due: Wednesday January 22 at the BEGINNING of class
1. This question will test your ability to understand OPL code.
(a) The following is the .mod le for a particular OPL model. Write out the general
structure of the linear program using stand
CO 327 Assignment 3 Winter 2017
Due: Thursday February 2 at 10:00 a.m., in class
Write your name and ID# clearly, and underline your last name.
Solutions are due at the start of class. You may submit by 11:30am on the Friday
following the due date for a p
CO 327 Solutions to Assignment 1 Winter 2017
Due: Thursday January 12 at 10:00 a.m.
1. Give an example of a linear program in two variables (x1 and x2 ) where there
is more than one optimal solution. Prove your result is correct by drawing the
feasible re
CO 327 Assignment 2 Winter 2017
Due: Thursday January 26 at 10:00 a.m., in class
Write your name and ID# clearly, and underline your last name.
Solutions are due at the start of class. You may submit by 11:30am on the Friday
following the due date for a p
CO 327 Assignment 5 Winter 2017
Due: Thursday March 23 at 10:00 a.m., in class
Write your name and ID# clearly, and underline your last name.
Solutions are due at the start of class. You may submit by 11:30am on the Friday
following the due date for a pen
CO 327 Assignment 2 Winter 2017
Due: Thursday January 26 at 10:00 a.m., in class
Write your name and ID# clearly, and underline your last name.
Solutions are due at the start of class. You may submit by 11:30am on the Friday
following the due date for a p
CO 327 Assignment 5 Winter 2017
Due: Thursday March 23 at 10:00 a.m., in class
Write your name and ID# clearly, and underline your last name.
Solutions are due at the start of class. You may submit by 11:30am on the Friday
following the due date for a pen
CO 327 Assignment 6 with Solutions Winter 2017
1. (Game Theory GeneralSum Games)
For each of the following problems: (1) Formulate the problem as a twoperson game by
specifying the utility/payoff functions for the players; (2) Write down all pairs of st
CO 327  Spring 2017  Assignment 1
Due: Wednesday May 17 at the BEGINNING of class
1. This question will test your ability to understand OPL code.
(a) The following is the .mod file for a particular OPL model. Write out the general
structure of the linea
CO 327  Spring 2017  Assignment 1
Due: Wednesday May 17 at the BEGINNING of class
1. This question will test your ability to understand OPL code.
(a) The following is the .mod file for a particular OPL model. Write out the general
structure of the linea
CO 327  Spring 2017  Assignment 2
Due: Wednesday May 31 at the BEGINNING of class
1. Example of a Multiperiod Problem: Investing
A person has $21,000 and plans to invest it over the next 3 years. Their financial advisor has suggested three investments t
CO 327  Spring 2017  Assignment 2
Due: Wednesday May 31 at the BEGINNING of class
1. Example of a Multiperiod Problem: Investing
A person has $21,000 and plans to invest it over the next 3 years. Their financial advisor has suggested three investments t
CO 327 Assignment 4 Winter 2017
Due: Thursday March 2 at 10:00 a.m., in class
Write your name and ID# clearly, and underline your last name.
Solutions are due at the start of class. You may submit by 11:30am on the Friday
following the due date for a pena
OPL Notes
1. Running OPL
1.1 Computer Labs
OPL should be available in all MFCF Computing Labs, including MC3006, MC3008, MC3009
and MC3010.
After logging in, you can run it by clicking:
Start > All Programs > IBM ILOG > CPLEX Enterprise Server > CPLEX
Assignment 2
Due: Wednesday February 5 at the BEGINNING of class
1. Example of a Multiperiod Problem: Investing
A person has $21,000 and plans to invest it over the next 3 years. Their nancial advisor has suggested three investments to invest in. Each inv
Assignment 2
Due: Wednesday February 5 at the BEGINNING of class
1. Example of a Multiperiod Problem: Investing
A person has $21,000 and plans to invest it over the next 3 years. Their nancial advisor has suggested three investments to invest in. Each inv
Assignment 3
Due: Wednesday February 26 at the BEGINNING of class
Consider the given LP of the form maxcfw_cT x  Ax b, x 0:
maximize
120x1 + 200x2 + 400x3
subject to
10x1 + 20x2 + 40x3
25x1 + 30x2 + 50x3
40x1 + 50x2 + 100x3
x
12000
25000
45000
0
For the
CO 327  Assignment 5
Due: Wednesday April 2 at the BEGINNING of class
1. A power plant has two boilers, which produce steam, and two turbines, which produce
power from steam. The following two tables give the specications of the boilers and
the turbines.
Assignment 5
Due: Wednesday April 2 at the BEGINNING of class
1. A power plant has two boilers, which produce steam, and two turbines, which produce
power from steam. The following two tables give the specications of the boilers and
the turbines. The rst
UNIVERSITY OF WATERLOO
MIDTERM EXAMINATION
SAMPLE
Student Name (Print Legibly)
(family name)
(given name)
Signature
Student ID Number
COURSE NUMBER
CO 327
COURSE TITLE
Deterministic OR Models
COURSE SECTION
001
DATE OF EXAM
Someday
TIME PERIOD
Sometime
DU
UNIVERSITY OF WATERLOO
MIDTERM EXAMINATION
SAMPLE
Student Name (Print Legibly)
(family name)
(given name)
Signature
Student ID Number
COURSE NUMBER
CO 327
COURSE TITLE
Deterministic OR Models
COURSE SECTION
001
DATE OF EXAM
Someday
TIME PERIOD
Sometime
DU
CO 370  OPL Tutorial 1
September 15, 2016
OPL  Part 1
September 15, 2016
1 / 9
Tutorial Goals
1
What is OPL? Where can I get it?
2
What resources help me learn OPL myself?
3
Quick Start to OPL.
OPL  Part 1
September 15, 2016
2 / 9
Intro to OPL
What is
CO 370  OPL Tutorial 2
September 21, 2016
OPL  Part 2
September 21, 2016
1 / 7
Tutorial Questions
1
How do OPL Settings and Run Configurations work?
2
How do I do more advanced variable constraints?
3
How do I get OPL to print the solution?
4
Can you sh
Changes
st
A=
20
dtx
Max
ax
st
D=
ctoej
Spse
proved
It
@
6
0
:
ct
=

Apj
at
Note
b
7
dt
:=
0
,
yt
CP )
@
B
for
tar
CP
a
T
A
far
optimal
'
optimal
B
is
basis
:
optimal
far
&
Afsb 20
2
B
what
For
We
optimal
have
we
:
0
7
where
Cpr )
6
=
x
0
( P )
6
B
funct
Simultaneous
Try
changes
change
to
function
at
once
st
Ax
)
( P
20
optimal
is
basis
CP )
of
dtx
Max
Ax
st
where
(P
6
=
'
.
)
70
S
jets
5
E
E
(
dj=
2
.
6
=
x
Prole
objective
in
ctx
Max
B
entries
multiple
Find
,
.
n
.
,
it
Ci
it
cjtoj
B
je
that
conditions