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
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
optimization
Robust
Ex
Max
We
"
tip
about
certain
are
A
( p)
6
Axs
st
a
b
,
A
about
:
aij
"
:
Goal
:
unsure
correct
value
Model
of
a
that
so
a
given
I
[
E
ij
)
( aij
=
Dij

sd
feasible
satisfy
;]
,
is
.
constraints
aijtdi
to
guaranteed
Spse
Then
A
has
ca
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
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
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
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
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
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
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 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
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