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 programming with Google OR tools. Unlike linear programming constraint programming allows for arbitrary types of […]

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 of a similar problem but with integer optimization variables. That would make the problem an […]

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 I will share a leaner version of my previous ortools-script. Again, I start by importing […]

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 how one can use Google´s Glop solver from the ortools module in Python. The problem […]