Henrik A. Friberg's Avatar

Henrik A. Friberg

@hafriberg

Mathematical optimization enthusiast and part of the R&D team at MOSEK ApS.

111
Followers
97
Following
37
Posts
15.11.2024
Joined
Posts Following

Latest posts by Henrik A. Friberg @hafriberg

So much good stuff here, but I would like to highlight the benefit of practicing. When you know the presentation by heart, you donโ€™t need to spend cognitive effort remembering what to say. That frees attention for connecting to the audience. You'll learn what works and not, they'll stay engaged.

04.03.2026 08:42 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

The frame freeze and overlay gives a really cool effect, but not a fan of handwriting in digital media.

01.12.2025 15:17 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

While I haven't finished processing the linked paper, I believe the idea is to limit the set of inputs and give room for error in the output. This is what brings polynomial complexity. The impressive part is when this is achievable by very mild assumptions (satisfied in practice).

07.11.2025 15:38 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

www2.mathematik.tu-darmstadt.de/~disser/pdfs...

07.11.2025 10:28 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I seem to recall the solution of a knapsack problem being embedded in how many times some columns entered the basis for some specific simplex method, so maybe the bridge for such a result has already been established @sophie.huiberts.me ?

07.11.2025 10:19 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I wonder whether something similar can be done in the field of NP-hard problems, to obtain polynomial complexity results by similar (algorithmically mild) assumptions on scaling, perturbations, etc. This would shed light on why we are able to solve knapsack and TSP problems to very high dimension.

07.11.2025 10:07 ๐Ÿ‘ 5 ๐Ÿ” 1 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0

Great article, and I do like that you address my initial thoughts immediately: "One canonical approach...". Is it common to only have an exam period of 6 days though? That 7 day schedule looks at lot more attractive.

17.09.2025 07:17 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

That is a much harder question I think. Reminds me of the largest sofa that you can move around a corner problem.

29.08.2025 06:19 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Don't forget to ignore posts with foul language. That really removes a lot of junk.

12.08.2025 13:04 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

If yes, I would try adding a supernode (connected to all) and require flow conservation, an inflow of at least one for the closed neighborhood (setminus supernode) of each node, and minimize the number of used edges. For n=8, this is still a rather small problem for MIP solvers.

08.08.2025 13:27 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Is this just one more than the shortest snake needed to visit the closed neighborhood of each node at least once? ๐Ÿค”

08.08.2025 13:04 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Oh, thatโ€™s so satisfying! I stopped at the 4-norm ball thinking I had the solution as it fits the hole like a pot lid (has a perfect circle as an intersection).

05.08.2025 19:36 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
FrontierMath FrontierMath is a benchmark of hundreds of unpublished and extremely challenging math problems to help us to understand the limits of artificial intelligence.

Consider contributing to epoch.ai/frontiermath. As no sizes are given, it is kinda implicitly assumed that "every p norm ball" also includes every size. And with this, you probably want to rule out infinite packings with gap approaching zero, let alone trivial covers of the hole.

05.08.2025 07:41 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
On Packing $$\mathbb {R}^3$$ R 3 with Thin Tori - Discrete & Computational Geometry We show that $$\mathbb {R}^3$$ R 3 can be packed at a density of $$0.222\ldots $$ 0.222 โ€ฆ with tori whose minor radius goes to zero. Furthermore, we show that the same torus arrangement yields an asym...

Unfortunately, it seems there is quite a theoretical gap between circles and hula hoops: link.springer.com/article/10.1...

24.06.2025 19:43 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

So I should be able to fill space with hula hoops without bending them out of shape -- thinner the hoops, better the cover? Sounds impressive.

24.06.2025 18:56 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I have only tried for small code snippets and can't say its making me more productive, but it's definitely interesting and stimulates another skill set.

19.06.2025 10:32 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Having a strong background in programming, I find that code generation is a great exercise for peer reviewing. It starts with the naive approach, and then you iteratively refine it by corner case handling, performance tuning and simplification. Not unlike how some educational books are written.

19.06.2025 10:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

It seems to me they distribute from their strongest military positions to minimize operational risk, using small boxes (=frequent revisits) to get better tracking of where it goes.

16.06.2025 21:48 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Has anyone built enough intuition for Gomory Cuts to dare explain when they are excellent and when they are terrible in this game?

11.06.2025 09:17 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

The quote โ€œI would have written a shorter letter, but I did not have the timeโ€ comes to mind.

06.06.2025 12:38 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Nice goal. I may object that the floors and ceils are a bit hard to distinguish, or is it just me?
โŒŠ|โŒˆโŒ‰|โŒ‹|โŒŠ

26.05.2025 11:04 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I havenโ€™t tried it yet, but the new kid on the block is Typst with Hayagriva for citations. Categories seems to make sense:
github.com/typst/hayagr...

21.05.2025 06:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I like this. A 68% confidence interval around 10 is probably quite a good model for what people actually mean when they say 10 ยฑ 1 and do the hand gesture.

26.04.2025 17:16 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

10 ยฑ 1 is
(a) the boolean expression "9 or 11",
(b) the set {9, 11},
(c) the interval [9, 11],
(d) an ambiguous operation that can't be used without context?

25.04.2025 14:02 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Preview
Optimal Smoothed Analysis of the Simplex Method Smoothed analysis is a method for analyzing the performance of algorithms, used especially for those algorithms whose running time in practice is significantly better than what can be proven through w...

Consider the LP problem min{cแต€x : Ax=b, xโ‰ฅ0} with dual
max{bแต€y : Aแต€yโ‰คc}. Adding Gaussian noise with std ฯƒ to all of A and c, the problem can be solved by a dual simplex method in O( 1/sqrt(ฯƒ) n^2.75 log(m)^1.75 ) pivot steps following the shadow vertex pivot rule. See arxiv.org/abs/2504.041....

10.04.2025 07:59 ๐Ÿ‘ 6 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Agreed, but it sparks an interesting question. What is the most difficult optimization problem which is simple to explain without math?

20.03.2025 08:21 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

In November 1979, the NYT (๐Ÿคฎ) writes of the then-new ellipsoid method that "the discovery may be applicable in weather prediction"

Does anyone know how LP would be used in weather prediction?

12.03.2025 08:51 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

When you are so deep into OR you start thinking about injective functions as 'codomain packing'.. ๐Ÿ˜…

Let f: X โ†’ Y and consider the sets {f(x)} for each element xโˆˆX. The function is injective/surjective/bijective if and only if these sets forms a packing/covering/partitioning of Y.

21.02.2025 13:36 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

In Denmark itโ€™s called โ€œ100 meter skovenโ€ (the hundred meter forrest). Sounds tiny in comparison, but I always thought of it as referring to a feature of the forrest rather than its extend.

14.02.2025 07:59 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
A small breakthrough in the modeling of polynomial denominators The MOSEK ApS official blog: announcements, new releases, activities, optimization modeling hints and examples.

Our latest blogpost is a little weekend treat for everybody interested in conic reformulations!

themosekblog.blogspot.com/2025/02/a-sm...

07.02.2025 11:04 ๐Ÿ‘ 10 ๐Ÿ” 3 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0