Examlex

Solved

A Company Needs to Ship 100 Units from Seattle to Denver

question 7

Essay

A company needs to ship 100 units from Seattle to Denver at the lowest possible cost.The costs associated with shipping between the cities are listed below.Also,the decision variable associated with each pair of cities is shown next to the cost.
To
 From  Portland  Spokane  Salt Lake City  Denver  Seattle 100X12)500X13)600X14) Portland 350X23)300X24) Spokane 250X34)200X35) Salt Lake  200 X45)City\begin{array} { l c c c c } \text { From } & \text { Portland } & \text { Spokane } & \text { Salt Lake City } & \text { Denver } \\\hline \text { Seattle } & \left. 100 \mathbf { X } _ { 12 } \right) & \left. 500 \mathbf { X } _ { 13 } \right) & \left. 600 \mathbf { X } _ { 14 } \right) & - \\\text { Portland } & - & \left. 350 \mathbf { X } _ { 23 } \right) & \left. 300 \mathbf { X } _ { 24 } \right) & - \\\text { Spokane } & - & - & \left. 250 \mathbf { X } _ { 34 } \right) & \left. 200 \mathrm { X } _ { 35 } \right) \\\text { Salt Lake } & - & - & - & \text { 200 } \left. \mathbf { X } _ { 45 } \right)\\\text{City}\end{array}
Write out the LP formulation for this problem.


Definitions:

Execution

The process of running a computer program or a specific part of the program.

Static Arrays

Static arrays are arrays whose size is fixed at compile-time, and they cannot be resized during program execution.

Global Arrays

Arrays that are declared outside of functions and are accessible by any part of the program.

Default

A preselected option adopted by a computer program or other mechanism when no alternative is specified by the user or programmer.

Related Questions