4120_lecture8 - Computational Methods for Management and Economics Carla Gomes Lecture 8 Reading 3.6-3.8 of textbook Outline Displaying and Solving

Info iconThis preview shows pages 1–18. Sign up to view the full content.

View Full Document Right Arrow Icon
Computational Methods for Management and Economics Carla Gomes Lecture 8 Reading: 3.6-3.8 of textbook
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Outline Displaying and Solving LP Models on a Spreadsheet and Modeling Languages Introduction to Simples
Background image of page 2
Solving Large Linear Programming Models
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Modeling Languages A mathematical language that has been designed to efficiently formulate large mathematical models (with thousand of variables/constraints). Examples of modeling languages: AMPL; MPL; GAMS; LINGO. Textbook (CD-ROM): MPL (student version; also from www.maximalsoftware.com) It provides an interface to to Excel (importing and exporting Excel ranges) Powerful state-of-the-art LP based solver CPLEX LINDO (also available from www.lindo.com) LINDO (Traditional optimizer) What’s Best – spreadsheet optimizer LINGO (Linear and Non-liner programming) Formulations in MPL, LINGO, LINDO and What’s best for all the examples in the book.
Background image of page 4
MPL: Just ignore the message…
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MPL/CPLEX Activating the license
Background image of page 6
Acknowledgment from Cplex
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Email from Cplex From [email protected] Thu Feb 24 12:21:30 2005 Date: Thu, 24 Feb 2005 09:16:51 -0800 (PST) From: [email protected] To: [email protected] Subject: License Instructions for MPL and CPLEX Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on sundial.cs.cornell.edu X-Spam-Status: No, hits=-1.4 required=5.0 tests=BAYES_01,NO_REAL_NAME autolearn=no version=2.60 X-Spam-Level: Dear Carla Gomes, Thank you for registering your copy of MPL and CPLEX provided with the book Hillier and Lieberman, Introduction to Operations Research, Seventh Edition. Instructions for activating your license appear below. If you have any questions or require support, please contact Maximal Software at [email protected] . The steps for activating your license are listed below. Please note the special activation password listed in Step 3. etc
Background image of page 8
MPL
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MPL TITLE WyndorGlass; MODEL MAX Z = 3 X1 + 5 X2; SUBJECT TO X1 <= 4; 2 X2 <= 12; 3 X1 + 2 X2 <= 18; END Note: default assumption – non-negativity constraints (can be changed)
Background image of page 10
MPL: Solution Options
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Checking Syntax and Runnig
Background image of page 12
Syntax
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Solving it with Cplex
Background image of page 14
Optimal Solution
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MPL Modeling System - Copyright (c) 1988-2008, Maximal Software, Inc. -------------------------------------------------------------------------------- MODEL STATISTICS Problem name: WyndorGlass Filename: wyndor.mpl Date: February 25, 2008 Time: 20:07 Parsing time: 0.00 sec Solver name: CPLEX (11.0.0) Objective value: 36.0000000000 Iterations: 2 Solution time: 0.48 sec Result code: 1 Constraints: 3 Variables: 2 Nonzeros: 4 Density: 67 % SOLUTION RESULT Optimal solution found MAX Z = 36.0000 DECISION VARIABLES
Background image of page 16
PLAIN VARIABLES Variable Name Activity Reduced Cost ------------------------------------------------------ C1 2.0000 0.0000 C2 6.0000 0.0000 ------------------------------------------------------ CONSTRAINTS PLAIN CONSTRAINTS Constraint Name
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 18
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/25/2011 for the course AEM 4120 taught by Professor Gomes,c. during the Fall '08 term at Cornell University (Engineering School).

Page1 / 50

4120_lecture8 - Computational Methods for Management and Economics Carla Gomes Lecture 8 Reading 3.6-3.8 of textbook Outline Displaying and Solving

This preview shows document pages 1 - 18. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online