SlideShare ist ein Scribd-Unternehmen logo
1 von 49
Downloaden Sie, um offline zu lesen
Variable Objective Large Neighborhood Search:

A practical approach to solve over-constrained problems
Pierre Schaus	

UCL, ICTEAM, Belgium
Over-Constrained Problems
Mon

Tue

Wed

Usually render the
problem 	

over-constrained	


Demand

>2
=2

gcc1

>1
>2

gcc2

>3
>1

gcc3
Relaxation = 	

Violation Variables in Constraints (Petit & Régin)
Mon

Demand

>2
=2

Tue

>1
>2

Wed

>3
>1

o1) (...,o2) (...,o3)
(..., gcc
-gcc oft-gcc
oft
oft
s
s
s
Aggregation of violations

•
•

Many possibilities	

Most intuitive one: 	

o1+o2+o3+...
Minimize sum of violation variables	

o1+o2+o3+...

Desired Properties :
A: o1+o2+o3+... should be small
B: o1+o2+o3+... should be balanced

not easy to reached with CP
Major Weakness of CP =
Weak filtering of sum (bound-consistency)

large BnB search tree

small fraction of it is explored with DFS

bad solutions
Solution = Large Neighborhood Search
LNS = LS using CP for neighborhood exploration
Decision Variables

LNS (Shaw 98)

.. .. .. .. .. .. .. .. .. .. .. ..
Bound = 100 1 3 5 6 2 9 1 8 3 1 0 4

Find Initial Solution with CP
LNS (Shaw 98)
..
..
.. ..
..
Bound = 100 1 3 5 6 2 9 1 8 3 1 0 4

Relax* (randomly) this solution

*aka fragment selection
LNS (Shaw 98)
7
..
8
..
1 4
.. ..
3
..
Bound = 96 1 3 5 6 2 9 1 8 3 1 0 4

Optimize this partial solution with CP
LNS (Shaw 98)
..
..
..
.. ..
Bound = 96 1 3 7 6 2 8 1 8 1 4 0 3

relax randomly
LNS (Shaw 98)
.. 7 2
.. ..
8
9
..
1 4 1 3
.. 3 .. ..
..
Bound = 85 1 3 5 6 2 10 1 8 3 1 0 4

re-optimize
LNS (Shaw 98)
..

initial
relax
optimize
relax
optimize
...

..

..

..

..

..

..

..

..

..

..

..

1

3

5

6

2

9

1

8

3

1

0

4

..

..

..

..

..

7

8

1

4

3

..

..

..

..

..

3

2

10

3

1
From a CP Model to a LNS Model

CP
Model

+

Relaxation
Procedure

=

LNS Model

Which decision Variables should be
relaxed for next restart
Minimize sum of violation variables	

o1+o2+o3+...

Desired Properties :
A: o1+o2+o3+... should be small
B: o1+o2+o3+... should be balanced
o1+o2+o3+o4 = 7
4
1

2

2

2

1

1

1

o1 o2 o3 o4

o1 o2 o3 o4

balanced

unbalanced

How to avoid
this ?
Dynamically Change the Objective	

(at each LNS restart)
Focus on worse objective at each LNS restart
!

o1

o2

o3

o4
Focus on worse objective at each LNS restart
!

o1

o2

o3

o4
Focus on worse objective at each LNS restart

!

o1

o2

o3

o4
Focus on worse objective at each LNS restart

!

o1

o2

o3

o4
In practice …

•

Objective configuration changed at each
LNS restarts.	


•

Each objective can be configured
differently
Strong = must decrease	

Weak = cannot increase	

No = unrestricted

filtering
3 Filtering modes
Weak, Strong, No - Filtering
!
!

o1

o2

o3

o4

Weak Strong No Strong

Strong: must decrease	

Weak: cannot increase	

No: unrestricted
Good idea: o1+o2+o3+o4 in Strong
Ensures at least
same filtering
as original one

o1

o2

o3

o4 o1+o2+o3+o4

Weak Strong No Strong Strong
objective value

New solution found during
BnB DFS

restart i
o1 Strong	

o2 Weak	

o3 No

restart i+1
o1 Weak	

o2 No	

o3 Strong

time
From a LNS-CP Model
to a Variable-Objective LNS Model

CP
Model

objective
Relaxation
configuration
Procedure

++

=

VO-LNS
LNS Model
Model

set objectives into 	

Strong/Weak/No filtering
mode
Experimental Result

•
•

Artificial over-constrained problems	

Over-Constraint timetabling application
Artificial Over-Constrained Problem
Random Domain:	

5 values on [1..15]

oj
every values 1..15
should appear exactly
once	

on each row

oi
violation = sum
of excess &
shortage of each
value

every values 1..15 should
appear exactly once	

on each column
LNS Relaxations
R1

R2

10% of variables (randomly)

= 10% of variables (randomly)
+ most violated line/column

oi

most violated line*
*tabu mechanism for diversification
Objective Configurations
o1 , o2 , ... , o15 , o16 , ... , o30 , otot
C1

C2

o1 , o2 , ... , o30 : No 	

otot : Strong

o1 , o2 , ... , o30 : Weak 	


Standard minimization
of sum, does not try
to balance violations

otot : Strong, oi: Strong
The most violated
row/column in current
solutions

oi
Experiments LNS
400 Restarts, 50 Failure Limit	

!

•
•
•

Setting A: R1 & C1	


•

random relax, standard minimization	


Setting B: R2 & C1	


•

structured relaxation, standard minimization	


Setting C: R2 & C2	


•

structured relaxation, variable objective (VO-LNS)
LNS

VO-LNS Decrease
faster	

&	

better sum of violations
Balancing Property

Better total
violation

Better total
balancing

VO-LNS
Real Life - Timetabling	

Hospitality Management School

Groups

Weeks
Real Life - Timetabling	

Hospitality Management School

Groups

Weeks

Groups of 20 students must be scheduled over semester
Real Life - Timetabling	

Hospitality Management School
PM

Weeks

Groups

AM

Two activities/ Week to decide 	

Morning & Afternoon
Real Life - Timetabling	

Hospitality Management School
Weeks

Groups

> 2x A1	

= 1x A2	

…

For each group: cardinality requirement on activity types
Real Life - Timetabling	

Hospitality Management School
Weeks

Groups

A1 is scheduled only 4
consecutive times, …

Restriction on activity patterns
Real Life - Timetabling	

Hospitality Management School
Weeks

Groups

A1 scheduled between 2 and 3 times	

A2 scheduled between 1 and 2 times	

…

soft-gcc

Demand over activities specific for each weak
Real Life - Timetabling	

Hospitality Management School

Violations of cardinality
requirements
LNS Relaxations

Weeks

some random
slots

Groups

most violated
weeks

some groups
Results: 1000 LNS Restarts

same LNS relaxation
VO-LNS is faster

Why ?	


number of
exhausted search

!

Because most of the LNS searches
complete before the failure limit
Balance	

10 runs x 5 instances
Open-Source Implementation

OscaR

SCALA IN OPERATIONAL RESEARCH

https://bitbucket.org/oscarlib/oscar
Take away messages

•

Minimizing sum objective (in over-constrained
problems) with CP is hard	


•
•

LNS is powerful to diversify search space 	

Changing dynamically the objective can	


•
•

Fasten and improve LNS	

Better balance violations
variable objective
LNS
Future Work

•
•
•

Automatic objective configuration	

Population of solutions (different configurations)	

More problems (just in time scheduling)
Variable Objective Large Neighborhood Search:

A practical approach to solve over-constrained problems
Pierre Schaus	

UCL, ICTEAM, Belgium

Weitere ähnliche Inhalte

Andere mochten auch

Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...
Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...
Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...Miranda Pond
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS
 
Sauce Alto | Diez ventajas de alojarse en un resort en Cieneguilla
Sauce Alto | Diez ventajas de alojarse en un resort en CieneguillaSauce Alto | Diez ventajas de alojarse en un resort en Cieneguilla
Sauce Alto | Diez ventajas de alojarse en un resort en CieneguillaSauce Alto Resort
 
Mystim electroestimulador tension lover
Mystim electroestimulador tension loverMystim electroestimulador tension lover
Mystim electroestimulador tension loverElectrosex
 
P3 Project Sample
P3 Project SampleP3 Project Sample
P3 Project SampleJohn Eaton
 
Hyper-V Windows Server 2008R2
Hyper-V Windows Server 2008R2Hyper-V Windows Server 2008R2
Hyper-V Windows Server 2008R2Andres Alvarez
 
Estudio marcas en facebook5
Estudio marcas en facebook5Estudio marcas en facebook5
Estudio marcas en facebook5Dayone Dayketing
 
Chocolatada en el teleclub (y otros eventos). Por Charo Blanco
Chocolatada en el teleclub (y otros eventos). Por Charo BlancoChocolatada en el teleclub (y otros eventos). Por Charo Blanco
Chocolatada en el teleclub (y otros eventos). Por Charo Blancoescuerna
 
La magia de los CCK en joomla 3 (19 de feb)
La magia de los CCK en joomla 3 (19  de feb) La magia de los CCK en joomla 3 (19  de feb)
La magia de los CCK en joomla 3 (19 de feb) aulaideal
 
Operativa intradía con el sistema VSS
Operativa intradía con el sistema VSSOperativa intradía con el sistema VSS
Operativa intradía con el sistema VSSLa Casa del Trading .
 
Inma caravaca exposicion ppt
Inma caravaca exposicion pptInma caravaca exposicion ppt
Inma caravaca exposicion pptTomas Saorin
 
Careers in logistics by cscmp
Careers in logistics by cscmpCareers in logistics by cscmp
Careers in logistics by cscmpWaseem Ashraf
 
Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...
Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...
Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...Universidad Politécnica de Madrid
 
Hipótesis de investigación (1)
Hipótesis de investigación (1)Hipótesis de investigación (1)
Hipótesis de investigación (1)isaiavil
 
Business incubation
Business incubationBusiness incubation
Business incubationaichikun
 
Die letzte reise
Die letzte reiseDie letzte reise
Die letzte reisetrbecker
 

Andere mochten auch (20)

portfolio
portfolioportfolio
portfolio
 
Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...
Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...
Letter of Opposition: Foster Youth Services in K12 Categorical Programs inclu...
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry Exchange
 
Sauce Alto | Diez ventajas de alojarse en un resort en Cieneguilla
Sauce Alto | Diez ventajas de alojarse en un resort en CieneguillaSauce Alto | Diez ventajas de alojarse en un resort en Cieneguilla
Sauce Alto | Diez ventajas de alojarse en un resort en Cieneguilla
 
Mystim electroestimulador tension lover
Mystim electroestimulador tension loverMystim electroestimulador tension lover
Mystim electroestimulador tension lover
 
P3 Project Sample
P3 Project SampleP3 Project Sample
P3 Project Sample
 
Hyper-V Windows Server 2008R2
Hyper-V Windows Server 2008R2Hyper-V Windows Server 2008R2
Hyper-V Windows Server 2008R2
 
Estudio marcas en facebook5
Estudio marcas en facebook5Estudio marcas en facebook5
Estudio marcas en facebook5
 
Chocolatada en el teleclub (y otros eventos). Por Charo Blanco
Chocolatada en el teleclub (y otros eventos). Por Charo BlancoChocolatada en el teleclub (y otros eventos). Por Charo Blanco
Chocolatada en el teleclub (y otros eventos). Por Charo Blanco
 
La magia de los CCK en joomla 3 (19 de feb)
La magia de los CCK en joomla 3 (19  de feb) La magia de los CCK en joomla 3 (19  de feb)
La magia de los CCK en joomla 3 (19 de feb)
 
Operativa intradía con el sistema VSS
Operativa intradía con el sistema VSSOperativa intradía con el sistema VSS
Operativa intradía con el sistema VSS
 
Inma caravaca exposicion ppt
Inma caravaca exposicion pptInma caravaca exposicion ppt
Inma caravaca exposicion ppt
 
Taller emocional
Taller emocionalTaller emocional
Taller emocional
 
Careers in logistics by cscmp
Careers in logistics by cscmpCareers in logistics by cscmp
Careers in logistics by cscmp
 
Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...
Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...
Lenguaje audiovisual: El cine digital y las nuevas tecnologías como soporte p...
 
Hipótesis de investigación (1)
Hipótesis de investigación (1)Hipótesis de investigación (1)
Hipótesis de investigación (1)
 
Business incubation
Business incubationBusiness incubation
Business incubation
 
Stourhead
StourheadStourhead
Stourhead
 
Die letzte reise
Die letzte reiseDie letzte reise
Die letzte reise
 
Redes Sociales Colombia Ppt
Redes Sociales Colombia PptRedes Sociales Colombia Ppt
Redes Sociales Colombia Ppt
 

Kürzlich hochgeladen

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 

Kürzlich hochgeladen (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

IACTAI13 Variable Objective Large Neighborhood Search: A practical approach to solve over-constrained problems (Pierre Schaus)