Solver Max's Avatar

Solver Max

@solvermax.com.bsky.social

We help you make better optimization models in Excel or Python. Optimization blog: https://www.solvermax.com/blog #orms resources: https://www.solvermax.com/resources

261 Followers  |  274 Following  |  29 Posts  |  Joined: 15.11.2024  |  1.7702

Latest posts by solvermax.com on Bluesky

'The jury' by John Morgan, 1861

'The jury' by John Morgan, 1861

Article: Jury simulation using SimPy
We design and build a SimPy model of jury summoning to reduce the number of people required.
This model highlights a key lesson for simulation modelling in general: details matter, sometimes a lot.
#orms #Python
www.solvermax.com/blog/jury-si...

14.07.2025 21:06 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Justitia, godless of justice

Justitia, godless of justice

Efficient jury empanelling: Respecting people's time

We describe a simulation model of the jury selection process. The goal is to explore how the needs of the justice system can be met while respecting the time of people who report for jury service.

#orms #Python
www.solvermax.com/blog/efficie...

09.06.2025 01:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
A sliced chocolate muffin

A sliced chocolate muffin

The muffin problem: A slice of recreational maths
We solve 'The Muffin Problem': divide muffins equally between students, maximizing the smallest piece.
Our MILP model is solved in parallel with symmetry-breaking constraints and objective bounds.
#orms #Python
www.solvermax.com/blog/the-muf...

03.05.2025 04:35 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Pivot irrigator

Pivot irrigator

Pivot irrigators in a 100 acre field
We formulate a non-linear, non-convex model for optimizing the layout of centre-pivot irrigators in a field.
Several solvers fail to find good solutions. Can the MINLP-BB solver via NEOS find an optimal solution?
#orms #Python
www.solvermax.com/blog/pivot-i...

02.04.2025 21:40 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Washed potatoes, ready for chopping into French Fries.

Washed potatoes, ready for chopping into French Fries.

Locational marginal pricing of potatoes

We apply Locational Marginal Pricing (LMP) to the supply of potatoes. The article describes the model, calculation of LMPs, and scenarios for how the suppliers and contractors may respond to the price signals.
#orms #pyomo
www.solvermax.com/blog/locatio...

07.03.2025 22:56 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
How I built an AI company to save my open source project The story of Timefold: how we turned a doomed open source project into a fast-growing PlanningAI company.

How I built an AI company to save my open source project

On this day, 3 years ago, my world fell apart. It was a Thursday. I just finished my second meeting that morning, looked at my inbox and realized it was over. My lifeโ€™s work was over.

Read more:
timefold.ai/blog/how-i-b...

10.02.2025 16:46 โ€” ๐Ÿ‘ 43    ๐Ÿ” 14    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 1

That's a great story.

I've been intending to add Timefold to our list of optimization modelling resources. Your post prompted me to do so: www.solvermax.com/resources/li...

10.02.2025 21:13 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Assigning a matrix of people to roles

Assigning a matrix of people to roles

Permission granted: A role mining model

We implement a recently published role mining model using both constraint programming and mixed integer linear programming, then compare their relative performance while solving several examples.

www.solvermax.com/blog/permiss...

#orms #pyomo #ortools

07.02.2025 20:07 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Illustration of cutting plane in linear programming

Illustration of cutting plane in linear programming

New item in our list of #orms resources:

Collection of videos from Associate Professor Alberto Del Pia, University of Wisconsin-Madison.
There are around 100 videos, collated into playlists relating to specific optimization papers taught at the university.
www.solvermax.com/resources/li...

06.02.2025 22:32 โ€” ๐Ÿ‘ 15    ๐Ÿ” 6    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Mathematician-astronomer Aryabhata

Mathematician-astronomer Aryabhata

Optimal rational approximation using SciPy

In this article we solve a non-linear curve fitting problem using the SciPy library. We illustrate SciPy's curve_fit and minimize functions and look at some good practices.
#python #scipy #orms
www.solvermax.com/blog/optimal...
@johndcook.bsky.social

07.01.2025 02:59 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Prime number puzzle

Prime number puzzle

We've added the "Book Proofs" blog by Laurent Lessard @laurentlessard.bsky.social to our list of #orms resources:
www.solvermax.com/resources/li...

23.12.2024 20:57 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Absolutely. A MILP is a very impractical way of compiling a crossword. The goal was to see if it would work, which it mostly does. The contrast with 1989 is also remarkable.

23.12.2024 03:08 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Solver Max - Crossword MILP - Model 1 We use a mixed integer linear program to compile crossword grids

Just for fun, I created a Mixed Integer Linear Program for compiling crosswords www.solvermax.com/blog/crosswo...

