23
Car Sequencing Problem An update

Car Sequencing Problem

Embed Size (px)

DESCRIPTION

Car Sequencing Problem. An update. How to certify output. Standard output. The Certificate class. Easy Problems. We have a directory of easy problems. How were these made?. Why do we need easy problems?. Heuristics. Variable ordering Choose time slot that can accept least classes (sdf). - PowerPoint PPT Presentation

Citation preview

Page 1: Car Sequencing Problem

Car Sequencing Problem

An update

Page 2: Car Sequencing Problem
Page 3: Car Sequencing Problem

How to certify output

Standard output

The Certificate class

Page 4: Car Sequencing Problem

Easy Problems

We have a directory of easy problems

How were these made?

Why do we need easy problems?

Page 5: Car Sequencing Problem
Page 6: Car Sequencing Problem

Heuristics

Variable orderingChoose time slot that can accept least classes (sdf)

Value orderingWhat class should we put in that slot? - class with least options? - class where product of (nonzero) options is low? - class of least demand?

Page 7: Car Sequencing Problem
Page 8: Car Sequencing Problem
Page 9: Car Sequencing Problem
Page 10: Car Sequencing Problem
Page 11: Car Sequencing Problem
Page 12: Car Sequencing Problem

And so on

Page 13: Car Sequencing Problem

And so on

Page 14: Car Sequencing Problem

BMS paper is well worth a look

Page 15: Car Sequencing Problem

IF S[i] = cTHEN for 0 ≤ j ≤ m O[i][j] = o[c][j]

The Link Constraint

m is # options

Page 16: Car Sequencing Problem

IF S[i] = cTHEN for 0 ≤ j ≤ m O[i][j] = o[c][j]

The Link Constraint

Using ifOnlyIf

ifOnlyIf(S[i] = c, and(O[i][0] =o[c][0], …, O[i][m]=o[c][m]))

Page 17: Car Sequencing Problem

IF S[i] = cTHEN for 0 ≤ j ≤ m O[i][j] = o[c][j]

The Link Constraint

Using implies

implies(S[i] = c, O[i][0]=o[c][0])...implies(S[i] = c, O[i][m]=o[c][m])

Page 18: Car Sequencing Problem

IF S[i] = cTHEN for 0 ≤ j ≤ m O[i][j] = o[c][j]

The Link Constraint

Using implies

implies(S[i] = c, O[i][0]=o[c][0])...implies(S[i] = c, O[i][m]=o[c][m])

What happens if due topropagation some O[i][j] is set?

P Qand Q is false?

Page 19: Car Sequencing Problem

IF S[i] = cTHEN for 0 ≤ j ≤ m O[i][j] = o[c][j]

How big is the model?

Using implies

implies(S[i] = c, O[i][0]=o[c][0])...implies(S[i] = c, O[i][m]=o[c][m])

How many of theseconstraints are there?

How big is the model?

Page 20: Car Sequencing Problem

Have a look at the p/q constraint

How big is the model?

Page 21: Car Sequencing Problem

Two models linked?

One has S, a sequence of classes

The other has an array of cars allocated positions

This might allow better heuristics

Page 22: Car Sequencing Problem

Channeling

Page 23: Car Sequencing Problem

Questions?