Techno Blender
Digitally Yours.
Browsing Tag

Bruno

An introduction to mixed-integer linear programming: The knapsack problem | by Bruno Scalia C. F. Leite | Jul, 2022

Learn how to solve optimization problems in Python using scipy and pyomoPhoto by Denisse Leon on UnsplashThe knapsack problem is probably one of the first problems one faces when studying integer programming, optimization, or operations research. In this problem, from a given set of items, one must choose the most valuable combination to fit in a knapsack of a certain capacity (weight, volume, or both).Throughout this article, we will implement the knapsack problem in a relaxed form using scipy and in an integer form…

Disney+ Series Ms. Marvel Episode 2 Recap: Crushed

Kamala takes her first steps to becoming the hero she wants to be.Image: Marvel StudiosWhen we left Kamala (Iman Vellani) last week, she discovered she has powers! She’s a hero for saving Zoe Zimmer (Laurel Marsden). But how will she further move forward as a hero?Having awakened her powers in episode one, “Crushed” opens as Kamala comes to school much more confident than before. She stands up to randos blocking her locker, plays a few hoops in the hallway, and even musters up the courage to correct the gym teacher on how

pymoode: Differential Evolution in Python | by Bruno Scalia C. F. Leite | May, 2022

Solve single- and multi-objective optimization problems using Differential Evolution algorithmsPhoto by Brendan Church on UnsplashDifferential evolution (DE) (Storn & Price, 1997) was originally designed for scalar objective optimization. However, because of its simple implementation and efficient problem-solving quality, DE has been modified in different ways to solve multi-objective optimization problems.Throughout this article, we will see the algorithms and operators available in the Python package pymoode with…