Integer Programming with What’sBest

Slides:



Advertisements
Similar presentations
Solving LP Models Improving Search Special Form of Improving Search
Advertisements

Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Standard Minimization Problems with the Dual
Linear programming: lp_solve, max flow, dual CSC 282 Fall 2013.
1 Chapter 11 Here we see cases where the basic LP model can not be used.
Linear Programming Models & Case Studies
Gomory’s cutting plane algorithm for integer programming Prepared by Shin-ichi Tanigawa.
SENSITIVITY ANALYSIS.
LP EXAMPLES.
The Simplex Method: Standard Maximization Problems
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
Pet Food Company A pet food company wants to find the optimal mix of ingredients, which will minimize the cost of a batch of food, subject to constraints.
Linear Programming. Linear programming A technique that allows decision makers to solve maximization and minimization problems where there are certain.
Linear-Programming Applications
Duality Theory 對偶理論.
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Public Policy Modeling Simplex Method Tuesday, October 13, 2015 Hun Myoung Park, Ph.D. Public Management & Policy Analysis Program Graduate School of International.
Range of Feasibility For phase 2 of manufacturing, the allowable increase is 40 (LINDO) Thus the dual price of $125 is valid for any increase in the allowable.
1 Systems Analysis Methods Dr. Jerrell T. Stracener, SAE Fellow SMU EMIS 5300/7300 NTU SY-521-N NTU SY-521-N SMU EMIS 5300/7300 Statistical Analysis Other.
Linear Programming with Excel Solver.  Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision.
Professional software packages such as The WinQSB and LINDO provide the following LP information: Information about the objective function: –its optimal.
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Chapter 6 Optimization Models with Integer Variables.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Linear Programming Technical Supplement 1 Linear Programming Copyright © 2014 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Solving IPs – Implicit Enumeration Similar to Binary IP Branch and Bound General Idea: Fixed variables – those for which a value has been fixed. Free Variable.
Chapter 3: Sensitivity Analysis and the Dual Problem & Shadow Prices
MID-TERM EXAM/REVISION
Using Variable Domain Functions
Managerial Economics Linear Programming
Limiting factor analysis
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
BIA 674 – Supply Chain Analytics
MBA 651 Quantitative Methods for Decision Making
Chapter 5 Sensitivity Analysis: An Applied Approach
Why network models? Visualize a mathematical model
Graphical Analysis – the Feasible Region
Chapter 5 Simplex-Based Sensitivity Analysis and Duality
Integer Programming II
Chapter 4 Linear Programming: The Simplex Method
به نام خدا آشنایی با LINDO Software استاد :‌ راحله خاندوزی.
The ABC’s of Optimization
دانشگاه شهیدرجایی تهران
How LINGO diagnoses solution issues
The ABC’s of Optimization
St. Edward’s University
تعهدات مشتری در کنوانسیون بیع بین المللی
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
PRODUKTIONSPLANUNGS-BEISPIEL 6.1
How What’sBest! diagnoses solution issues
Gomory’s cutting plane algorithm for integer programming
Integer Programming with What’sBest
LP Example of Soil Stability
Thank You!! For More Information Visit: m/ Call to :
Integer Programming with LINGO
A more complex LP problem
A more complex LP problem with What’sBest!
LINGO LAB 3/4.
Linear Programming Excel Solver.
ENGM 435/535 Integer Programming.
Linear Programming – Sensitivity Analysis
Linear Programming Integer Linear Models.
Linear Programming Integer Linear Models.
A more complex LP problem
REVIEW FOR EXAM 1 Chapters 3, 4, 5 & 6.
Linear Programming.
Presentation transcript:

Integer Programming with What’sBest LSW4-1 Integer Programming with What’sBest LINDO Systems www.lindo.com

Integer Programming LSW4-2 Example with general integer variables   MAX = 20 * A + 30 * C; A <= 60; C <= 50; A + 2 * C <= 119; LSW4-2

Integer Programming LSW4-3 Example with general integer variables   MAX = 20 * A + 30 * C; A <= 60; C <= 50; A + 2 * C <= 119; LSW4-3

1]! Make or buy decisions: 2] Case 1) Minimum batch size;   Go/No-Go Decisions and Binary Variables 1]! Make or buy decisions: 2] Case 1) Minimum batch size; 3]! If we do any C, must do at least 40; 4]MAX = 20 * A + 30 * C; 5] A <= 60; 6] C <= 50; 7] A + 2 * C <= 120; 8]! Define YC = 1 if we make any C, else 0; 9]! Make YC a BINary variable; 10] @BIN( YC); 11]! If YC = 1, then C >= 40; 12] C >= 40 * YC; 13]! If YC = 0, then C <= 0; 14] C <= 50 * YC; LSW4-4

The solution says its worth “taking the plunge” with C: LSW4-5.1   The solution says its worth “taking the plunge” with C: Variable Value Reduced Cost A 40.00000 0.000000 C 40.00000 0.000000 YC 1.000000 400.000000 Row Slack or Surplus Dual Price 1 2000.000000 1.000000 2 20.000000 0.000000 3 10.000000 0.000000 4 0.000000 20.000000 5 0.000000 -10.000000 6 10.00000 0.0000000

LSW4-5.2 Delete Integer-Binary

LSW4-5.3 Define YC (binary variable)

LSW4-5.4 Define Constraint of YC

LSW4-5.5 Solve !!!

A Second Common Use of Binary Variables: 1]! Make or buy decisions: 2] Case 2) Fixed cost; 3]! If we do any A, must pay $700 fixed cost; 4]! Define YA = 1 if we make any A, else 0; 5]MAX = 20 * A + 30 * C - 700 * YA; 6] A <= 60; 7] C <= 50; 8] A + 2 * C <= 120; 9]! Make YA a BINary variable; 10]@BIN( YA); 11]! If YA = 0, then A <= 0; 12] A <= 60 * YA;   LSW4-6

Solution says it is not worth “paying the entry fee” for A:   Solution says it is not worth “paying the entry fee” for A: Optimal solution found at step: 8 Objective value: 1500.000 Branch count: 1 Variable Value Reduced Cost A 0.000000 0.0000000 C 50.000000 0.0000000 YA 0.000000 -500.0000 Row Slack or Surplus Dual Price 1 1500.000000 1.000000 2 60.000000 0.000000 3 0.000000 30.000000 4 20.000000 0.000000 5 0.000000 20.000000 LSW4-7.1

LSW4-7.2 Define YC (binary variable)

LSW4-7.3 Define Best (Max Profit)

LSW4-7.4 Define Constraint of YA

LSW4-7.5 Solve !!!

Thank you for your attention. For more information, please visit www.m-focus.co.th or Call 02-513-9892