Optimization and Search. Jim Tørresen Optimization and Search

Similar documents
Advanced Search Hill climbing

1.1 The size of the search space Modeling the problem Change over time Constraints... 21

The Traveling NET Trainer Problem

Neural Nets Using Backpropagation. Chris Marriott Ryan Shirley CJ Baker Thomas Tannahill

EE 364B: Wind Farm Layout Optimization via Sequential Convex Programming

Traveling Salesperson Problem and. its Applications for the Optimum Scheduling

Uninformed Search (Ch )

Uninformed Search (Ch )

Search I. Tuomas Sandholm Carnegie Mellon University Computer Science Department. [Read Russell & Norvig Chapter 3]

Uninformed search methods II.

Chapter # SCHEDULING THE FINNISH MAJOR ICE HOCKEY LEAGUE USING THE PEAST ALGORITHM

CENG 466 Artificial Intelligence. Lecture 4 Solving Problems by Searching (II)

TIMETABLING IN SPORTS AND ENTERTAINMENT

The Bicycle Thief. CIS 110, Spring 2013

Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department

Mixture Models & EM. Nicholas Ruozzi University of Texas at Dallas. based on the slides of Vibhav Gogate

Agent Based Urban Models The Notting Hill Carnival Model

TASK 4.2.1: "HAMILTON'S ROBOT" ==============================

Time Dependent Truck Routing and Driver Scheduling Problem with Hours of Service Regulations. Vidit Divyang Shah

Genetic Algorithm Optimized Gravity Based RoboCup Soccer Team

CS 4649/7649 Robot Intelligence: Planning

COMP 406 Lecture 05. Artificial. Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University

Better Search Improved Uninformed Search CIS 32

3D Inversion in GM-SYS 3D Modelling

Lecture 10. Support Vector Machines (cont.)

Uninformed search methods II.

Youth Sports Leagues Scheduling

Application of Dijkstra s Algorithm in the Evacuation System Utilizing Exit Signs

CS 4649/7649 Robot Intelligence: Planning

Planning and Acting in Partially Observable Stochastic Domains

Lecture 5. Optimisation. Regularisation

Logistic Regression. Hongning Wang

Uninformed search methods

Abstract Currently there is a growing interest in the evolutionary algorithm paradigm, as it promises a robust and general search technique. Still, in

Calculations for Line-of- Balance Diagrams

Solving Problems by Searching chap3 1. Problem-Solving Agents

A IMPROVED VOGEL S APPROXIMATIO METHOD FOR THE TRA SPORTATIO PROBLEM. Serdar Korukoğlu 1 and Serkan Ballı 2.

Lotto Winner for La Primitiva Lottery 1/10. /two-dimensional-lotto-winner-apps/lotto-winner-for-la-primitiva-lottery/

On Underwater Vehicle Routing Problem

Kinematics & Dynamics

/435 Artificial Intelligence Fall 2015

SEARCH SEARCH TREE. Node: State in state tree. Root node: Top of state tree

Blocking time reduction for level crossings using the genetic algorithm

Policy Gradient RL to learn fast walk

ROSEMARY 2D Simulation Team Description Paper

Depth-bounded Discrepancy Search

SEARCH TREE. Generating the children of a node

ROSE-HULMAN INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering. Mini-project 3 Tennis ball launcher

Problem Solving as Search - I

Poseidon Team Description Paper RoboCup 2016, Leipzig, Germany

The Incremental Evolution of Gaits for Hexapod Robots

A Game Theoretic Study of Attack and Defense in Cyber-Physical Systems

Shearwater GF Computer

Tokyo: Simulating Hyperpath-Based Vehicle Navigations and its Impact on Travel Time Reliability

A Novel Travel Adviser Based on Improved Back-propagation Neural Network

2 When Some or All Labels are Missing: The EM Algorithm

AGA Swiss McMahon Pairing Protocol Standards

CATS Workshop Target Windows modelling

EE582 Physical Design Automation of VLSI Circuits and Systems

Predicting the Total Number of Points Scored in NFL Games

Scheduling a Professional Sports League using the PEAST Algorithm

An approach for optimising railway traffic flow on high speed lines with differing signalling systems

NUMB3RS Activity: Walkabout. Episode: Mind Games

CSE 3401: Intro to AI & LP Uninformed Search II

Optimal Weather Routing Using Ensemble Weather Forecasts

Introduction. AI and Searching. Simple Example. Simple Example. Now a Bit Harder. From Hammersmith to King s Cross

Robust Task Execution: Procedural and Model-based. Outline. Desiderata: Robust Task-level Execution

Rulebook Revision 2016 v1.0 Published September 18, 2015 Sponsored By

The Science Behind Conveyor Oven Thermal Profiling

NIVEKO, pools for demanding users

OPTIMAL FLOWSHOP SCHEDULING WITH DUE DATES AND PENALTY COSTS

5th Symposium on Integrating CFD and Experiments in Aerodynamics (Integration 2012) th Symposium on Integrating CFD and Experiments in Aerodynam

UNDERSTANDING A DIVE COMPUTER. by S. Angelini, Ph.D. Mares S.p.A.

Roundabouts along Rural Arterials in South Africa

Uninformed Search Strategies

Analyzing WMDD on Parallel Machines. Harrisen Egly, Alyssa Estrada, Kelcie Gerson, Sarah Murray

LOCOMOTION CONTROL CYCLES ADAPTED FOR DISABILITIES IN HEXAPOD ROBOTS

CS 4649/7649 Robot Intelligence: Planning

Constraining a global, eddying, ocean and sea ice model with scatterometer data

