An XML-based schema for stochastic programs

Slides:



Advertisements
Similar presentations
Modeling and Simulation By Lecturer: Nada Ahmed. Introduction to simulation and Modeling.
Advertisements

Optimization Services Robert Fourer, Jun Ma, Kipp Martin Optimization Services OS Server and OS Libraries Jun Ma Industrial Engineering.
Solver and modelling support for stochastic programming H.I. Gassmann, Dalhousie University Happy Birthday András, November 2009.
1 Dynamic portfolio optimization with stochastic programming TIØ4317, H2009.
Linkage Problem, Distribution Estimation, and Bayesian Networks Evolutionary Computation 8(3) Martin Pelikan, David E. Goldberg, and Erick Cantu-Paz.
SaxStore: a n aspect oriented persistence library for Java based on SAX events Riccardo Solmi University of Bologna May 2001.
Stochastic Differentiation Lecture 3 Leonidas Sakalauskas Institute of Mathematics and Informatics Vilnius, Lithuania EURO Working Group on Continuous.
ModelicaXML A Modelica XML representation with Applications Adrian Pop, Peter Fritzson Programming Environments Laboratory Linköping University.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
CIIEM 2007  Energetic Installations  Badajoz, June 2007 Robust Optimization in Heat Exchanger Network Synthesis João MIRANDA (1), Miguel CASQUILHO.
On Stochastic Minimum Spanning Trees Kedar Dhamdhere Computer Science Department Joint work with: Mohit Singh, R. Ravi (IPCO 05)
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
Optimization Services (OS) Framework and OSP Protocols (OSxL) “Combining Operations Research with Computing Technology” Jun Ma 10/24/2004.
Modern Navigation Thomas Herring
Classification and Prediction: Regression Analysis
Computer Simulation A Laboratory to Evaluate “What-if” Questions.
Robert Fourer, Jun Ma, Kipp Martin, Optimization Services, January 18, 2005 Optimization Services (OS) Jun Ma Motorola, Schaumburg 01/18/2005 Robert Fourer.
Robert Fourer, Jun Ma, Kipp Martin Optimization Services Instance Language (OSiL), Solvers, and Modeling Languages Kipp Martin University of Chicago
ECES 741: Stochastic Decision & Control Processes – Chapter 1: The DP Algorithm 1 Chapter 1: The DP Algorithm To do:  sequential decision-making  state.
Recent Changes to the Optimization Services Project H.I. Gassmann, Faculty of Management J. Ma, Northwestern University R.K. Martin, The University of.
Extensions to the OSiL schema: Matrix and cone programming Horand I. Gassmann, Dalhousie University Jun Ma, Kipp Martin, Imre Polik.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
New developments in OSiL, OSoL and OS H.I. Gassmann R.K. Martin,J. Ma INFORMS Annual meeting, Washington, DC, October 2008.
17 July 2006DIMACS 2006 COIN-SMI 2006 Alan King IBM TJ Watson Research Center.
Modeling and simulation of systems Model building Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Direct Message Passing for Hybrid Bayesian Networks Wei Sun, PhD Assistant Research Professor SFL, C4I Center, SEOR Dept. George Mason University, 2009.
Tarek A. El-Moselhy and Luca Daniel
An introduction to stochastic programming H.I. Gassmann.
Fourer, Ma, Martin, An Open Interface for Hooking Solvers to Modeling Systems INFORMS International, Puerto Rico, July 8-11, INFORMS International.
Robert Fourer, Jun Ma, Kipp Martin, Optimization Services, May 06, 2005 Optimization Services (OS) Jun Ma Industrial Engineering and Management Sciences.
General ideas to communicate Dynamic model Noise Propagation of uncertainty Covariance matrices Correlations and dependencs.
Conformant Probabilistic Planning via CSPs ICAPS-2003 Nathanael Hyafil & Fahiem Bacchus University of Toronto.
An XML-based schema for stochastic programs H.I. Gassmann, R. Fourer, J. Ma, R.K. Martin EURO XXI, June 2006, Reykjavik.
Cooperative Computing & Communication Laboratory A Survey on Transformation Tools for Model-Based User Interface Development Robbie Schäfer – Paderborn.
OSiL: An XML-based schema for stochastic programs H.I. Gassmann, R. Fourer, J. Ma, R.K. Martin SP XI Vienna, August 2007.
Jun Ma, Sanjay Mehrotra and Huanyuan Sheng Impact Solver for Optimization Services, November 8, 2006 On Implementing a Parallel Integer Solver Using Optimization.
1 HPJAVA I.K.UJJWAL 07M11A1217 Dept. of Information Technology B.S.I.T.
Data requirements for stochastic solvers H.I. Gassmann Dalhousie University Halifax, Canada.
Optimally Modifying Software for Safety and Functionality Sampath Kannan U.Penn (with Arvind Easwaran & Insup Lee)
Robert Fourer, Jun Ma, Kipp Martin Copyright 2005 Optimization Services (OS) Jun Ma Annapolis, 01/07/2005 Robert Fourer Jun Ma Northwestern University.
Huanyuan Sheng, Sanjay Mehrotra and Jun Ma Impact Solver for Optimization Services, November 15, 2005 IMPACT Solver for Optimization Services Huanyuan(Wayne)
PROBABILITY AND COMPUTING RANDOMIZED ALGORITHMS AND PROBABILISTIC ANALYSIS CHAPTER 1 IWAMA and ITO Lab. M1 Sakaidani Hikaru 1.
Marilyn Wolf1 With contributions from:
Lecture 7: Constrained Conditional Models
Efficient Evaluation of XQuery over Streaming Data
BLOM: Berkeley Library for Optimization Modeling
Chapter 7. Classification and Prediction
SysML v2 Formalism: Requirements & Benefits
Machine Learning Basics
Roberto Battiti, Mauro Brunato
Model-Driven Analysis Frameworks for Embedded Systems
The Extensible Tool-chain for Evaluation of Architectural Models
Decision Theory: Single Stage Decisions
Optimization Services Instance Language (OSiL)
LPSAT: A Unified Approach to RTL Satisfiability
Introduction to Modeling
Probability & Statistics Probability Theory Mathematical Probability Models Event Relationships Distributions of Random Variables Continuous Random.
Collaborative Filtering Matrix Factorization Approach
Huanyuan(Wayne) Sheng
Optimization Services Instance Language (OSiL)
Decision Theory: Single Stage Decisions
Presented by: Jacky Ma Date: 11 Dec 2001
Addressing uncertainty in a transshipment problem
Constraint satisfaction problems
Anti-Faces for Detection
Constraint satisfaction problems
NULL SPACES, COLUMN SPACES, AND LINEAR TRANSFORMATIONS
Dr. Arslan Ornek MATHEMATICAL MODELS
Introduction to Decision Sciences
Presentation transcript:

