That’s why I love Python and a good reason you should try it

Luigi Poderico
1 min readJul 22, 2022

The funny part of the work performed by my team and me is solving optimization problems. I mean mathematical optimization, actually deeply applied in energy management. For instance, the value of the electricity traded on the day-ahead market is calculated by a large optimization problem that maximizes the system welfare.

Very often, practical and useful optimization problems can be written in terms of mixed-integer linear programming, made of thousands of variables and constraints, and solved by commercial as well as open-source solvers.

You know what: handling such problems is very easy with Python. The image shows how the same set of constraints is programmed in Python, Java and C++ using the Google library OR-TOOLS. It’s easy to understand how powerful the Python representation is.

Adopting Python is very easy to compose large optimization problems and adopt efficiently an Agile development approach.

#team #work #management#love #python #agile #development#energy

--

--

Luigi Poderico

I help people building machines that give the best answers to their best questions. https://linktr.ee/poderico