Formulation and Solving Integer Programming Models by Using Microsoft Excel. Instructor.Mushtaq.T. Hussain

Similar documents
Linear programming Dr. Arturo S. Leon, BSU (Spring 2010)

**!!!"ﻛﺗ ﺎﻣ 'ﺧ)*!+ﻣﻠﺳﻣﻟ/ ءﺎﻣ1 **! 1+3ﻣ!ﻣ 45 6)+ﺻﻧﻟ/ 9ﺎ:ﻧﻠﻟ 4"ﻘ+" ﺎ+)"ﺳ ﻰﻠﻋ )ﻣﺂﺗ+ 9ﻟﺎﻌﻟ/

Logistics. Lecture notes. Maria Grazia Scutellà. Dipartimento di Informatica Università di Pisa. September 2015

Unit 1: CD1 Track 08. [pause] Hello and welcome. [pause] Hello to you, talking to a female. [pause] [pause] M1 Good morning

Farooq s Oratory Speechen A stylistic Study :

مقدمة. Matlab. ! ا%$#"ام (Command Window) (M-File) ا (Functions) ا (Scripts)

Abo Al-Qasim Ash-Shabi s Poetry from the Reception Theory Perspective

An - Najah Univ. J. Res. (N. Sc.) Vol. 23, The Optical Polaron in a Slab-Like Confinement

Large-scale optimization and decomposition methods: outline. Column Generation and Cutting Plane methods: a unified view

Lecture 23 Branch-and-Bound Algorithm. November 3, 2009

۲۷۹۶ 0 "' ی " #! ۴۳ و م د ; < : ی"98! ی"#"!

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA

Solving an optimization problem of a profit calculation taking into account fixed costs in Excel

Confined Hydrogen Atom in HigherSpace Dimension under Pressure. Muzaian Shaqqur & Sami Al Jaber

FAST! Tajweed Intensive Workshop! Rules of Noon Sakinah & Tanween Part 1

Integer Programming. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Minorities and their Impact on the Stability of the. (Iraq s Kurds as an Example)

VALUES FOR THE CUMULATIVE DISTRIBUTION FUNCTION OF THE STANDARD MULTIVARIATE NORMAL DISTRIBUTION. Carol Lindee

Linear Programming: Computer Solution and Sensitivity Analysis

Modern Logistics & Supply Chain Management

Appendix F. + 1 Ma 1. 2 Ma Ma Ma ln + K = 0 (4-173)

DEVELOPING RAINFALL INTENSITY-DURATION- FREQENCY RELATIONSHIP FOR BASRAH CITY

Behavior of Steel Plate Girders with Web Openings Loaded in Shear

Abstract. The study reached some important recommendations, such as:

( ) Iran's foreign Policy and its Impact on the Arab Gulf Security

A NEW METHOD FOR PREPARATION OF ALCOHOLS BY THE ELECTRO CHEMICAL REDUCTION OF ALDEHYDES +

Introduction to Operations Research

The Optical Polaron in Spherical Quantum Dot Confinement. Zher Samak, & Bassam Saqqa

BROOKLYN COLLEGE - DEPARTMENT OF CHEMISTRY FALL 2010 BOOKLIST

UNIVERSITY OF CALICUT M.A. ARABIC (CCSS)

* Assistant Prof., Faculty of Eng.&,Petroleum, Hadramout University, Yemen ** Lecturer, Faculty of Engineering, Kafrelsheikh University, Egypt

Two-pass heat-exchanger performance By programmable method

The Effects of Geographical Location on the Foreign Policy of the Sultanate of Oman

Ch.03 Solving LP Models. Management Science / Prof. Bonghyun Ahn

Graphical and Computer Methods

Chapter Two. Integers ASSIGNMENT EXERCISES H I J 8. 4 K C B

Introduction to Statistical Hypothesis Testing

Enhancing Thermal and Water Absorption Properties of Unsaturated Polyester and Epoxy by Nanocarbon Black Powder

DRAMA AND SHORT STORY

Chapter 5 Integer Programming