An XML-based schema for stochastic programs H.I. Gassmann, R. Fourer, J. Ma, R.K. Martin INFORMS Meeting, November 2005, San Francisco

Outline Motivation Stochastic programs: Dynamic and stochastic structure Taxonomy of problems A three-stage investment problem OSiL format Stochastic extensions Conclusions and future work

Motivation General format for as wide a variety of problem instances as possible Essential for benchmarking, archiving, algorithm development Useful for distributed computing Nonlinear capabilities

Stochastic programs Any data item with nonzero subscript may be random (including dimensions where mathematically sensible) ~ stands for arbitrary relation (, =, )

Constraints involving random elements D means ~ with probability 1 or with probability at least b or with expected violation at most v or … Probability 1: Deterministic constraint or almost surely Probability b: Probabilistic constraint (VaR) Expected violation: CVaR

Problem classes Recourse problems Chance-constrained problems All constraints hold with probability 1 Chance-constrained problems Typically single stage Hybrid problems Recourse problems including features such as chance constraints or integrated chance constraints

Dynamic and stochastic structure Dynamic structure Periods/stages Stochastic structure Independent random variables Period-to-period independence Scenario tree Factor models ARMA processes Trap states and stochastic problem dimensions

Example (Birge) … S0 S2 S1

OSiL – Optimization Services instance Language Written in XML Easy to accommodate new features Existing parsers to check syntax Easy to generate automatically Trade-off between verbosity and human readability Stochastic extensions for dynamic and stochastic structure

