FOUNDATIONS OF MODERN SCIENTIFIC PROGRAMMING

Slides:



Advertisements
Similar presentations
Robust Optimization Concepts and Examples
Advertisements

بسم الله الرحمن الرحيم ﴿و قل رب زدنى علماً﴾ صدق الله العظيم.
Computational Methods for Management and Economics Carla Gomes Module 6c Initialization in Simplex (Textbook – Hillier and Lieberman)
Lecture 3 Linear Programming: Tutorial Simplex Method
Kinematic Synthesis of Robotic Manipulators from Task Descriptions June 2003 By: Tarek Sobh, Daniel Toundykov.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
10th Annual Lung Cancer Conference Radiation Oncology
Radiotherapy Planning Stephen C. Billups University of Colorado at Denver
Effects of Sampling in IMRT Optimization by Ronald L. Rardin Professor of Industrial Engineering Purdue University West Lafayette, Indiana, USA Caesarea.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
High Performance Computing The GotoBLAS Library. HPC: numerical libraries  Many numerically intensive applications make use of specialty libraries to.
1cs542g-term Notes  Assignment 1 will be out later today (look on the web)
Principles of Robust IMRT Optimization Timothy Chan Massachusetts Institute of Technology Physics of Radiation Oncology – Sharpening the Edge Lecture 10.
Radiation Therapy (RT). What is cancer? Failure of the mechanisms that control growth and proliferation of the cells Uncontrolled (often rapid) growth.
Computer Graphics (Fall 2008) COMS 4160, Lecture 3: Transformations 1
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Computer Graphics (Fall 2004) COMS 4160, Lecture 3: Transformations 1
1 The Use of Fuzzy Optimization Methods for Radiation Therapy of Tumors Weldon A. Lodwick.
Radiation Protection in Radiotherapy
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
Radiotherapy Planning for Esophageal Cancers Parag Sanghvi, MD, MSPH 9/12/07 Esophageal Cancer Tumor Board Part 1.
Radiotherapy for Kidney cancer

Chapter 19 Linear Programming McGraw-Hill/Irwin
Prediction of Regional Tumor Spread Using Markov Models Megan S. Blackburn Monday, April 14, 2008.
Lecture 29 Fall 2006 Lecture 29: Parallel Programming Overview.
Data Mining to Aid Beam Angle Selection for IMRT Stuart Price-University of Maryland Bruce Golden- University of Maryland Edward Wasil- American University.
An innovative learning model for computation in first year mathematics Birgit Loch Department of Mathematics and Computing, USQ Elliot Tonkes CS Energy,
MIT and James Orlin © More Linear Programming Models.
Dose-Volume Based Ranking of Incident Beams and its Utility in Facilitating IMRT Beam Placement Jenny Hai, PhD. Department of Radiation Oncology Stanford.
Linear Programming.  Linear Programming provides methods for allocating limited resources among competing activities in an optimal way.  Any problem.
The Challenge of Steering a Radiation Therapy Planning Optimization by Ronald L. Rardin Professor of Industrial Engineering Purdue University West Lafayette,
Deterministic Operations Research Models J. Paul Brooks Jill R. Hardin Department of Statistical Sciences and Operations Research November 28, 2006.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Introduction to Optimization Models EXCEL Modeling of Simple Linear Problems 1 Archis Ghate Assistant Professor Industrial and Systems Engineering
CSE 3802 / ECE 3431 Numerical Methods in Scientific Computation
Experiences Accelerating MATLAB Systems Biology Applications Heart Wall Tracking Lukasz Szafaryn, Kevin Skadron University of Virginia.
1 Radiotherapy, hadrontherapy and treatment planning systems. Faiza Bourhaleb INFN-Torino University Med 1er-Morocco  Radiotherapy  Optimization techniques.
6. A PPLICATION MAPPING 6.3 HW/SW partitioning 6.4 Mapping to heterogeneous multi-processors 1 6. Application mapping (part 2)
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Linear Algebra Libraries: BLAS, LAPACK, ScaLAPACK, PLASMA, MAGMA
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Minimizing Beam-On Time in Cancer Radiation Treatment Using Multileaf Collimators Natashia Boland Horst W. Hamacher Frank Lenzen January 4, 2002.
Introduction to Radiation Therapy
Engineering Optimization Most engineering design involves using optimization software Minimizes or maximizes a merit function Applies functional constraints.
University of Colorado Boulder ASEN 5070 Statistical Orbit determination I Fall 2012 Professor George H. Born Professor Jeffrey S. Parker Lecture 9: Least.
Athula D. A. Gunawardena, Michael C. Ferris and Robert R. Meyer University of Wisconsin-Whitewater, and University of Wisconsin-Madison.
Flair development for the MC TPS Wioletta Kozłowska CERN / Medical University of Vienna.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
 Multidisciplinary Effort › Surgery › Radiation › Systemic Rx (chemo, “drugs”)
