Optimization Solvers

Comments recommend and discuss various solvers for linear programming (LP), mixed-integer linear programming (MILP), and combinatorial optimization problems, including tools like Google OR-Tools, CPLEX, GUROBI, and others. Users share experiences, comparisons, and alternatives for solving optimization challenges.

➡️ Stable 0.6x AI & Machine Learning
2,768
Comments
19
Years Active
5
Top Authors
#8312
Topic ID

Activity Over Time

2008
6
2009
21
2010
24
2011
25
2012
55
2013
81
2014
70
2015
124
2016
156
2017
177
2018
188
2019
163
2020
249
2021
137
2022
334
2023
208
2024
413
2025
327
2026
10

Keywords

aprogrammerwrites.eu GUROBI ShopBot ILOG ILP SQL OptaPlanner ASP solverfoundation.com google.com optimization solvers solver programming nurse linear integer problems mixed solution

Sample Comments

cm2187 Apr 21, 2022 View on HN

Google OR tools (along lpsolve). Can be used with c#, free, common api for multiple solvers. I find that on certain problems, even linear solvers can be instable and it is useful for the user to be able to use another solver with a simple drop down. I never fully understood what caused the instability (showing problems that are perfectly solvable as infeasible/abnormal). I suspect it has to do with the many orders of magnitude between the range of certain variables and the range of objectiv

7thaccount Jun 1, 2020 View on HN

What optimization software do y'all use? CPLEX, GUROBI..etc?

ulvund Sep 3, 2009 View on HN

Did you use linear programming solvers ?

7thaccount Oct 2, 2019 View on HN

Do y'all not use an optimization solver as well like CPLEX or GUROBI for MIP or LP models?

pkoird Jun 30, 2025 View on HN

If they do not know about it already, the OP would benefit from knowing more about Linear Programming and Mixed Integer Linear Programming. Many optimization problems can be naturally modeled into LPs or MILPs and there are POWERFUL solvers with decades of theory and optimization behind them already developed to solve them.

Rod Apr 12, 2010 View on HN

Give Solver Foundation a try: http://www.solverfoundation.com

imtringued Dec 15, 2023 View on HN

Try optlang. It mostly does ILP/LP though.

antman Jun 14, 2025 View on HN

Ortools by google had good benchmarks

nickpsecurity Aug 4, 2018 View on HN

Thanks!Edit: "Pyomo supports a wide range of problem types, including:Linear programmingQuadratic programmingNonlinear programmingMixed-integer linear programmingMixed-integer quadratic programmingMixed-integer nonlinear programmingStochastic programmingGeneralized disjunctive programmingDifferential algebraic equationsBilevel programmingMathematical programs with equilibrium constraints"Love it when someone links to one thing that has a pile of l

rkwasny Dec 4, 2017 View on HN

Isn't this just a simple integer linear programming optimization problem?Something that glpk/gurobi should be used for?