Skip to content

Moe’s Homepage

Knows how to provide Solution

Menu
  • Home
  • About
    • About Me
Menu

Category: Mathematics

Queen or Not-Queen, That’s The Question

Posted on December 8, 2025December 8, 2025 by mabouali

It’s time to have fun with optimization again by solving another LinkedIn puzzles. This time it is the “Queen” puzzle turn. What is queen puzzle? Like most LinkedIn puzzles, it is a board game. You are provided with a square board of size . Cells are colored. The rules are easy: Here is an example…

Continue reading

Zipping

Posted on November 28, 2025December 8, 2025 by mabouali

No! This is not a post about file compression algorithm called zip. Yes! this is about solving another LinkedIn puzzle called Zip. What is Zip Puzzle? It is a nice puzzle. You are given a board, usually 6×6. Certain cells on the board are numbered. You need to trace a path on the board. The…

Continue reading

Mini-Sudoko

Posted on November 18, 2025November 18, 2025 by mabouali

We Tango in this post. Now it’s time to continue having fun with optimization and solve some mini-sudoku. What is mini-sudoku? Well, it is Sudoku; but, emm, well, mini. Instead of having 3×3 blocks of 3×3, it has 3×2 blocks of 2×3. Now instead of assigning an integer from 1 to 9, you are assigning…

Continue reading

Let’s Tango!

Posted on November 16, 2025November 16, 2025 by mabouali

I know it’s a cheesy title for a nerdy stuff. Anyway, I am not sure how long is LinkedIn doing it, but I started to get some messages on LinkedIn challenging me to solve some puzzles. I have to admit, I love them. In this post we are going to focus on one of the…

Continue reading

Time To Empty

Posted on November 14, 2025November 14, 2025 by mabouali

I saw a LinkedIn post (here) that took me back to my undergraduate course, regarding hydraulics structures and fluid mechanics. It is a very simple question! Which bucket will empty first? The question just reminded me of the old time during my undergraduate classes, when the problem statements were clear. Anyway, based on the comments…

Continue reading

Piecewise-Linear Functions: Part II

Posted on February 10, 2024February 10, 2024 by mabouali

In Part I (here), we discussed what are Piecewise-Linear Functions (PLFs). In Part II, this document, we are going to discuss how to estimate the coefficients. As it was mentioned in Part I, if we do not need to guarantee the continuity, all you need to do is to just fit a line to each…

Continue reading

Piecewise-Linear Functions: Part I

Posted on February 4, 2024February 10, 2024 by mabouali

We are going to divide this document in two parts. The first part, this document, we are going to discuss piecewise linear functions (PLFs) and how to implement one in Python. The second part, Part II, we will discuss how to fit the coefficients, detect the break-points locations, and even optimize the number of the…

Continue reading

The shepherd who cried wolf!

Posted on January 12, 2024 by mabouali

How do you understand mathematics? I like to connect them to real world situations, real applications, physics, even stories. This helps me not just learning how to use mathematical techniques, but understanding them. Once an undergrad student who was working on classifying some aerial imagery reached out to me for some help. He wanted to…

Continue reading

Solving System of Linear Equations

Posted on December 27, 2023January 27, 2024 by mabouali

The problem This post is inspired by a mathematic problem posted in Mathematical Olympiads group on LinkedIn here. It is rather a simple question. Consider the image below: The question is, find $ x $! Of course, instead of “here it is!”, we are interested in the numeric value of $ x $. Other than…

Continue reading

Search Posts

Latest Posts

  • Queen or Not-Queen, That’s The Question
  • Zipping
  • Mini-Sudoko
  • Let’s Tango!
  • Time To Empty

Categories

  • Constraint Programming
  • Fluid Mechanics
  • Fundamentals
  • Linear Algebra
  • Mathematics
  • Memories
  • opinion
  • Optimization
  • Optimization
  • OR-Tools
  • Physics
  • Piecewise-Linear
  • Programming
  • Python
  • Python
  • SQL
  • Stories
  • Tools
  • Uncategorized

Archive

  • December 2025
  • November 2025
  • October 2025
  • September 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
© 2026 Moe’s Homepage | Powered by Minimalist Blog WordPress Theme