# Optimization in Python

## Conveyor system optimization procedure I want to show how you can optimize a conveyor system with a combination of mathematical modeling and discrete-event simulation (DES). This is an addition to the rich variety of conveyor optimization examples available in industry. However, as I will […]

## Heuristic optimization in Python Following the previous articles on interfaces (+) and (exact) solvers (+) for optimization in Python, in this article, I introduce some packages that provide an easy-to-use “interface” for artificially intelligent algorithms (AIAs) (e.g., heuristics, meta-heuristics, math-heuristics, learn-heuristics, hyper-heuristics, or sim-heuristics). […]

## Flow shop scheduling with PuLP in Python In previous articles, I modeled and solved a single machine scheduling problem. What if we have two resources that operate in a pre-determined sequence (but not in parallel) to process a set of similar jobs? The so-called “flow shop” scheduling […]

## Single machine scheduling with PuLP There are many use cases of operations research (OR) where the decision problem is finding an optimal sequence over time. For instance, we may be interested in allocating a resource (e.g., a machine, a human, a facility, a plane, a […]

## Using solvers for optimization in Python Following the previous article on modeling and solving an optimization problem in Python using several “interfaces” (+), in this article, I try to provide a comprehensive review of open-source (OS), free, free & open-source (FOSS), and commercial “solvers,” which are […]

## Constraint programming with Google ortools In previous posts I have already introduced Google OR tools for linear programming. In this post I want to demonstrate the capabilities of Google OR tools for constraint programming. More specifically, I will solve a job scheduling problem using constraint […]

## Integer program with Google ortools (Python) In a several other posts on Google’s ortools module in Python I have already solved the linear optimization problem stated below. The problem is a continuous problem as all optimization variables are from a continuous solution space. I could think […]

## Lean linear program with ortools in Python In a previous post on Google’s ortools module in Python I solved the linear optimization problem stated below: The code written in my previous post can be reduced to fewer lines of code, resulting in lean code. In this post […]

## Linear program with Google ortools in Python In other posts I have demonstrated how one can solve e.g. linear optimization problems using modules such as SciPy and PuLP in Python. In R I have also demonstrated e.g. the lpSolve package. In this post I want to demonstrate […]

## Categorization of optimization problems In other posts I have e.g. demonstrated how to implement linear programming in R and Python. I have also shared examples on e.g. gradient-descent optimization for non-linear problems. In this post I want to provide an overview of various types […]