POLab
2018/12/01
【回到首頁】
● Pulp is a free open source software written in Python. It is used to describe optimisation problems as mathematical models.
● Pulp can then call any of numerous external LP solvers (CBC, GLPK, CPLEX, Gurobi etc) to solve this model and then use python commands to manipulate and display the solution.
PuLP能求解以下類型的數學規劃問題:
- Linear Programming (LP)
- Mixed-Integer Linear Programming (MILP)
● Pulp package use for linear optimization
Gurobi,是一個用來求解數學規劃的優化引擎,為相當知名的數學規劃優化器,也可以在python上使用。
Gurobi能求解以下類型的數學規劃問題:🔗
- Linear Programming (LP)
- Mixed-Integer Linear Programming (MILP)
- Quadratic Programming (QP)
- Mixed-Integer Quadratic Programming (MIQP)
- Quadratically Constrained Programming (QCP)
- Mixed-Integer Quadratically Constrained Programming (MIQCP)
⚡ Gurobi能夠求解非線性問題,但僅限於二次規劃問題。
Gurobi商業使用是必須付費的,有提供測試License,讓公司進行Gurobi試用,而學術使用是完全免費的,僅有一年的有效期,到期就必須重新申請新的License才可再次使用。更多說明在這裡
● Gurobi
● PuLP