Post
Topic
Board Development & Technical Discussion
Re: How do miners solve the knapsack problem?
by
btc78
on 20/07/2024, 03:22:02 UTC
To optimize their profits, do miners use software like Gurobi or other LP-solvers to solve the knapsack problem and select the most profitable transactions?
Knapsack problem is basically ensuring that you maximize the items with most value. Miners can maximize profits straightforwardly by choosing transactions with the highest fees subjected to size.

Using complex and sophisticated LP solvers will actually just slow down a miner which is not ideal.