Diego Klabjan, Jun Ma, Robert Fourer – Northwestern University.

Slides:



Advertisements
Similar presentations
1 Outline relationship among topics secrets LP with upper bounds by Simplex method basic feasible solution (BFS) by Simplex method for bounded variables.
Advertisements

Airline Schedule Optimization (Fleet Assignment I)
Course Summary What have we learned and what are we expected to know?
1 Material to Cover  relationship between different types of models  incorrect to round real to integer variables  logical relationship: site selection.
Lesson 08 Linear Programming
One Dimensional Arrays
1 Lecture 2 Shortest-Path Problems Assignment Problems Transportation Problems.
Linear Programming Models & Case Studies
Transportation Problem (TP) and Assignment Problem (AP)
Management Science 461 Lecture 6 – Network Flow Problems October 21, 2008.
INFORMS Annual Meeting, San Diego, Oct 11 – 14, 2009 A New, Intuitive and Industrial Scale Approach towards Uncertainty in Supply Chains G.N. Srinivasa.
Maintenance Routing Gábor Maróti CWI, Amsterdam and NS Reizigers, Utrecht Models for Maintenance Routing 2nd AMORE Seminar, Partas, 30.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Page 1 Page 1 ENGINEERING OPTIMIZATION Methods and Applications A. Ravindran, K. M. Ragsdell, G. V. Reklaitis Book Review.
Optimization for Network Planning Includes slide materials developed by Wayne D. Grover, John Doucette, Dave Morley © Wayne D. Grover 2002, 2003 E E 681.
Supply Chain Design Problem Tuukka Puranen Postgraduate Seminar in Information Technology Wednesday, March 26, 2009.
Airline Schedule Optimization (Fleet Assignment II) Saba Neyshabouri.
Quadratic Programming Model for Optimizing Demand-responsive Transit Timetables Huimin Niu Professor and Dean of Traffic and Transportation School Lanzhou.
Decision for the location of Intermodal terminals in a rail-road network Anupam Kulshreshtha IIM - Lucknow.
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
2.2 SQL Server 2005 的 XML 支援功能. Overview XML Enhancements in SQL Server 2005 The xml Data Type Using XQuery.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
Introduction to Linear Programming
1 Global Meta-Hybrids for Large-Scale Combinatorial Optimization Professor Leyuan Shi Department of Industrial Engineering University of Wisconsin-Madison.
LINEAR PROGRAMMING SIMPLEX METHOD.
Robert Fourer, Jun Ma, Kipp Martin, Optimization Services, January 18, 2005 Optimization Services (OS) Jun Ma Motorola, Schaumburg 01/18/2005 Robert Fourer.
DEDUCTIVE DATABASE.
Quantitative Methods of Management
Network Models II Shortest Path Cross Docking Enhance Modeling Skills Modeling with AMPL Spring 03 Vande Vate.
A GAMS TUTORIAL. WHAT IS GAMS ? General Algebraic Modeling System Modeling linear, nonlinear and mixed integer optimization problems Useful with large,
1 Chapter-4: Network Flow Modeling & Optimization Deep Medhi and Karthik Ramasamy August © D. Medhi & K. Ramasamy, 2007.
MIT ICAT ICATMIT M I T I n t e r n a t i o n a l C e n t e r f o r A i r T r a n s p o r t a t i o n Virtual Hubs: A Case Study Michelle Karow
GAMS Anwendung Nutzeroberfläche eigene Programme Modellierungs- System GAMS AMPL ILOG Studio … Solver CPLEX, CONOPT, MINOS, COIN, BARON,...
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Chapter 1. Formulations 1. Integer Programming  Mixed Integer Optimization Problem (or (Linear) Mixed Integer Program, MIP) min c’x + d’y Ax +
Robert Fourer, Jun Ma, Kipp Martin, Optimization Services, May 06, 2005 Optimization Services (OS) Jun Ma Industrial Engineering and Management Sciences.
XML and Database.
Indexes and Views Unit 7.
Lecture 5 – Integration of Network Flow Programming Models Topics Min-cost flow problem (general model) Mathematical formulation and problem characteristics.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 18 Branch and Bound Algorithm.
Oracle11g: PL/SQL Programming Chapter 3 Handling Data in PL/SQL Blocks.
8/14/04J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 5 – Integration of Network Flow Programming.
SQL Server 2005 XML Datatype David Wilson Ohio North SQL Server Special Interest Group July 12, 2007.
An Effective SPARQL Support over Relational Database Jing Lu, Feng Cao, Li Ma, Yong Yu, Yue Pan SWDB-ODBIS 2007 SNU IDB Lab. Hyewon Lim July 30 th, 2009.
Integer Programming, Branch & Bound Method
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
Problems in Combinatorial Optimization. Linear Programming.
Transportation and Distribution Planning Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Techologies.
Optimizing Hydrogen Pipeline Deployment in Real Geographic Regions Nils Johnson Joan Ogden Yueyue Fan National Hydrogen Association Conference May 4, 2010.
OPTIMIZATION PROBLEMS OF ELECTRIC POWER SUPPLY Томский политехнический университет.
Intermodal Supply Chain Optimization at a Large Retailer Part 1: Model Development Scott J. Mason, Ph.D. Fluor Endowed Chair in Supply Chain Optimization.
The assignment problem
ENGM 535 Optimization Networks
Chapter 1. Introduction Mathematical Programming (Optimization) Problem: min/max
EMIS 8373: Integer Programming
Lecture 5 – Integration of Network Flow Programming Models
Lecture 5 – Integration of Network Flow Programming Models
February 7th – Exam Review
Integer Programming (정수계획법)
1.206J/16.77J/ESD.215J Airline Schedule Planning
Chapter 1. Formulations (BW)
Using Optimization Services in Datalog
A QUICK START TO OPL IBM ILOG OPL V6.3 > Starting Kit >
Integer Programming (정수계획법)
A network problem is one that can be represented by...
Chapter 1. Formulations.
Network Optimization Models: Maximum Flow Problems
REVIEW FOR EXAM 1 Chapters 3, 4, 5 & 6.
Lecture 12 Network Models.
Presentation transcript:

Diego Klabjan, Jun Ma, Robert Fourer – Northwestern University

 Data query languages  SQL, Xquery  No procedural or declarative abilities  Procedural and declarative languages  No data querying capabilities  Best of both worlds DATALOG

Specialized AMPL, AIMMS, OPL, GAMS MPL Embedded in Languages Concert, Flops++ (C++) Pyomo, Poams (Python) Embedded in Data Language SQL, PLAM (prolog), XQuery (OSmL) Datalog (LB)

 Modeling in SQL by Linderoth, Atamturk, Savelsbergh  SQL mainly about querying  Not suited for algebraic modeling  Everything stored in tables  Variables  Constraints  Modeling non intuitive

 Powerful data capabilities  Superset of SQL  Data from database  Querying and loading  Declarative language  Natural constructs  Intuitive  Hardly any development effort

 Given values to decision variables  Easy to check feasibility  Clearly not optimality  Underlying logic programming in Datalog  No extra effort required  Not the case for most other algebraic modeling languages

 Index sets NUTR(x), NUTR:name(x:n) -> string(n). FOOD(x), FOOD:name(x:n) -> string(n).  Parameters  Input data  Variables Buy[f] = b -> FOOD(f), float[64](b),b>=0. amt[n, f] = a -> NUTR(n), FOOD(f), float[64](a), a >= 0. nutrLow[n] = nL -> NUTR(n), float[64](nL), nL >= 0. cost[f] = c -> FOOD(f), float[64](c), c >= 0.

 Multiple products (PROD), plants (ORIG) and destinations (DEST)  Ship from plants to destinations  Transportation problem for each product

 Limited production capacity at each plant  Objective to minimize production and transportation costs

 Sets  Data

 Input parameters

 Variables  How much to transport  How much to produce  Other variables  Integer replace “float” with “int”  Binary are integer with upper bound of 1

 Production availability  sumTime predicate captures the left-hand side  agg built-in aggregator  Constraint negated (stratification restrictions of Datalog)

 Demand constraints

 Supply constraints

 Objective function  Production cost  Transportation cost

 Sum of the two cost components

 The fleeting model  Assign fleets to flights  Modeled as a multi-commodity network flow problem  Network aspects  Challenges  Nodes at each airports sorted based on the arrival/departure time in a circular fashion  Ordered and circular lists

 Specification of flights Leg(l), Leg:name(l:n) -> string(n). Leg:table(s1,t1,s2,t2,l) ->Station(s1), Time(t1), Station(s2), Time(t2), Leg(l). Leg:table:dStation[l]=s1 ->Station(s1), Leg(l). Leg:table:dTime[l]=t1 -> Time(t1), Leg(l). Leg:table:aStation[l]=s2 ->Station(s2), Leg(l). Leg:table:aTime[l]=t2 -> Time(t2), Leg(l).

 For each station there is a timeline consisting of network nodes  Either arrival or departure at station node(s,t) -> Station(s), Time(t). node(s,t) <- Leg:table(s1,t1,_,_,_),(s=s1, t=t1);Leg:table(_,_,s2,t2,_),(s=s2, t=t2).

 Declare ‘next’ in the list  Time is an integer-like structure to capture times node:nxt[s,t1] = t2 -> Station(s), Time(t1), Time(t2).  Order node:nxt[s,t1] = t2 <- node(s,t1), node(s,t2), (Time:datetime[t1]<Time:datetime[t2 ],!anythingInBetween(s, t1,t2); node:frst[s]=t2, node:lst[s]=t1).

 Piecewise linear functions  Model them explicitly  Unfortunately OS cannot handle them explicitly  LogicBlox needs to convert them into a linear mixed integer program  Disjunctions  Nonlinear functions  Long term goal