type
Post
Created date
Oct 23, 2022 05:10 AM
category
Business
tags
Decision Making
status
Published
Language
English
From
School
summary
slug
password
Author
Priority
Featured
Featured
Cover
Origin
Type
URL
Youtube
Youtube
icon
More exercises
![1. Let U1 ge 情況下, 揾allocated cells ge U/V value](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fa480b373-e204-4038-8717-20d23caa9906%2FUntitled.png%3Ftable%3Dblock%26id%3De4163d13-f019-4f25-ba2b-535f58277fea%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DfqAzpKfheQ5WTrrP2KR5Ugi-v7C9QyMVa8ceQg3Wh-c?table=block&id=e4163d13-f019-4f25-ba2b-535f58277fea&cache=v2)
![2. Add penalty to unallocated cells. We have two unallocated cells in the first row, two in the second row and two in the third row. Lets compute this one by one.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F019e4375-f566-4829-8cd4-b58ca16894a0%2FUntitled.png%3Ftable%3Dblock%26id%3D4de7e9e1-7dc5-4d6e-b24d-01e6349236e2%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DYHwmxtT8g4RA2RzpaprF_uQuJogp9iETWmRXeJvJ9nI?table=block&id=4de7e9e1-7dc5-4d6e-b24d-01e6349236e2&cache=v2)
幾時可以停?
If we get all the penalties value as zero or negative values that mean the optimality is reached and this answer is the final answer. But if we get any positive value means we need to proceed with the sum in the next step.
![3. 係pen'a'li'ty 最大值ge cell 加符號, 做個loop。Loop 吾比一開始轉右](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Feece88e3-0ef5-43cb-b032-2d0069246f40%2FUntitled.png%3Ftable%3Dblock%26id%3D7ceca911-af59-4190-b21f-e5088565b9d5%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DWnExmh1tmu3gqAteIdnVAuDmfHcOjFfFovEHHd_ofNM?table=block&id=7ceca911-af59-4190-b21f-e5088565b9d5&cache=v2)
![Step 4.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fad1aeab0-ad3a-46d7-9453-68b7bc302129%2FUntitled.png%3Ftable%3Dblock%26id%3Dd12d97fb-bfbc-4fe3-ad90-68b2eab96ce7%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DgPuxTaKLQTPGCE9dhKj4LpcunhzdBGP6-A2V03TbhrE?table=block&id=d12d97fb-bfbc-4fe3-ad90-68b2eab96ce7&cache=v2)
Iteration 2
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F2f362540-7d96-41d2-aee3-901b27b7f979%2FUntitled.png%3Ftable%3Dblock%26id%3Df2ccefc0-d612-4047-9fd5-fb3ca367e15e%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DYzqMsez1VTYSCSFV7mfpeHvhvdj6-bAR239VsW89VNM?table=block&id=f2ccefc0-d612-4047-9fd5-fb3ca367e15e&cache=v2)
![Like step 2, Add penalty to unallocated cells. We have two unallocated cells in the first row, two in the second row and two in the third row. Lets compute this one by one.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Ffc00d649-0d92-49d9-a6b8-f8690a26441b%2FUntitled.png%3Ftable%3Dblock%26id%3Df3af6e5b-7903-4aae-8658-d0b5d5d4af27%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DMHKmvjs48xMcbUJZKCwcl25UT-Fwam5zUQmUC54r8C0?table=block&id=f3af6e5b-7903-4aae-8658-d0b5d5d4af27&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fd5462625-76f5-4dc0-9b53-aaf4f8867065%2FUntitled.png%3Ftable%3Dblock%26id%3Daeec6fbd-446e-4826-b6a3-e48356a3c61e%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DV7BQTFWnI2FoZaBJT76v03Pl7L6mC9WwFo5LIGu17Tg?table=block&id=aeec6fbd-446e-4826-b6a3-e48356a3c61e&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F8b6659d3-fdcf-4fa1-8830-74b5432aa8b8%2FUntitled.png%3Ftable%3Dblock%26id%3D48f12250-556b-4706-b966-59d69b4bff9a%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DzmbR_fnTVqiJY3n2rKN2cDJ8IiQ4QIVcmSkH2klNFPI?table=block&id=48f12250-556b-4706-b966-59d69b4bff9a&cache=v2)
Iteration 3
![Like step 1, update U and V value](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F86769346-f296-421c-ba8d-ccaf5091b79f%2FUntitled.png%3Ftable%3Dblock%26id%3Dd6dbd0d2-ab02-4dc3-82cf-423e7035992c%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DGSYBbwEbs62_AF3z-sswkh6okQb2Q4IZteYOkrZRTno?table=block&id=d6dbd0d2-ab02-4dc3-82cf-423e7035992c&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Ff51d9ea1-6fab-48a5-bce4-80b92051db74%2FUntitled.png%3Ftable%3Dblock%26id%3D6d6c5df9-cbbe-4277-8419-ff97eb7f49f6%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725652800000%26signature%3DsIspmhBeG-s67uAcrA39gRu74C0rvvJyGc5HO07TOgU?table=block&id=6d6c5df9-cbbe-4277-8419-ff97eb7f49f6&cache=v2)
Now, total cost = (250 * 1) + (200 * 2) + (150 * 5) + (50 * 3) + (200 * 3) + (150 * 2) = 2450
- Author:Jason Siu
- URL:https://jason-siu.com/article%2Fd4548cdb-dc46-4d5a-8189-c836520e406a
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
Values alignment - Ray Dalio & Naval Ravikant
The AAA Framework - Ali Abdaal
Bouncing Back with Gain Recovery Calculator: The Art of Recouping Financial Losses in Leveraged Investments
Zero to One Extract: Questions that every business must answer
Life - Principles
I'm a master of analysis, coding is just a bonus!