CSE 3402: Intro to Artificial Intelligence Uninformed Search II


Mathematics of Pari-Mutuel Wagering

CS 4649/7649 Robot Intelligence: Planning

consist of friends, is open to all ages, and considers fair play of paramount importance. The matches are played without referees, since, according to

Due: Wednesday, October 17 at 10:00 AM (No late submissions)

Representation. Representation. Representation. Representation. 8 puzzle.

EVOLVING HEXAPOD GAITS USING A CYCLIC GENETIC ALGORITHM

Instructions For Use. Recreational Dive Planner DISTRIBUTED BY PADI AMERICAS, INC.

ASSESSING THE RELIABILITY OF FAIL-SAFE STRUCTURES INTRODUCTION

Ocean Fishing Fleet Scheduling Path Optimization Model Research. Based On Improved Ant Colony Algorithm

Expert Systems with Applications

12m. Instructions For Use. 14m. 16m. 18m. Recreational Dive Planner. 20m DISTRIBUTED BY PADI AMERICAS, INC.

CS472 Foundations of Artificial Intelligence. Final Exam December 19, :30pm

A point-based Bayesian hierarchical model to predict the outcome of tennis matches

The University of Nottingham

4. Please Do Break the Crystal

CAM Final Report John Scheele Advisor: Paul Ohmann I. Introduction

Learning to Imitate a Fighter Pilot

If you need to reinstall FastBreak Pro you will need to do a complete reinstallation and then install the update.

Gait Evolution for a Hexapod Robot

Transcription:

Optimization and Search INF3490 - Biologically inspired computing Lecture 1: Marsland chapter 9.1, 9.4-9.6 2017 Optimization and Search Jim Tørresen 2 Optimization and Search Methods (selection) Optimization 1. Exhaustive search 2. Greedy search and hill climbing 3. Gradient ascent 4. Simulated annealing 4 1

27.08.2017 Optimisation and Search Discrete optimization Chip design Continous Optimization is the mathematical discipline which is concerned with finding the maxima and minima of functions, possibly subject to constraints. Routing tracks during chip layout design Timetabling E.g.: Find a course time table with the minimum number of clashes for registered students Travelling salesman problem Discrete Optimization is the activity of looking thoroughly in order to find an item with specified properties among a collection of items. 2017.08.27 Optimization of travel routes and similar logistics problems 5 Example: Travelling Salesman Problem (TSP) 6 1. Exhaustive search Test all possible solutions, pick the best Given the coordinates of n cities, find the shortest closed tour which visits each once and only once (i.e. exactly once). Guaranteed to find the optimal solution Constraint : all cities be visited, onc e and only once. 2017.08.27 7 8 2

Exhaustive search Only works for simple discrete problems, but can be approximated in continuous problems Sample the space at regular intervals (grid search) Sample the space randomly N times 2. Greedy search Pick a solution as the current best Compare to all neighboring solutions If no neighbor is better, then terminate Otherwise, replace the current best with the best of the neighbors Repeat 9 10 Hill climbing Pick a solution as the current best Compare to a random neighbor If the neighbor is better, replace the current best Repeat Continuous optimization Mechanics Optimized design of mechanical shapes etc. Economics Portfolio selection, pricing options, risk management etc. Control engineering Process engineering, robotics etc. 11 12 3

3. Gradient ascent / descent 3. Gradient ascent / descent 13 14 Gradient ascent / descent Gradient Descent: Algorithm Start with a point (guess) Repeat Determine a descent direction Choose a step Update Until stopping criterion is satisfied 15 2017.08.27 16 4

Gradient Descent: Algorithm Gradient Descent: Algorithm Start with a point (guess) Repeat Determine a descent direction Choose a step (using gradient) Update Until stopping criterion is satisfied Start with a point (guess) Repeat Determine a descent direction Choose a step Update Until stopping criterion is satisfied 2017.08.27 17 2017.08.27 18 Gradient Descent: Algorithm Start with a point (guess) Repeat Determine a descent direction Choose a step Update Until stopping criterion is satisfied Local optima Algorithms like greedy search, hill climbing and gradient ascent/descent can only find local optima: They will only move through a strictly improving chain of neighbors Once they find a solution with no better neighbors they stop 2017.08.27 19 20 5

Exploitation Pick an initial solution Global optimization Replace with a similar but somehow improved solution Most of the time, we must expect the problem to have many local optima Ideally, we want to find the best local optima: the global optimum 21 Exploitation and Exploration Search methods should combine: Trying completely new solutions (like in exhaustive search) => Exploration Trying to improve the current best solution by local search => Exploitation 22 Exhaustive search pure exploration Mixed solution Pick a new solution Check if it is the best so far Exploration Pick a new solution Exploitation Replace with a similar but somehow improved solution Yes No No improvement or iteration budget spent Works better, but only if there are few local optima 23 24 6

Going the wrong way What if we modified the hill climber to sometimes choose worse solutions? Goal: avoid getting stuck in a local optimum Always keep the new solution if it is better However, if it is worse, we d still want to keep it sometimes, i.e. with some probability Annealing A thermal process for obtaining low energy states of a solid in a heat bath: Increase the temperature of the heat bath to a the point at which the solid melts Decrease the temperature slowly If done slowly enough, the particles arrange themselves in the minimum energy state 25 26 4. Simulated annealing Simulated Annealing Illustrated Depend on the temp. (high temp => high prop.) 27 28 7

Repetition Questions Which two classes of problems do we work with in optimization? What must you accept to obtain optimal solution? What controls the search in simulated annealing? 29 8