Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php on line 25 Call Stack: 0.0000 360656 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0482 1209288 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0482 1209288 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1244 4124192 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1258 4151728 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1266 4169440 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1268 4199960 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1279 4222680 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1279 4222680 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1817 4892696 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1854 5084848 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1860 5105776 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.1973 5305312 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.1974 5305568 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

## Minimum Cell Method

A company has two factories A and B, and three warehouses X, Y and Z. Factories A and B make 40 and 50 widgets per month respectively. Warehouses X, Y and Z store 15, 45 and 30 widgets respectively. The cost of transporting from a particular factory to a particular warehouse is shown in the table below.
 Factory\Warehouse X Y Z A 80 75 60 40 B 65 70 75 50 15 45 30
The minimum cell method tries to minimise the cost by allocating the maximum throughput to the lowest cost options. The lowest cost options are in order, A-Z, B-X, B-Y, B-Z=A-Y, A-X.
We can allocate 30 units to option A-Z, 15 units to option B-X, 10 units to A-Y and 35 units to By.
 Factory\Warehouse X Y Z A 0 10 30 40 B 15 35 0 50 15 45 30
The total cost is
$30 \times 60+10 \times 75+15 \times 65+35 \times 70=5975.$