Це відео не доступне.
Перепрошуємо.

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

Поділитися
Вставка
  • Опубліковано 13 чер 2020
  • 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.buymeacoffee.com/tallysyunes
    Buy complete spreadsheet: www.buymeacoffee.com/tallysyu...
    Buy me an item from my wishlist: www.buymeacoffee.com/tallysyu...
    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

  • @kambalejeremie4699
    @kambalejeremie4699 3 роки тому +1

    Good teacher... I understood it from here
    Thanks to much for this powerful video

  • @reuben4721
    @reuben4721 3 роки тому +1

    Such a helpful video, thanks so much!

  • @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 роки тому +1

      You're welcome. This video may have what you are looking for: ua-cam.com/video/eWJl4H-DwWE/v-deo.html

    • @reinzue511
      @reinzue511 2 роки тому

      @@TallysYunes thank you so much for your prompt reply, sir.

  • @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 роки тому +1

      Oi Eloisa. Obrigado pela sua audiência! Fico feliz em saber que meu vídeo lhe ajudou.

  • @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

  • @iam_eclipseena
    @iam_eclipseena 3 роки тому

    Very insightful. How will will determine if the problem is binary or integer?

    • @TallysYunes
      @TallysYunes  3 роки тому +4

      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!

  • @reuben4721
    @reuben4721 3 роки тому

    How do I set a limit on how many items it can pick?

    • @reuben4721
      @reuben4721 3 роки тому +1

      Actually don't worry I think I worked it out! (:

  • @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.

  • @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.

  • @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  Рік тому +1

      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: ua-cam.com/video/p4rDNJXwx2M/v-deo.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  Рік тому +1

      Yes, it's not obvious how to connect goal programming with multi-objective optimization without a specific video on the topic.

  • @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)