一. 前言
OR-Tools | Google for Developers
Route. Schedule. Plan. Assign. Pack. Solve.
OR-Tools is fast and portable software for combinatorial optimization.
About OR-Tools
OR-Tools is an open source software suite for optimization, tuned for tackling the world's toughest problems in vehicle routing, flows, integer and linear programming, and constraint programming.
After modeling your problem in the programming language of your choice, you can use any of a half dozen solvers to solve it: commercial solvers such as Gurobi or CPLEX, or open-source solvers such as SCIP, GLPK, or Google's GLOP and award-winning CP-SAT.
OR-Tools includes solvers for:
A set of techniques for finding feasible solutions to a problem expressed as constraints (e.g., a room can't be used for two events simultaneously, or the distance to the crops must be less than the length of the hose, or no more than five TV shows can be recorded at once).
The Glop linear optimizer finds the optimal value of a linear objective function, given a set of linear inequalities as constraints (e.g., assigning people to jobs, or finding the best allocation of a set of resources while minimizing cost). Glop and the mixed-integer programming software SCIP are also available via the Google Apps Script Optimization Service.
A specialized library for identifying best vehicle routes given constraints.
Code for finding shortest paths in graphs, min-cost flows, max flows, and linear sum assignm
- 开源(免费), Apache-2.0 license
- 易用
- 集成多种求解器(支持调用第三方开源以及商用求解器, 商用求解器需要持有许可)
Google
出品(大厂背书, 品质保证?)