Logo jbargu
jbargu

  • Archives
  • Categories
  • Tags
  • Series

/

  • Language
    • English
    • slovenski

  • Font Size
  • Mode
  1. Home
  2. Tags
  3. Numpy

Solving 0/1 Knapsack With the Vectorized Dynamic Programming

February 10, 20233 min read PythonKnapsackNumpyOptimization

I compared the speed between different implementations of the solution for the 0-1 knapsack problem. I found quite a nifty vectorized solution to the problem.

Read More

Create a 3D Height Map Mesh With Blender 3.0 and Python

Create a 3D height map mesh with Blender 3.0 and python
December 10, 20213 min read BlenderMeshNumpyScript

Imagine we have a 2D array of values from which we want to create a 3D height map mesh. I was playing with Blender 3.0, which also supports python scripting and even numpy library. I was determined to create a 3D model of the boring 2D array.

Read More
Profile
jbargu
jbargu
In pursuit of a global minimum ...
About
Taxonomies
Remote Pet Sitting System Ark Nova Tabletop Framework Implementation
Bevy Home Automation Java Linux Audio Rust Blender Linux Math Print and Play Python ALL 11
Board Game Wasm Agent Embed Numpy Reaper DAW Rpi Ark Nova CheerpJ Format ALL 24
2025 1 2024 3 2023 1 2022 3 2021 3 2020 1 2019 1
Posts
  • Cloth Simulation using a mass-spring system in Bevy
    Cloth Simulation Using a Mass-Spring System in Bevy
    August 5, 2022
  • Perserving home partition after upgrading to Ubuntu 24.04.01
    Perserving Home Partition After Upgrading to Ubuntu 24.04.01
    March 10, 2025
  • From zero to Netrunner PnP hero
    From Zero to Netrunner PnP Hero
    November 1, 2024
  • Porting Java desktop app to browser - Tabletop Games Framework
    Porting Java Desktop App to Browser - Tabletop Games Framework
    February 2, 2024
  • Implementing Ark Nova board game build action in Tabletop Framework
    Implementing Ark Nova Board Game Build Action in Tabletop Framework
    January 24, 2024
  • Solving 0/1 Knapsack With the Vectorized Dynamic Programming
    February 10, 2023
Copyright ©2019-2025 jbargu. All Rights Reserved.
Build with ❤️ from the Hugo and the HBS theme.