Using Spreadsheets to Teach Engineering Problem Solving: Differential and Integral Equations

Micrometer Gravity in Sky

The Role of Second Legislative Council in the Jordanian legislative process

The Study of Stress State in Indentation of a Flat Punch with Rounded Edge in Axisymmetric Backward Extrusion

NONLINEAR EQUATIONS AND TAYLOR S THEOREM

College Teaching Methods & Styles Journal Second Quarter 2005 Volume 1, Number 2

(Leasing Contract Ending by Ownership: a Comparative. Study with the Islamic Principles )

Efficient Choice of Biasing Constant. for Ridge Regression

International Journal of Scientific & Engineering Research, Volume 7, Issue 2, February ISSN

Demo 1: Solving LP problem graphically and with Excel Solver

PDF / PARTIAL DIFFERENTIAL EQUATIONS STUDENT SOLUTIONS MANUAL

Excel SOLVER for Fitting Bioanalytical Data to Weighted Polynomial Equations

Solutions to Second Midterm

...(iii), x 2 Example 7: Geetha Perfume Company produces both perfumes and body spray from two flower extracts F 1. The following data is provided:

Fundamentals of Probability Theory and Mathematical Statistics

A Preference-Based-Routing Example Solved by Linear Programming with Excel Solver. From Soup to Nuts. A Small 10-Agent Example

(CHAPTER 8) BASIC CONCEPTS

Journal of Business & Economics Research September, 2010 Volume 8, Number 9

BROOKLYN COLLEGE - DEPARTMENT OF CHEMISTRY SPRING 2011 BOOKLIST

Integer Programming Introduction. C, T int (3) 6C +7T 21 (1) Maximize : 12C +13T Subject to

Number Representations

SOLUTION OF SECOND ORDER PARTIAL DIFFERENTIAL EQUATIONS WITH VARIABLE COEFFICIENTS

Stochastic Modelling

א א א K א א א א א א א א א א א -١ -

Using Tables and Graphing Calculators in Math 11

Factors affecting the Type II error and Power of a test

Soaking Effects on the Shear Strength Parameters and Bearing Capacity of Soil

An example for the L A TEX package ORiONeng.sty

دراسة عددیة لاستقراریة سدود الانضاب الخلویة باستخدام برنامج ANSYS

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

3:00 م. The Way Station

Noon Sakinah and Tanween. Chapter 5

Investigation into Deformation Monitoring of Mosul Dam

MVE165/MMG631 Linear and integer optimization with applications Lecture 8 Discrete optimization: theory and algorithms

ECE 516: System Control Engineering

NICHE BREADTH AND RESOURCE PARTIONING

Political Development and its Role in the Stability of the Sultanate of Oman ( )

The Degree of Employee Acquisition of News Production skills in the News center in the Jordanian Television

Rogue Counrty and Potential Cooperation: the United States and Sudan and Feasible Economic Partnership

Middle school mathematics is a prerequisite for Algebra 1A. Before beginning this course, you should be able to do the following:

Operations Management 33:623:386, Spring Solutions to Final Exam Practice Questions. Insurance Advertising. Issuing Bonds.

INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations

BROOKLYN COLLEGE - DEPARTMENT OF CHEMISTRY SPRING 2010 BOOKLIST

Proof by induction ME 8

Introduction to Management Science (8th Edition, Bernard W. Taylor III) Chapter 11 Nonlinear Programming. Chapter 11 - Nonlinear Programming 1

CIVL Continuous Distributions

Formulae for Computing Logarithmic Integral Function ( )!

ISE 330 Introduction to Operations Research: Deterministic Models. What is Linear Programming? www-scf.usc.edu/~ise330/2007. August 29, 2007 Lecture 2

Biographical Art in Ayyoubi Literature. Al Ectibar Asexample

Introduction to Operations Research

Regression with Numerical Optimization. Logistic

Contents. 9. Fractional and Quadratic Equations 2 Example Example Example

