No video

Integer Programming: Solving a Puzzle with Excel Solver

  Рет қаралды 2,040

Tallys Yunes

Tallys Yunes

Күн бұрын

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...
If you are not familiar with the concept of binary variables and logical constraints, I recommend you watch these two videos first:
1. • Integer Programming: B...
2. • Integer Programming: L...
In this video I decided to do something different and illustrate how to use binary variables to solve a fun puzzle. It is a nice exercise to practice the concepts of yes/no (binary) decisions and logical conditions. This spreadsheet also works as a tool to help you create your own (maybe larger) versions of this puzzle to play with your friends. Enjoy!

Пікірлер: 7
@daniellebenjamin2971
@daniellebenjamin2971 11 ай бұрын
Really cool. I'm trying to solve a problem with multiple constraints... I'm spinning my wheels!
@TallysYunes
@TallysYunes 11 ай бұрын
Take a look at my "Excel Models" playlist. There's a good chance the one you're trying to solve is similar to a problem I address in there.
@haragopaltata8411
@haragopaltata8411 2 жыл бұрын
Excellent.
@yja100
@yja100 4 жыл бұрын
Very cool model and teaching idea! Interesting that the constraints can be modeled in multiple ways; for example, I came up with this for the 206 hint: X22 + X23 + X01 + X03 + X61 + X62 = 2 (Xij where i = digit, j= position)
@TallysYunes
@TallysYunes 4 жыл бұрын
Hi Yousef! Nice to see you around here. You're right that there are alternative ways to write the constraints, which is interesting for the students to see.
@stevemansfield8530
@stevemansfield8530 Жыл бұрын
Great stuff. I set up my own version, predefining a solution, then writing "Hints" that conformed to the solution, set up all the rest of the model and ran SOlver. It found a solution but not my solution! As a general question, is there a way of getting Solver to show all possible solutions and if so how do you do that? Or will it just stop at the first solution it finds?
@TallysYunes
@TallysYunes Жыл бұрын
There's no way to ask Solver to show all solutions. One way to look for other alternative solutions to a problem is to first solve it, then force the current solution to change by adding a constraint (e.g. forcing a binary variable that is currently at 0 to become 1, or vice-versa), then solve again. If the objective value stays the same, it means you've found an alternative optimal solution (same value, different course of action). You can then repeat this by modifying other variables. This won't necessarily find all alternative solutions (if you modify one variable at a time), but will find some. Other commercial packages for optimization (not Excel-based) will pre compute alternative optimal solutions and will show them upon request.
How to Read Excel Solver's Sensitivity Report
35:53
Tallys Yunes
Рет қаралды 52 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 44 МЛН
6.2 Project Mix Optimization problem with Binary Decision Variables using Excel Solver
7:45
The Stats Files - Dawn Wright Ph.D.
Рет қаралды 6 М.
Risk Profiles with Decision Trees in Excel: A Strategy Example
10:34
Introduction to Two-Stage Stochastic Optimization (Conceptual)
24:39
Two-Stage Stochastic Optimization in Excel: A Hotel Booking Example
21:25
Solving Linear Programming Problem using Excel's Solver
7:58
Tim Melvin
Рет қаралды 419 М.
Lukashenko: Escalation may end with destruction of Ukraine
24:20
Информационное агентство БелТА
Рет қаралды 1 МЛН
Can you solve these number puzzles?
8:03
MindYourDecisions
Рет қаралды 50 М.