Download [Powerpoint version].

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

AI winter wikipedia , lookup

Computer Go wikipedia , lookup

Hard problem of consciousness wikipedia , lookup

Multi-armed bandit wikipedia , lookup

Embodied cognitive science wikipedia , lookup

Intelligence explosion wikipedia , lookup

Ethics of artificial intelligence wikipedia , lookup

Existential risk from artificial general intelligence wikipedia , lookup

History of artificial intelligence wikipedia , lookup

Philosophy of artificial intelligence wikipedia , lookup

Transcript
Labor Shift Scheduling Problem
Unable to hire new police officers because of budget
limitations, the Gotham City Police commissioner is trying
to utilize the force better. The minimum requirements for
police patrols for weekdays are noted below:
Time Period
Min
Midnight - 4:00 am
6
4:00 am - 8:00 am
4
8:00 am - noon
14
noon - 4:00 pm
8
4:00 pm - 8:00 pm
12
8:00 pm - Midnight
16
The police officers can start
their shifts at the starting
time of any of the above
time periods. However they
have to patrol for 8 hours.
What is the minimum
number of officers required
to satisfy the requirements?
Express this an LP problem. 1
June7/07 Raeside cartoon lampoons VPD, Times Colonist.
2
I have copies of the first part of the
text for those who requested one (plus 2
extras). Hopefully our textbook will
arrive soon.
Assignment #1 has been posted: due
Sept. 20 (or Sept. 24 with 10% late
penalty)
Programming Project 1 has been posted:
due Sept. 27 (or Oct. 1 with a 10% late
penalty).
3
Musical Metacreation, by Philippe Pasquier
Friday, September 14, 12:00pm, ECS 660
While artificial intelligence aims to make "machines do
things that would require intelligence if done by humans",
metacreation is a new field devoted to endow machines
with creative behavior. The presentation will propose an
overview of past and current works on computational
creativty conducted at the Metacreation, Agents and MultiAgent Systems (MAMAS) laboratory. We will introduce and
motivate problems, we will describe systems that address
these, and empirical evaluation studies that evaluate our
solutions. While doing so, we will highlight a number of
open problems in artificial intelligence, computer music and
generative art.
4
Interested in meeting other people in your
faculty from all different stages in their
academic careers? Come join other eager
students to make connections and discuss
the involvement of women in Computer
Science and Engineering.
Or just come for cookies and tea! :
Where: ECS 660
When: 2:30pm on Friday, September 14
Who: Everyone welcome!
5
Standard form (chapters 1-7):
Maximize cT x
subject to
Ax ≤ b
What can we do if our
problem is not already in
standard form?
and x ≥ 0
6
Another sample problem:
Maximize 5 x1 + 5 x2 + 3 x3
subject to
x1 + 3 x2
-x1
2 x1 - x2
2 x1 + 3 x2
+ x3
+ 3 x3
+ 2 x3
- x3
≤
≤
≤
≤
3
2
4
2
How will we
type in this
problem as
input?
x 1 , x 2, x 3 ≥ 0
7
Another sample problem:
34
Maximize 5 x1 + 5 x2 + 3 x3
553
subject to
x1 + 3 x2
-x1
2 x1 - x2
2 x1 + 3 x2
+ x3
+ 3 x3
+ 2 x3
- x3
≤
≤
≤
≤
3
2
4
2
3
2
4
2
1
-1
2
2
3
0
-1
3
1
3
2
-1
x 1 , x 2, x 3 ≥ 0
8
The initial dictionary:
X4 = 3.00- 1.00 X1 - 3.00 X2 - 1.00 X3
X5 = 2.00+ 1.00 X1 + 0.00 X2 - 3.00 X3
X6 = 4.00- 2.00 X1 + 1.00 X2 - 2.00 X3
X7 = 2.00- 2.00 X1 - 3.00 X2 + 1.00 X3
-----------------------------------------z = -0.00+ 5.00 X1 + 5.00 X2 + 3.00 X3
How should we represent this in a
tableau/array for our computer program?
9
X1
enters.
After
X7
leaves.
z = -0.000000
1 pivot:
X4 = 2.00- 1.50 X2 - 1.50 X3 + 0.50 X7
X5 = 3.00- 1.50 X2 - 2.50 X3 - 0.50 X7
X6 = 2.00+ 4.00 X2 - 3.00 X3 + 1.00 X7
X1 = 1.00- 1.50 X2 + 0.50 X3 - 0.50 X7
-----------------------------------------z = 5.00- 2.50 X2 + 5.50 X3 - 2.50 X7
10
X3
enters.
X6
leaves.
z = 5.000000
After
2 pivots:
X4 = 1.00- 3.50 X2 + 0.50 X6 + 0.00 X7
X5 = 1.33- 4.83 X2 + 0.83 X6 - 1.33 X7
X3 = 0.67+ 1.33 X2 - 0.33 X6 + 0.33 X7
X1 = 1.33- 0.83 X2 - 0.17 X6 - 0.33 X7
-----------------------------------------z = 8.67+ 4.83 X2 - 1.83 X6 - 0.67 X7
11
X2
enters.
X5
leaves.
z = 8.666667
After
3 pivots:
X4 = 0.03+ 0.72 X5 - 0.10 X6 + 0.97 X7
X2 = 0.28- 0.21 X5 + 0.17 X6 - 0.28 X7
X3 = 1.03- 0.28 X5 - 0.10 X6 - 0.03 X7
X1 = 1.10+ 0.17 X5 - 0.31 X6 - 0.10 X7
------------------------------------------z = 10.00- 1.00 X5 - 1.00 X6 - 2.00 X7
How could we argue that this must be the
optimal solution?
12