No video

Integer Programming: Budget Allocation with Excel Solver (Knapsack Problem)

  Рет қаралды 16,131

Tallys Yunes

Tallys Yunes

4 жыл бұрын

Enjoyed this content & want to support my channel? You can get the spreadsheet I build in the video or buy me a coffee! Links below:
Buy me a coffee: www.buymeacoff...
Buy complete spreadsheet: www.buymeacoff...
Buy me an item from my wishlist: www.buymeacoff...
Given a limited resource (e.g. a budget) and a collection of activities, each of which consumes a portion of the resource and provides some benefit, choose which activities to perform so that the total benefit is maximized without exceeding the budget. This problem captures several real-life situations in which the "budget" can be money, time, space, weight, etc. In the literature, this problem is known as the knapsack problem.

Пікірлер: 27
@roberthuff3122
@roberthuff3122 2 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 *📚 Introduction to Integer Programming in Excel* - Overview of transitioning from linear to integer programming, focusing on integral or whole number variables and binary variables for decision-making. - Introduction to binary variables for yes/no decisions and their common applications. - Preview of utilizing binary and whole number variables in Excel models. 02:08 *🎯 Budget Allocation Problem: The Knapsack Problem* - Explanation of the budget allocation problem as a practical application of integer programming, referring to the historical knapsack problem. - Setting the scenario for applying a budget allocation strategy using binary variables in advertising channel selections. - Detailing the process of mapping out the problem's constraints and objectives using a hypothetical business case. 06:05 *💻 Setting up the Excel Model for Integer Programming* - Instructions on creating the Excel model for the problem, including data input, defining binary variables, and formulating the objective and constraints. - Demonstrating the setup of formulas for total exposure and total expense based on binary decisions. - Guidance on using Excel Solver for maximizing exposure within the budget constraint by adjusting Solver parameters for binary variables. 11:07 *🔄 Different Applications of the Knapsack Problem* - Describing the versatility of the knapsack problem by illustrating various real-life applications beyond budget allocation, such as camping gear selection and space mission preparation. - Highlighting the adaptability of the problem structure to different contexts, including time management, space utilization, and auditing projects. - Introduction to extending the binary variable model to accommodate logical conditions in subsequent scenarios. Made with HARPA AI
@kambalejeremie4699
@kambalejeremie4699 3 жыл бұрын
Good teacher... I understood it from here Thanks to much for this powerful video
@TallysYunes
@TallysYunes 3 жыл бұрын
You are very welcome!
@reuben4721
@reuben4721 3 жыл бұрын
Such a helpful video, thanks so much!
@TallysYunes
@TallysYunes 3 жыл бұрын
You're welcome!
@EloisaLira
@EloisaLira 2 жыл бұрын
Obrigada pela disponibilização dessa aula, tenho um pouco de dificuldade em entender os assuntos de programação inteira, mas consegui entender bem este assunto com o seu vídeo.
@TallysYunes
@TallysYunes 2 жыл бұрын
Oi Eloisa. Obrigado pela sua audiência! Fico feliz em saber que meu vídeo lhe ajudou.
@reinzue511
@reinzue511 2 жыл бұрын
Very help full video, thank you! I want to ask a question, Do you have any explanation on how to effectively determine which facilities should be developed, when they should be developed and at what capacity in order to achieve minimum system costs? Thanks in advance
@TallysYunes
@TallysYunes 2 жыл бұрын
You're welcome. This video may have what you are looking for: kzfaq.info/get/bejne/m716n5d5kqrbh3k.html
@reinzue511
@reinzue511 2 жыл бұрын
@@TallysYunes thank you so much for your prompt reply, sir.
@hakankosebas2085
@hakankosebas2085 Жыл бұрын
Sir, I don't quite understand the solver, I have a stock and have 3 feature (for example A, B, C features) of it, I want to find optimum stock that staisfy maximizing A and minimizing B and C, how can I set objective and contraints? I couldn't find same type of problem solution on youtube, please help me. I am not sure how I can set the objective and constraints.
@TallysYunes
@TallysYunes Жыл бұрын
In the situation you describe, you have a multi-objective optimization problem. One way of approaching it is to find a target or goal value for each objective, turn them into soft constraints, and use Goal Programming as I describe in this video: kzfaq.info/get/bejne/ppqid7F7vd3cYoE.html I don't have a video on this specific topic yet, but it's in the works. It's usually not possible to find a solution that achieves the best value for all objectives, so you end up with a collection of solutions that don't dominate each other; a kind of Pareto frontier of sorts.
@hakankosebas2085
@hakankosebas2085 Жыл бұрын
@@TallysYunes thank you for your kind responds, I watched the video and I will do same problem myself to fully understand, but as my understanding my problem is like picking stock within a list with multiple max min objective function, I am not academic or expreinced guy so I couldn't fit solution in the referenced video to my problem, a video tutorial and multi objective problems explanation would be appreciated, thank you for your respond though
@TallysYunes
@TallysYunes Жыл бұрын
Yes, it's not obvious how to connect goal programming with multi-objective optimization without a specific video on the topic.
@ravikirankawde
@ravikirankawde 2 жыл бұрын
Did you have some formulas in grey cells?? I am not sure
@TallysYunes
@TallysYunes 2 жыл бұрын
No. The cells are painted gray just to highlight them and differentiate them from the others. Those are the variables in the problem, i.e. the solution to the question. It is the Solver add-in that calculates those values for us.
@reuben4721
@reuben4721 3 жыл бұрын
How do I set a limit on how many items it can pick?
@reuben4721
@reuben4721 3 жыл бұрын
Actually don't worry I think I worked it out! (:
@iam_eclipseena
@iam_eclipseena 3 жыл бұрын
Very insightful. How will will determine if the problem is binary or integer?
@TallysYunes
@TallysYunes 3 жыл бұрын
If you have decisions of the type yes/no, true/false, do/not do, etc., then you need binary variables. You also need them if your problem includes logical constraints of the type: if this then that, or if this then not that, etc. If you have decisions that are quantities (how much/how many) and these quantities need to be whole-valued (number of people, number of cars, etc.), then you need integer variables. It's common for problems to need both types of these variables together.
@iam_eclipseena
@iam_eclipseena 3 жыл бұрын
@@TallysYunes Thank you very much
@grumpysunshinew
@grumpysunshinew 3 жыл бұрын
@@TallysYunes thankyou sir for explaining!
@kiramanda7503
@kiramanda7503 3 жыл бұрын
Hello can I ask for the graphical solution of this problem?
@kiramanda7503
@kiramanda7503 3 жыл бұрын
Pls send it to my email solielrabago@gmail.com
@TallysYunes
@TallysYunes 3 жыл бұрын
Problems with more than 3 variables cannot be solved graphically.
@therunningsloth6915
@therunningsloth6915 4 жыл бұрын
Hi, how do you limit the number of picks it can show but can still cover the budget?
@TallysYunes
@TallysYunes 4 жыл бұрын
To limit the number of picks you add a constraint that says SUM(gray cells)
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 63 МЛН
OMG what happened??😳 filaretiki family✨ #social
01:00
Filaretiki
Рет қаралды 10 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 37 МЛН
Linear Programming: Investment with Excel Solver
16:17
Tallys Yunes
Рет қаралды 15 М.
Goal Programming: Soft Constraints with Excel Solver
35:26
Tallys Yunes
Рет қаралды 10 М.
Using Solver, Excel Add-in for Digital Marketing Budget Allocation
14:05
Optizent Academy - Marketing Analytics
Рет қаралды 4,2 М.
Solve Linear Program problem in Excel (Solver)
5:22
Joshua Emmanuel
Рет қаралды 112 М.
Using Excel Solver to solve a LP problem
10:43
afshamkhan
Рет қаралды 387 М.
Solving Travelling Salesman Problem(TSP) using Excel Solver
4:31
jeffy joseph
Рет қаралды 204 М.
Linear Programming (LP) Optimization with Excel  Solver
17:32
Matt Macarty
Рет қаралды 631 М.
10 Excel Formulas That Will Set You Apart (+Cheat Sheet)
18:04
MyOnlineTrainingHub
Рет қаралды 246 М.