STATE UNIVERSITY OF NEW YORK COLLEGE OF TECHNOLOGY CANTON, NEW YORK COURSE OUTLINE MATH BEGINNING ALGEBRA

Enabling Advanced Problem Solving in Spreadsheets with Access to Physical Property Data

Topic B. Spectral Analysis and the Classical Description of Absorption Susceptibility. Topic C. Basic Quantum Mechanical Models Spectroscopic Systems

" " "The impact of Incentives on improving the performance of the Employees In the Public Sector institutions In Jordan"

Advanced Mixed Integer Programming Formulations for Non-Convex Optimization Problems in Statistical Learning

Grade 2 Term 3 Portion Paper

Chapter 2 Introduction to Optimization & Linear Programming

Discrete Mathematics. Sec

Transcription:

Formulation and Solving Integer Programming Models by Using Microsoft Excel. Instructor.Mushtaq.T. Hussain / /... solver. Abstract Integer programming can be applied in numerous business situations. however, integer programming problems are generally more complex and time consuming to solve than linear programming problems. The aim of this research focuses upon the importance using spreadsheet software package in solving the different models of integer linear programming, this spreadsheet is simplifying in defeating the difficulty opposite to researchers and graduate students who have competence and interest in operations research scopes. In this research we identification four basis of integer programming :pure integer programming model, mixed integer programming model, binary integer programming model and mixed binary integer programming model. After that we take case study for each model and formulate the mathematical model for each case study and so find the optimal integer solution for each case study by using (solver tool) in excel program by presenting different solver windows. Keywords: LinearProgramming, Integer Programming, Microsoft Excel. 347

