# 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 pages 1–18. Sign up to view the full content.

Computational Methods for Management and Economics Carla Gomes Lecture 8 Reading: 3.6-3.8 of textbook

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

View Full Document
Outline Displaying and Solving LP Models on a Spreadsheet and Modeling Languages Introduction to Simples
Solving Large Linear Programming Models

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

View Full Document
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.
MPL: Just ignore the message…

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

View Full Document
Acknowledgment from Cplex

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

View Full Document
MPL

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

View Full Document
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)
MPL: Solution Options

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

View Full Document
Checking Syntax and Runnig
Syntax

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

View Full Document
Solving it with Cplex
Optimal Solution

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

View Full Document
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
PLAIN VARIABLES Variable Name Activity Reduced Cost ------------------------------------------------------ C1 2.0000 0.0000 C2 6.0000 0.0000 ------------------------------------------------------ CONSTRAINTS PLAIN CONSTRAINTS Constraint Name

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

View Full Document
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
Ask a homework question - tutors are online