Skip to content

lavantien/go-linear-programming

Repository files navigation

Go Linear Programming

Coverage

Introduction

Knapsack Problem

  • Knapsack Problem
  • A list of objects where each object has a weight and a value: Object{Weight, Value}
  • Find a binary vector [b1, b2, ..., bn]
  • Then do dot product with the vector objects.Weight with the constraint: b1 + b2 + ... + bn <= capacity
  • And maximize dot product with the vector objects.Value

Run

make test

About

Linear Programming implement in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published