helpfulengineering / project-data-platform

An experimental attempt to make a CLI for supply-chain modeling for Helpful Engineering's Project Data
GNU Affero General Public License v3.0
9 stars 2 forks source link

Create Unit Test which reads OKH/OKW files, creates supplyproblem, and solves it. #12

Closed RobertLRead closed 1 year ago

RobertLRead commented 2 years ago

Create a Unit test (which can be run by hand) which actually reads the OKH and OKW json files into the Python object space. The test will then build a "supply problem" (already defined in the code), and solve it.

The test should find that this OKW can indeed match an OKH to produce a solution to the supply problem. Such a solution is called a "fulfillment plan".