Lingo

Submitted by: Submitted by

Views: 218

Words: 418

Pages: 2

Category: Other Topics

Date Submitted: 10/10/2012 06:21 AM

Report This Essay

LINGO 8.0 TUTORIAL

Created by: Kris Thornburg Anne Hummel

Table of Contents

Introduction to LINGO 8.0………………………………………………………………………..2 Creating a LINGO Model…………………………………………………………………………3 Solving a LINGO Model………………………………………………………………………….4 Using Sets in LINGO……………………………………………………………………………..6 The LINGO Data Section…………………………………………………………………………8 Variable Types in LINGO…………………………………………………………………….…10 Navigating the LINGO Interface…………………………………………………………….…..11 LINGO Operators and Functions………………………………………………………………...14 Common LINGO Error Messages……………………………………………………………….16 LINGO Programming Examples………………………………………………………………...17

Introduction to LINGO 8.0

LINGO is a software tool designed to efficiently build and solve linear, nonlinear, and integer optimization models. LINGO 8.0 includes several new features, including: • • • • • • • • • • A new global solver to confirm that the solution found is the global optimum, Multistart capability to solve problems more quickly, Quadratic recognition and solver to identify quadratic programming (QP) problems, A faster and more robust Dual Simplex solver, An improved integer solver to enhance performance in solving many types of problems, Linearization capability to transform common nonsmooth functions to a series of linear functions, Infeasible and unbounded analytical tools to help identify model definition problems, A decomposition feature to identify if a model contains independent submodels, A threadsafe DLL for various classes of models, and More fun than ever before!

1

Creating a LINGO Model

An optimization model consists of three parts: • • • Objective function – This is single formula that describes exactly what the model should optimize. A general manufacturing example of an objective function would be to minimize the cycle time for a given product. Variables – These are the quantities that can be changed to produce the optimal value of the objective function. For example, when driving a car, the duration of...