Optimizing the Performance of Sparse Matrix-Vector Multiplication
CSE 554 Lecture 8: Alignment
Understanding Radiation Therapy Lecturer Radiological Science
OPERATING SYSTEMS CS 3502 Fall 2017
ECE 486/586 Computer Architecture Introductions Instructor and You
Depth from disparity (x´,y´)=(x+D(x,y), y)
Fast Radiation Simulation and Visualized Data Processing Method
课程名 编译原理 Compiling Techniques
Introduction to Optimization Models
Courtesy from Dr. McNutt
Unit# 8: Introduction to Computer Programming
The Future of Fortran is Bright …
2D transformations (a.k.a. warping)
An optimization approach to automate radiotherapy treatment planning
Multi-view geometry.
Simulation And Modeling
Prepared by Po-Chuan on 2016/05/24
BUS-221 Quantitative Methods
Presentation transcript:

FOUNDATIONS OF MODERN SCIENTIFIC PROGRAMMING COMPENG 701 FOUNDATIONS OF MODERN SCIENTIFIC PROGRAMMING

Course Information Instructor: Yuriy Zinchenko, Information Technology Building 221, zinchen@mcmaster.ca, course syllabus at http://optlab.mcmaster.ca/~yzinchen/ Time and location: Thursday, 10:30-13:30, ITB 235

Course Goals introduce to high-performance/high-throughput computing equip with basic knowledge of computing tools available The course is self-contained, tutorial-based. Focus: Basic Linear Algebra Subprograms

Tentative Layout introductory lecture file systems, binary systems, computer and processor architecture Linux/Unix and Windows operating systems introduction to MATLAB and Octave introduction to C and Fortran BLAS memory management and processor architecture for high-performance computing, compiler flags, tuning BLAS, Automatically Tuned Linear Algebra Software writing fast code in MATLAB external libraries with MATLAB/Octave, MEX files, BLAS interfacing introduction to parallel computing, cluster and multi-processor system (MPS) environments C/Fortran for high-performance computing on MPS, OpenMP, using clusters (SHARCNET)

Typical Applications for BLAS numerical PDE’s image processing core of most optimization engines many others Important: always exploit data structure!

Radiation Therapy for Cancer Treatment An Example Radiation Therapy for Cancer Treatment Background: About 1.3 million new cancer cases in the U.S. each year Nearly 60% receive radiation therapy, in conjunction with surgery, chemotherapy, etc.

External beam radiation therapy Radiation delivered by a linear accelerator Cancer cells more susceptible than normal cells Dose given in daily fractions for ~ 6 weeks Overlay beams from different angles

Intensity Modulated Radiation Therapy Block parts of the radiation beam – discretize the beam into smaller “beamlets” Choose different intensities for each beamlet Intensity Modulated Radiation Therapy Collaborative Working Group, 2001

Treatment planning Goal: Choose beam angles and beamlet intensities that kill tumor and spare healthy tissues Take CT scan Delineate Discretize body into “voxels” Formulate & solve a mathematical program to find a “good” plan Princess Margaret Hospital

One facet of RT treatment planning Formulate and solve “inverse problem” to find beamlet intensities that satisfy clinical objectives Assuming: all the input data are error-free Common approach: use optimization

Calculating dose delivered Dose delivered to voxel: w(b) = intensity of beamlet b (decision variable) Dose(b,v) = dose to voxel v from beamlet b (parameter)

Types of models Common objectives: Maximize the minimum dose to the target region Minimize deviations from prescribed dose Common constraints: Homogeneity Maximum dose constraints Dose-volume constraints

How to deliver ? Bad news: sensitive to errors

Uncertainties Setup errors + Patient motion + Structural changes during treatment = uncertainty in geometry A direction: rescan to eliminate some of these errors

What can go wrong? A simple LP problem: max x + y s.t. x+.99 y  1 x, y  0

A new problem Given image A and its perturbed copy B, how can we match those? ?

Assignment 1 MATLAB code and data are posted on the web. The image recovery is performed via naïve local search amongst the sequence of translations and rotations (e.g., lines 21-30 of the code). 0. Fill in the survey form on the next page. Would anything change if we replace line 26 with line 27? Which one would you prefer? Explain both parts. The translation/rotation transformation is implemented as series of operations on the intensity matrix (e.g., scan2). Write this operation in matrix-vector form, i.e., as AB+C=D for some matrices A,B,C and D. Are any of the data structures in 2 sparse, that is, have big blocks of zeros? Can one potentially take advantage of this? Bonus question: implement the sparse matrix-vector multiplication routine in MATLAB (may use C but no external libraries). The fastest code gets bonus points.

Background survey Name: Degree you pursuing (MS/PhD): Department: 1. Rank your answer from 1-”no idea” to 5-”expert level” to the following questions: how familiar are you with Linux/Unix OS Windows OS MATLAB Octave BLAS ATLAS C Fortran OpenMP MPI 2. Circle one: was today’s class too elementary just right too complicated? 3. Reason for taking the course: required interest in the subject. 4. What is the most important thing you would like to learn in this class?