GAMS TUTORIAL SLIDES

# GAMS TUTORIAL SLIDES - A GAMS TUTORIAL A GAMS TUTORIAL A...

This preview shows pages 1–8. Sign up to view the full content.

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

View Full Document

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

View Full Document

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

View Full Document

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.

Unformatted text preview: A GAMS TUTORIAL A GAMS TUTORIAL A GAMS TUTORIAL WHAT IS GAMS ? z General Algebraic Modeling System z Modeling linear, nonlinear and mixed integer optimization problems z Useful with large, complex problems A GAMS TUTORIAL A GAMS TUTORIAL A GAMS Example TRANSPORTATION EXAMPLE z A toy problem! … z 2 supply plants, 3 markets, and 1 commodity. z Given: unit costs of shipping. z How much to ship to minimize total transportation cost A GAMS TUTORIAL A GAMS TUTORIAL Minimize: Transportation cost Subject to: Demand satisfaction and supply constraints 325 275 300 600 350 2 . 5 k M i l e s 1 . 4 k M i l e s 2 . 5 k M i l e s 1 . 8 k M i l e s 1 . 8 k M i l e s 1 . 7 k M i l e s San Diego Topeka New York Chicago Seattle A GAMS Example TRANSPORTATION EXAMPLE A GAMS TUTORIAL A GAMS TUTORIAL Distances Markets Plants New York Chicago Topeka Supply Seattle 2.5 1.7 1.8 350 San Diego 2.5 1.8 1.4 600 Demand 325 300 275 Shipping costs are assumed to be \$90 per case per kMile. A GAMS Example TRANSPORTATION EXAMPLE A GAMS TUTORIAL A GAMS TUTORIAL Transportation Example: ALGEBRAIC REPRESENTATION Indices (or sets): i = plants j = markets Given Data (or parameters): a i = supply of commodity of plant i (in cases) b j = demand for commodity at market j (cases) c ij = cost per unit shipment between plant i and market j (\$/case) A GAMS TUTORIAL A GAMS TUTORIAL Transportation Example: ALGEBRAIC REPRESENTATION Decision Variables: x ij = amount to ship from plant i to market j (cases), where x ij ≥ 0, for all...
View Full Document

{[ snackBarMessage ]}

### Page1 / 24

GAMS TUTORIAL SLIDES - A GAMS TUTORIAL A GAMS TUTORIAL A...

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

View Full Document
Ask a homework question - tutors are online