Building “ Problem Solving Engines ” for Combinatorial Optimization Toshi Ibaraki Kwansei Gakuin University (+ M. Yagiura, K. Nonobe and students, Kyoto.

Slides:



Advertisements
Similar presentations
Algorithm Design Methods (I) Fall 2003 CSE, POSTECH.
Advertisements

Algorithm Design Methods Spring 2007 CSE, POSTECH.
Rostering Problem Liverpool Hope University. Covering problem Computational problem that ask whether a certain combinatorial structure covers another.
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,

Review: Constraint Satisfaction Problems How is a CSP defined? How do we solve CSPs?
The Theory of NP-Completeness
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Semidefinite Programming
ENGR 351 Numerical Methods Instructor: Dr. L.R. Chevalier
Constraint Satisfaction Problems
Approximation Algorithms
The Theory of NP-Completeness
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
2-Layer Crossing Minimisation Johan van Rooij. Overview Problem definitions NP-Hardness proof Heuristics & Performance Practical Computation One layer:
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
MAE 552 – Heuristic Optimization Lecture 10 February 13, 2002.
Chapter 5 Outline Formal definition of CSP CSP Examples
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
© J. Christopher Beck Lecture 22: Local Search for Sports Scheduling.
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
Attempts to find an optimum solution penalty value for certain classes of NP-Hard problems George M. White SITE University of Ottawa
Ant Colony Optimization: an introduction
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Metaheuristics Meta- Greek word for upper level methods
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Participating in Timetabling Competition ITC2007 with a General Purpose CSP Solver Toshihide IBARAKI Kwansei Gakuin University.
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
ENCI 303 Lecture PS-19 Optimization 2
MIT and James Orlin © More Linear Programming Models.
Topology aggregation and Multi-constraint QoS routing Presented by Almas Ansari.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
The Complexity of Optimization Problems. Summary -Complexity of algorithms and problems -Complexity classes: P and NP -Reducibility -Karp reducibility.
Workforce scheduling – Days off scheduling 1. n is the max weekend demand n = max(n 1,n 7 ) Surplus number of employees in day j is u j = W – n j for.
Stocs – A Stochastic CSP Solver Bella Dubrov IBM Haifa Research Lab © Copyright IBM.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
© J. Christopher Beck Lecture 24: Workforce Scheduling.
Exact and heuristics algorithms
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
Nurse scheduling problem 25 nurses ( Team A:13, B:12 ) Experienced nurses and new nurses 3 shifts ( day, evening, night ), meetings, days off Time span.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
PhD Projects Rahul Santhanam University of Edinburgh.
NP-Complete problems.
Branch-and-Cut Valid inequality: an inequality satisfied by all feasible solutions Cut: a valid inequality that is not part of the current formulation.
Chapter 5 Constraint Satisfaction Problems
ANTs PI meeting, Dec. 17, 2001Washington University / DCMP1 Flexible Methods for Multi-agent Distributed Resource Allocation by Exploiting Phase Transitions.
Lagrangean Relaxation
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Tommy Messelis * Stefaan Haspeslagh Burak Bilgin Patrick De Causmaecker Greet Vanden Berghe *
Approximation Algorithms based on linear programming.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Algorithm Design Methods
ME 521 Computer Aided Design 15-Optimization
Integer Programming (정수계획법)
Exam 2 LZW not on syllabus. 73% / 75%.
Multi-Objective Optimization
Chapter 11 Limitations of Algorithm Power
Toshihide IBARAKI Kwansei Gakuin University
Integer Programming (정수계획법)
Algorithm Design Methods
Algorithm Design Methods
Algorithm Design Methods
Presentation transcript:

Building “ Problem Solving Engines ” for Combinatorial Optimization Toshi Ibaraki Kwansei Gakuin University (+ M. Yagiura, K. Nonobe and students, Kyoto University) Franco-Japanese Workshop on CP, Oct , 2004

Approaches to general solvers Attempts from artificial intelligence GPS (general problem solver), resolution principle,..., CP (constraint programming) Attempts from mathematical programming Linear, nonlinear, integer programming,... Problem solving engines for discrete optimization problems

Complexity Theory Class NP Contains almost all problems solvable by enumeration NP-hard (NP-complete) SAT (satisfiability), IP (integer program),... Two implications 2. No algorithm can solve IP in polynomial time 1. All problems in NP can be reduced to IP

Approach by Approximate Solutions Approximate solutions are sufficient in most applications. NP-hard problems can be approximately solved in polynomial time. But... 1.Problem sizes may explode during reduction processes. e.g. the number of variables may become n 2 or n The distance to optimality may not be preserved. Good approximate solutions to IP may not be good solutions to the original problem.  Only “natural” reductions are meaningful.

Approach by Standard Problems

List of Standard Problems Integer programming (IP) Constraint satisfaction problem (CSP) Resource constrained project scheduling problem (RCPSP) Vehicle routing problem (VRP) 2-dimensional packing problem (2PP) Generalized assignment problem (GAP) Set covering problem (SCP) Maximum satisfiability problem (MAXSAT)

Approximation Algorithms Efficiency, generality, robustness, flexibility,... Can such algorithms exist? Local search (LS) Genetic algorithm, simulated annealing, tabu search, iterated local search, GRASP, variable neighborhood search,... Yes ! Metaheuristics

Standard problem: Constraint satisfaction problem (CSP)

CSP: Definition n variables X i and their domains D i m constraints C l equalities, inequalities, nonequalities (all-different), linear and nonlinear formulae Hard and soft constraints; weights w l given to constraints C l Minimization of total penalt y p(X) =Σ w l p l (X) p l (X): penalties given to violations of C l

Comparison with IP Flexible forms of constraints Compact formulations with small numbers of variables and constraints Soft constraints and objective functions via penalty functions Algorithms by metaheuristics Robust performance even for problems not suited for IP

CSP Algorithm Algorithm framework: tabu search Local search using shift neighborhood Checks all solutions obtainable by changing the value of one variable Tabu list Prohibits changing those variables whose values were modified in recent t iterations, where t is tabu tenure.

Improvements Reduction of the neighborhood size D ata structures to skip X i and their values having apparently no improvement (i.e. partial propagation) Evaluation function for the search q(X) =Σ v l p l (X) ( possibly v l ≠ w l ) Automatic control of weights v l Frequent violation of C l  larger v l Similar to subgradient method for Lagrangean multipliers

References for details K. Nonobe and T. Ibaraki, A tabu search approach to the constraint satisfaction problem as a general problem solver, European J. of OR, Vol. 106, pp , K. Nonobe and T. Ibaraki, An improved tabu search method for the weighted constraint satisfaction problem, INFOR, Vol. 39, No. 2, pp , M. Fukumori, Tabu search algorithm for the quadratic constraint satisfaction problem, Master thesis, Kyoto University, 2004.

CSP: Case study Nurse scheduling problem 25 nurses ( Team A:13, B:12 ) Experienced nurses and new nurses 3 shifts ( day, evening, night ), meetings, days off Time span : 30 days Formulation to CSP : Variables X ij ( nurse i, j-th day ) Domain D ij ={ D, E, N, M, OFF }

Nurse scheduling problem Constraints Required numbers of shifts D, E, N in each day Upper and lower bounds on the numbers of shifts and OFF’s assigned to each nurse in a month Predetermined M’s and OFF’s At least one OFF and one D in 7 days Prohibited patterns: 3 consecutive N ; 4 consecutive E ; 5 consecutive D ; D, E or M after N; D or M after E ; OFF -work- OFF N should be done in the form NN ; at least 6 days before the next NN Balance between teams A and B Many others

CSP: Case study Social golfer problem n golfers play once a week, always in m groups, each consisting of n/m players. No two golfers want to play together more than once. Find a schedule with the largest number of weeks. Formulation to CSP : Variables X tj ( t -th week, group j ) Domain D = power set of { i=1, 2, …, n } Nonlinear constraints

Future Directions Further improvement of metaheuristic algorithms Increasing the formulation power of standard problems Other standard problems Aggregation of all algorithms into a decision support system User interfaces. Supports to model application problems