OSiL – Header information <?xmlversion="1.0"encoding="UTF8"?> <OSiL xmlns="os.optimizationservices.org“ xmlns:xsi=http://www.w3.org/2001/XMLSchemainstance xsi:schemaLocation="OSiL.xsd"> <programDescription> <source>FinancialPlan_JohnBirge</source> <maxOrMin>max</maxOrMin> <objConstant>0.</objConstant> <numberObjectives>1</numberObjectives> <numberConstraints>4</numberConstraints> <numberVariables>8</numberVariables> </programDescription> <programData> ... </programData> </OSiL>

OSiL – Program data – Constraints and variables <con name="budget0“ lb="55“ ub="55"/> <con name="budget1“ lb="0“ ub="0"/> <con name="budget2“ lb="0“ ub="0"/> <con name="budget3“ lb="80“ ub="80"/> </constraints> <variables> <var name="invest01“ type="C“ lb="0.0"/> <var name="invest02"/> <var name="invest11"/> <var name="invest12"/> <var name="invest21"/> <var name="invest22"/> <var objCoef="1“ name="w"/> <var objCoef="4“ name="u"/> </variables>

OSiL – Core matrix (sparse matrix form) <coefMatrix> <listMatrix> <start> <el>0</el> <el>2</el> <el>4</el> <el>6</el> <el>8</el> <el>10</el> <el>12</el> <el>13</el> </start> <rowIdx> <el>0</el> <el>1</el> <el>2</el> <el>3</el> </rowIdx> <value> <el>1</el> <el>1.25</el> <el>1.14</el> </value>

Dynamic structure

What is a stage? Stages form a subset of the time structure Stages comprise decisions and events Events must either precede all decisions or follow all decisions Should a stage be decision – event or event – decision?

OSiL – dynamic information <stages number="4" order="decisionEvent" > <implicitOrder> <el startRowIdx="0" startColIdx="0"/> <el startRowIdx="1" startColIdx="2"/> <el startRowIdx="2" startColIdx="4"/> <el startRowIdx="3" startColIdx="6"/> </implicitOrder> </stages>

Explicit and implicit event trees

Scenario trees

OSiL – Stochastic information <explicitScenario> <scenarioTree> <sNode prob="1" base="coreProgram"> <sNode prob="0.5" base="coreProgram"> <sNode prob="0.5" base="coreProgram"/> <sNode prob="0.5" base="firstSibling"> <changes> <el rowIdx=“3" colIdx="4">1.06</el> <el rowIdx="3" colIdx="5">1.12</el> </changes> </sNode> …

Node-by-node representation for stochastic problem dimensions

Distributions

OSiL – discrete random vector <distributions> <multivariate> <dist name="dist1"> <multivariateDiscrete> <scenario> <prob>0.5</prob> <el>1.25</el> <el>1.14</el> </scenario> <el>1.06</el> <el>1.12</el> </multivariateDiscrete> </dist> </multivariate> </distributions>

Transformations

OSiL – Linear transformation <stochasticTransformation> <linearTransformation stage="0"> <el name="dist1"> <el rowIdx="3" colIdx="4"/> <el rowIdx="3" colIdx="5"/> </el> <randomVariableList> <coefMatrix> <listMatrix> <start> <el>0</el> <el>1</el> <el>2</el> </start> <rowIdx> <el>0</el> <el>1</el> </rowIdx> <value> <el>1.0</el> <el>1.0</el> </value> </listMatrix> </coefMatrix> </randomVariableList> </linearTransformation> <linearTransformation stage=“1"> … </stochasticTransformation>

Penalties and probabilistic constraints

Capabilities Arbitrary nonlinear expressions Arbitrary distributions Scenario trees Stochastic problem dimensions Simple recourse Soft constraints with arbitrary penalties Probabilistic constraints Arbitrary moment constraints

Further work Readers Internal data structures Solver interfaces Library of problems Buy-in

QUESTIONS? http://www.optimizationservices.org