BEAVERTON, Ore. – June 26, 2023 – Gurobi Optimization, LLC, the leader in decision intelligence technology, today announced the release of OptiMods, an open-source project that provides Python users with high-level access to optimization capabilities. Developed by the Gurobi Tech teams, the project aims to put optimization in the hands of more people—especially those without prior knowledge of optimization and mathematical modeling.

“Many people have real-life business problems that can be solved with mathematical optimization, and they don’t even realize it. OptiMods helps bridge that gap,” explained Dr. Robert Luce, Principal Developer at Gurobi and the lead developer behind the project.

At launch, the OptiMods gallery includes the following modules:

  • Least Absolute Deviation Regression: For outlier detection and financial risk management, as well as applications across economics, social sciences, and environmental studies.
  • Mean-Variance Portfolio: For strategic allocation of wealth across various assets, including stocks, bonds, commodities, and other investment instruments.
  • Quadratic Unconstrained Binary Optimization (QUBO): For NP-hard discrete optimization problems like max-cut, graph coloring, partitioning, and maximum independent set.
  • Workforce Scheduling: For problems that involve balancing many competing concerns, such as: worker availability, cost, and preferences; shift coverage requirements; conditions on consecutive shifts or rest breaks; and so on.
  • Maximum Bipartite Matching: For grouping and assignments, such as matching workers or resources to specific tasks.
  • Minimum-Cost Flow: For problems where the goal is to route a certain amount of flow in the cheapest way.
  • Maximum Weighted Independent Set: For a range of applications in various fields, including computer vision, pattern recognition, molecular structure matching, social network analysis, and genome data mapping.

“Of course, there are millions of different problems that can be solved with optimization,” he added. “OptiMods only covers seven of them. But it’s a start.”

With OptiMods, people can solve problems that would be very difficult or impossible to solve without any optimization methods. Gurobi hopes that, through OptiMods, more people will discover that optimization is a useful tool that can be used more prominently in the workplace.

“OptiMods represents a big step toward putting the power of optimization into the hands of more people,” explained Gurobi CEO, Duke Perrucci. “When people and businesses make optimal decisions, they can do more with less—and, over time, that can make our world a better place. That’s what we’re aiming for as an organization.”

OptiMods includes example datasets for each module, all of which can be run using the free, limited-size Gurobi license that is automatically included in the Gurobi Python interface, gurobipy. Larger datasets require a full license. Academics have access to full-featured Gurobi Academic Licenses for free; commercial users can request a Gurobi Evaluation License.

The Gurobi team would like to grow the OptiMods collection over time. As such, it invites people familiar with optimization to contribute new Mods covering their favorite problems.

Gurobi will host a series of webinars on June 27, July 5, and July 6 to introduce the OptiMods project, demonstrate several of the current set of Mods, and outline how users can contribute. Register for the “Gurobi OptiMods: Simple APIs for Common Optimization Tasks” at


About Gurobi Optimization

With Gurobi’s decision intelligence technology, you can make optimal business decisions in seconds. From workforce scheduling, portfolio management, and marketing optimization, to supply chain design, and everything in between, Gurobi identifies your optimal solution, out of trillions of possibilities.

As the leader in decision intelligence, Gurobi delivers easy-to-integrate, full-featured software and best-in-class support, with an industry-leading 98% customer satisfaction rating.

Founded in 2008, Gurobi has operations across the Americas, Europe, and Asia. Over 2,500 global customers across 40+ industries run on Gurobi, including SAP, Air France, and the National Football League, as well as over half of the Fortune 10 and 70% of top global tech companies. For more information, please visit or call +1 713 871 9341.



Nell-Marie Colman
(540) 952 9719
Gurobi Optimization

Guidance for Your Journey

30 Day Free Trial for Commercial Users

Start solving your most complex challenges, with the world's fastest, most feature-rich solver.

Always Free for Academics

We make it easy for students, faculty, and researchers to work with mathematical optimization.

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.