22.12.2024 03:07 โ€” ๐Ÿ‘ 7    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Logo for feasible blof

Logo for feasible blof

We've added the "Feasible" blog, written by Borja Menรฉndez, to our list of #orms resources:
www.solvermax.com/resources/li...

20.12.2024 07:10 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Princeton Consultants' Optimization logo

Princeton Consultants' Optimization logo

We've added the "Princeton Consultants' Optimization" blog to our list of #orms resources:
www.solvermax.com/resources/li...

16.12.2024 21:36 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Cornell University logo

Cornell University logo

We've added the Cornell "Computational optimization open textbook" to our list of #orms resources: www.solvermax.com/resources/li...

14.12.2024 07:06 โ€” ๐Ÿ‘ 23    ๐Ÿ” 5    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

We've added the blog by @richardoberdieck.bsky.social to our list of #orms resources: www.solvermax.com/resources/li...

Please comment to suggest other #orms resources, like blogs, courses, online textbooks, etc. that we can add.

08.12.2024 22:40 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

While solving MIPs using AI seems like a pointless exercise, I did use an AI to find the paper you're referring to. So, AIs are good for some things.

04.12.2024 23:19 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Bridging the Optimization Skills Gap With Generative AI - Gurobi Optimization How GenAI can make optimization tools more accessible and effective

I've found ChatGPT & Claude somewhat better at programming, but much the same as Copilot for optimization model code.
Perhaps an AI trained specifically on models would be better. @gurobioptimization.bsky.social have started looking at AI, so we'll see what they find www.gurobi.com/resources/br...

04.12.2024 20:50 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

The process was a roller coaster. I was impressed by the AI's astuteness but frustrated by its strange mistakes.
I'm increasingly using AI for coding tasks - either straightforward yet time-consuming things, or to get syntax right for unfamiliar things. It mostly performs well in these situations.

04.12.2024 18:09 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Copilot writing a model in a field

Copilot writing a model in a field

Blog: Can AI code an entire optimization model?
We report our experience of using Copilot to write a non-trivial optimization model for us. We focus on what went well and what didn't go well, plus some general lessons from the process.
www.solvermax.com/blog/can-ai-...
#orms #copilot #llm #ai

04.12.2024 02:02 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1

Though I object to paying 39,95 โ‚ฌ just to look at an article. But that's a different issue.

20.11.2024 22:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Perhaps "often" is a bit harsh. But I'd have better evidence if the code is published too.
I hope you're right about the culture changing.

20.11.2024 22:21 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Solver Max - Green manufacturing via cutting patterns Solver model of a one dimensional cutting problem in Excel

I suppose a formulation is better than nothing. But published formulations are often wrong.
For example in www.solvermax.com/blog/green-m... we get a better optimal solution.
In another case, our solution was worse than in the paper. In discussion with the author it emerged that the paper is wrong.๐Ÿคท

20.11.2024 22:08 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The Gomes, et al paper we summarize lists many reasons why academics may not publish code and data - along with mitigations that should encourage publication.
I approach this issue from a selfish perspective. When looking to the literature for help with a problem, a formulation is seldom sufficient.

20.11.2024 21:48 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

As a consultant, I work on models that would be a useful contribution to the literature. But intellectual property and nondisclosure agreements preclude publication.
Where possible, we write about anonymized projects like www.solvermax.com/blog/warehou... and www.solvermax.com/blog/warehou...

20.11.2024 20:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

According to Gomes, et al., scooping is rare. But I suspect that the fear of being scooped is much more prevalent and may discourage publication of data and code.

20.11.2024 19:28 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Extract of Gurobipy code for a districting model in Python

Extract of Gurobipy code for a districting model in Python

Academics, please publish your data and code

We implore academics to publish working code and data to accompany their papers.

In this blog, we explore an optimization model where publishing has been done well.

www.solvermax.com/blog/academi...

#orms #Python

20.11.2024 07:43 โ€” ๐Ÿ‘ 15    ๐Ÿ” 1    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 1
Child's wooden counting toy

Child's wooden counting toy

Objectives matter: Sorting using a MIP model
While solving a feasibility problem that is taking forever, we try using an alternative objective function to reduce the HiGHS solver's run time. The impact is dramatic.
www.solvermax.com/blog/objecti...
#Python #orms

15.11.2024 23:31 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Solver Max - Home Operations research and optimization modeling blog. Get help with your optimisation models via our consulting service.

We're a company that specializes in designing, building, and using optimization models.
Our focus is on helping people with their Excel and Python optimization models, via our blog and a consulting service.
www.solvermax.com

15.11.2024 23:13 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@solvermax.com is following 20 prominent accounts