Skip to content

miyi/pitmining

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pitmining

Toy pit-mining problem. Currently, we have two sets of constraints:

  1. For a block to be dug, the block immediately above, as well as above and left, and above and right, must also be dug.
  2. We can only dig a fixed number of blocks.

Quality of dirt is completely random valued, on the range [0,1). To run the program, you'll need python3 with PuLP installed. Run it like:

./pitmining.py <width> <num_holes>

Where width is the width of the 2-D scene, and num_holes is the number of holes that can be dug out.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.5%
  • C++ 21.5%