Introduction - Program Linearity.. ) (.... : ).(.... (Maximize).(Minimize). Homogenous...( ) (divisibility) (Andrew J.Mason2007). The research problem 2-. 348

. The importance of research 3- Solver.. The aim of research 4- Integer Linear Programming (ILP) - 2. ).(... (John A. Lawrence & others 998:63) Types of Integer Programming Models -.2 : total integer programming models. : mixed integer programming models. : pure binary (zero- one) integer programming models.(0-) 349

: mixed binary integer programming models (binary) (Joern 2009) Integer Linear Programming With -3 Microsoft Excel.. (Solver). () ( lathe press ). $50 $ 00 (). :. (ft 2 200) ($40000) () () (Taylor 2006). (Bernard W. Taylor Introduction to management science, Ninth Edition Virginia Polytechnic Institute and State University.publisher:Prentice Hall 2006). : Maximize or Minimize Z= Subject to: machine Press Lathe n j = n j= c jx a x, =, b i=, 2,.., m ij Required space ft 2 5 30 j x j 0 & integer i j Purchase price 8000 4000 j=,2,..,n : =X 350

MaximizeZ= 00X s.t : 5X 8000X X, + + 30X 4000X X 2 2 2 + 50X 0&integer 2 200 40000 =X 2 : -4 Solution of integer programming models by using excel program. (a. (b (c. (d. (e. (f ( Andrew J.Mason 2007 ). (g (a) (C5,B5) () ) (C4,B4) target ) ( ) D5 ( changing cells. ( cell ( input cells ) (C9:B9,C8:B8) (D9:D8). (F9:F8).(output cells) () / 35

D5 X ( ) X ).. X2 ( ) X2 D5=sumproduct(B4:C4,B5:C5) (b sumproduct (2) =Sumproduct(B4:C4,B5: =Sumproduct(B8:C8,$B$4:$C$4) = Sumproduct(B9:C9,$B$4:$C$4) Solver (optimization) (2) Solver parameter. Tools solver (c : :.( 3) (set target cell) * sumproduct sumproduct(b4:c4,b5:c5). 2 C4*C5 B4*B5 (LHS ). ( ) 2 ( RHS ) $ $C$4,$B$4 $ $ D9 D8 D9 D8. D9 =sumproduct(b5:c5,b9:c9) Andrew ). D9=sumproduct($B$4:$C$4,B9:C9): D9 $ of J.Mason Solving linear programs using Microsoft excel solver university (Auckland 2007 352

set target D5 ( 3 ) cell Min Max Enter.. Solver (3) / Changing Cell ( ) (d X2 X (). ( ) (C4:B4) C4:B4 Solver parameter (By changing cell).( 4) By changing cell ) القرار (4) (e : (C4:B4) 353

. Add constraint Add Solver parameter (Cell Reference ) Add constraint ( $C$4:$B$4) integer ( int). Add.( 5 ) constraint Cell ) ($D$9:$D$8 ) Add constraint ( Reference $F$9:$F$8 constraint (<=) ( 6 ) (5) Cell ) ($D$9:$D$8 ) Add constraint ( Reference $F$9:$F$8 constraint (<=) ( 6 ) (6) 354

Add ok ( 7 ) Solver parameter constraint solver parameter (7) / f : Assume linear model Solver option Solver parameter Option (8) Assume Non-. Assume linear model Solver Option. ok Negative (8) 355

(g. Solve parameter ok Assume linear model. (9) Solver Results. Solve (9) Keep Solve Solution ( 9) Restore Original Values.(0).. X= ) (0) (000$) (X2=6 (0) / 356

(Mixed Integer Programming) (2) * () : $250000. (3) (2) $2000 acre $9000 $50000 $8000 $500 4. $000 (MIP). 20 5 (Bernard W. Taylor. Introduction to management science, Ninth Edition Virginia Polytechnic Institute and State University.publisher:Prentice Hall 2006) (4). Solver Maximize or Minimize Z= Subject to: n j= n j= c jx a x, =, b i=, 2,.., m ij j x j 0 & some integer i j j=,2,..,n Max Z=9000X +500X 2 +000X 3 S.T: 5000X +2000X 2 +8000X 3 250000 X 4 X 2 5 X 3 20 X, X3 0and integer X 2 0 2 4000= (acre) 357

= : X =X 2 =X 3 E5=sumproduct(B4 :D4,B5:D5) آمية المورد المستهلك للقيد( E7=sumproduct(B7:D7,$B$4:$D$4)( آمية المورد المستهلك للقيد( 2 ) E8=sumproduct(B8:D8,$B$4:$D$4) آمية المورد المستهلك للقيد( 3 ) E9=sumproduct(B9:D9,$B$4:$D$4) آمية المورد المستهلك للقيد( 4 ) E0=sumproduct(B0:D0,$B$4:$D$4) () (2 ) (2) 358

(2 ) Add قيمة X يجب ان تكون عددية قيمة X2 يجب ان تكون مستمرة (3) Option (4 ) عدم السالبية للمتغيرات (4) / 359

Solver Parameter Solver Options Ok.(5 ) Solve (5) / نحدد الخيار الاول لاظهار النتاي ج في ورقة اآسل (6) 4 (7).$64750. 7 4.5 (7) 360

Binary Integer Programming BIP (3) *.( ) 4 2 7 3 ( ) ( ) (3) (2) 35000 0000 25000 9000 / (Bernard W. Taylor Introduction to management science, Ninth Edition Virginia Polytechnic Institute and State University.publisher:Prentice Hall 2006) (2) $ 20000.. (BIP) :. (Bernard W. Taylor Introduction to management science, Ninth :. Edition Virginia Polytechnic Institute and State University.publisher:Prentice Hall 2006) Maximize or Minimize Z= Subject to: n j= n j= c jx j a x, =, b i=, 2,.., m ij X j =0 or Max Z=300X +90X 2 +400X 3 +50X 4 S.T: 35000X +0000X 2 +25000X 3 +9000X 4 20000 4X + 2X 2 + 7X 3 + 3X 4 2 j 300 90 400 50 i. j=,2,..,n : 36

= X + X 2 X, X 2, X 3, X 4 =0 or X 4 = X 3 = X 2 = X. Sumproduct(B5:E5,B6: E6) () sumproduct(b8:e8,$b$5:$e$5) (2) sumproduct(b9:e9,$b$5:$e$5) (3) sumproduct(b0:e0,$b$5:$e$5) (8) $F$6 $B$5:$E$5 ( 0) (9) / 362

(20) (2) (22) / 363

X=. 700 X3= Fixed Cost -5 (... ). (John A. Lawrence & others,998:82).. (4) * ( John A. Lawrence : : & others Applied management science john wiley & sons,inc.998 ) (3) 3 450 2 390 405 ($000) 2.8 0.5.2 ( 000) ( John A. Lawrence & others Applied management science john wiley & sons,inc.998 ) (4) B 0 A 2 ( 000) ( John A. Lawrence & others Applied management science john wiley & sons,inc.998 ) (5) B 5 0 4 A 8 3 6 / 2 3 ( John A. Lawrence & others Applied management science john wiley & sons,inc.998 ) 364

Min ST. : m m i= n n X X ij C ij X X ij ij i= j= i= = d 0 Yi( ij j= j= Yi= 0or j + m n i=,2,.,m j=,2,,n FiYi d j ) 0 : i 0=Yi i j i i=,2,...,m j=,2,...,n =X ij : j i =X ij i =fi j i =C ij j =dj i=,2,3 j=a,b, i i 0=Yi j i =X ij Minimize Z = 8x A + 5x B +3x 2A + 0x 2B + 6x 3A + 4x 3B + 405 Y + 390 Y2 + 450 Y3 Subject to: x A + x B -.2 Y 0 x 2A + x 2B -0.5 Y2 0 x 3A + x 3B - 2.8 Y3 0. 365

x A + x 2A + x 3A =2 x B + x 2B + x 3B = 0 xij 0 yi = 0 or Solver (23) =SUMPRODUCT(B 2:J2,B3:J3) آمية المورد المستهلك للقيد ( ( =SUMPRODUCT(B5:J5,$B$2:$J$2) آمية المورد المستهلك للقيد (2 ( =SUMPRODUCT(B6:J6,$B$2:$J$2) آمية المورد المستهلك للقيد (3 ( =SUMPRODUCT(B7:J7,$B$2:$J$2) آمية المورد المستهلك للقيد (4 ( =SUMPRODUCT(B8:J8,$B$2:$J$2) آمية المورد المستهلك للقيد (5 ( =SUMPRODUCT(B9:J9,$B$2:$J$2) (24) 366

و 4 202/ تحدي د خلي ة الهدف L$2$ تحدي د خلاي ا متغي رات الق رار(الخلاي ا المتغي رة) $B$2:$J$2 خلاي ا الق رار الت ي يج ب ان تك ون ذات قيمة اآبر او تساوي الصفر خلاي ا الق رار الت ي يج ب ان تك ون ذات قيمة( 0 او ) (25) الط رف الاي سر للقي ود( 2 3 ) يج ب ان يك ون اق ل او م ساوي للم ورد المتي سر(الط رف الايم ن) لكل قيد. الطرف الايسر للقيود( 5) يج ب ان يساوي المورد المتسير لكل منها. (26) (26) / Solver Parameters (Solver Options) ok (27) Solve 367

(27) (28) :.A 500. B 0000.A 500.Y=0.$ 30.5= 368

Conclusions and Recommendations -6 Conclusions -6 Solver 2 8 2 6.. Recommendations 2-6 solver. 369

Arabic References - " " -.2006 5 " ". -2.2005 986 " ". -3.200 " ". -4 - English References -Andrew J. Mason "Solving linear programs using Microsoft Excel solver" University of Auckland 2007 2-Bernard W. Taylor Introduction to management science, Virginia Polytechnic Institute and State University.publisher:Prentice Hall. Ninth Edition 2006 3-Bronson, Richard "schaum's OutLine Series Theory and Applications of Operations Research" McCraw-Hill Book Company 982 4- John A. Lawrence & others Applied management science john wiley & sons,inc.998 5-Meissner,Joern" An introduction to spreadsheet optimization using excel solver"lancaster University 2009. 6-Taha,Hamdy A. Operations Research An Introduction Prentice-Hall, Inc eighth edition. 2007. 370