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

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 29

  • @bluetaurean
    @bluetaurean 8 วันที่ผ่านมา

    Another wonderful video. Appreciate if you could recommend books to build a stronger understanding of the concepts.

    • @TallysYunes
      @TallysYunes  7 วันที่ผ่านมา +1

      Thanks! Here's a book I like on these topics (at around a senior undergraduate/MBA level): "Spreadsheet Modeling and Decision Analysis" by Cliff Ragsdale.

  • @kambalejeremie4699
    @kambalejeremie4699 3 ปีที่แล้ว +1

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

    • @TallysYunes
      @TallysYunes  3 ปีที่แล้ว

      You are very welcome!

  • @reuben4721
    @reuben4721 3 ปีที่แล้ว +1

    Such a helpful video, thanks so much!

  • @roberthuff3122
    @roberthuff3122 5 หลายเดือนก่อน

    🎯 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

  • @reinzue511
    @reinzue511 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

      You're welcome. This video may have what you are looking for: th-cam.com/video/eWJl4H-DwWE/w-d-xo.html

    • @reinzue511
      @reinzue511 3 ปีที่แล้ว

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

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

  • @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: th-cam.com/video/p4rDNJXwx2M/w-d-xo.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.

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

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

  • @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! (:

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