Main

## Main.LinearProgramming History

January 26, 2014, at 08:59 PM by 23.255.228.67 -
Changed line 20 from:
<iframe width="560" height="315" src="//www.youtube.com/embed/i8WS6HlE8qM?list=UU2GuY-AxnNxIJFAVfEW0QFA" frameborder="0" allowfullscreen></iframe>
to:
<iframe width="560" height="315" src="//www.youtube.com/embed/i8WS6HlE8qM" frameborder="0" allowfullscreen></iframe>
January 26, 2014, at 08:58 PM by 23.255.228.67 -
!!!! Refinery Optimization with Linear Programming
Changed lines 10-11 from:
* [[http://apmonitor.com/online/view_pass.php?f=irefinery.apm | Solve Refinery Optimization Problem]] with Integer Variables
to:
(:htmlend:)

!!!! Refinery Optimization with Mixed Integer Linear Programming

* [[http://apmonitor.com/online/view_pass.php?f=irefinery.apm | Solve Refinery Optimization Problem]] with Integer Variables

(:html:)
<iframe width="560" height="315" src="//www.youtube.com/embed/i8WS6HlE8qM?list=UU2GuY-AxnNxIJFAVfEW0QFA" frameborder="0" allowfullscreen></iframe>
January 23, 2014, at 08:01 AM by 23.255.228.67 -
Deleted lines 4-5:
!!!! Linear Programming Example 1
Changed lines 14-15 from:
!!!! Linear Programming Example 2
to:
----

!! Soft Drink Production Problem (Example 2)
Deleted lines 28-29:
----
Deleted lines 35-36:

----
January 23, 2014, at 08:00 AM by 23.255.228.67 -
Changed lines 5-16 from:
!!!! Linear Programming Example
to:
!!!! Linear Programming Example 1

A refinery must produce 100 gallons of gasoline and 160 gallons of  diesel to meet customer demands. The refinery would like to minimize the cost of crude and two crude options exist. The less expensive crude costs $80 USD per barrel while a more expensive crude costs$95 USD per barrel. Each barrel of the less expensive crude produces 10 gallons of gasoline and 20 gallons of diesel. Each barrel of the more expensive crude produces 15 gallons of both gasoline and diesel. Find the number of barrels of each crude that will minimize the refinery cost while satisfying the customer demands.

* [[http://apmonitor.com/online/view_pass.php?f=refinery.apm | Solve Refinery Optimization Problem]] with Continuous Variables
* [[http://apmonitor.com/online/view_pass.php?f=irefinery.apm | Solve Refinery Optimization Problem]] with Integer Variables

(:html:)
<iframe width="560" height="315" src="//www.youtube.com/embed/M_mpRrGKKMo?rel=0" frameborder="0" allowfullscreen></iframe>
(:htmlend:)

!!!! Linear Programming Example 2
February 18, 2013, at 03:53 PM by 69.169.188.188 -
Deleted line 15:
February 18, 2013, at 03:52 PM by 69.169.188.188 -
Changed line 46 from:
* [[Attach:linear_programming_with_apm_python.zip|Attach:linear_programming_with_apm_python.png]]
to:
[[Attach:linear_programming_with_apm_python.zip|Attach:linear_programming_with_apm_python.png]]
February 18, 2013, at 03:49 PM by 69.169.188.188 -
Changed line 26 from:
to:
Changed line 36 from:
to:
February 18, 2013, at 03:49 PM by 69.169.188.188 -
Changed line 26 from:
to:
Changed line 36 from:
to:
February 18, 2013, at 03:49 PM by 69.169.188.188 -
Changed lines 21-25 from:
Below are the source files for generating the contour plots in Python. The linear program is solved with the APM model through a web-service while the contour plot is generated with Matplotlib.

* [[Attach:linear_programming_with_apm_python
.zip|Linear Programming Example Files for APM Python (.zip)]]
*
[[Attach:linear_programming_with_apm_python.zip|Attach:linear_programming_with_apm_python.png]]
to:
!!!! Soft Drink Production Problem

[[http://apmonitor
.com/online/view_pass.php?f=softdrink.apm | Solve the Production Problem Online]]

(:html:)
...</iframe>
(:htmlend:
)

----

!!!! Modified Production Problem

[[http://apmonitor.com/online/view_pass.php?f=softdrink2.apm | Solve the Modified Production Problem Online]]

(
:html:)
<iframe src="http://apmonitor
(:htmlend:)

----

!!!! Solution and Contour Plots with Python

Below are the source files for generating the contour plots in Python. The linear program is solved with the APM model through a web-service while the contour plot is generated with the Python package Matplotlib.
February 18, 2013, at 02:21 PM by 69.169.188.188 -
Changed lines 8-12 from:
* 3 units of ''A'' and 6 units of ''B'' to produce product ''1''
* 8 units of ''A'' and 4 units of ''B'' to produce product ''2''
There are at most 5 units of product 1 and 4 units of product 2. Product 1 can be sold for 100 and Product 2 can be sold for 125. The objective is to maximize the profit for this production problem.

to:
* 3 units of ''A'' and 6 units of ''B'' to produce Product ''1''
* 8 units of ''A'' and 4 units of ''B'' to produce Product ''2''
There are at most 5 units of Product ''1'' and 4 units of Product ''2''. Product 1 can be sold for 100 and Product 2 can be sold for 125. The objective is to maximize the profit for this production problem.

A contour plot can be used to explore the optimal solution. In this case, the black lines indicate the upper and lower bounds on the production of ''1'' and ''2''. In this case, the production of ''1'' must be greater than 0 but less than 5. The production of ''2'' must be greater than 0 but less than 4.

Attach:linear_programming_contour.png

----

Below are the source files for generating the contour plots in Python. The linear program is solved with the APM model through a web-service while the contour plot is generated with Matplotlib.
February 18, 2013, at 02:00 PM by 69.169.188.188 -
(:title Linear Programming Example:)
(:keywords linear programming, mathematical modeling, nonlinear, optimization, engineering optimization, university course:)
(:description Tutorial on linear programming solve parallel computing optimization applications.:)

!!!! Linear Programming Example

A simple production planning problem is given by the use of two ingredients ''A'' and ''B'' that produce products ''1'' and ''2''. In this case, it requires:
* 3 units of ''A'' and 6 units of ''B'' to produce product ''1''
* 8 units of ''A'' and 4 units of ''B'' to produce product ''2''
There are at most 5 units of product 1 and 4 units of product 2. Product 1 can be sold for 100 and Product 2 can be sold for 125. The objective is to maximize the profit for this production problem.

----

* [[Attach:linear_programming_with_apm_python.zip|Linear Programming Example Files for APM Python (.zip)]]
* [[Attach:linear_programming_with_apm_python.zip|Attach:linear_programming_with_apm_python.png]]

----

(:html:)
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'apmonitor'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';