Update parallel processing api (#246)

* Remove m.workers, add run(procs=), update docs

* Update docs
This commit is contained in:
Mark Mossberg
2017-05-10 19:44:55 -04:00
committed by GitHub
parent e4a4916597
commit a10b7bae29
6 changed files with 13 additions and 25 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ def solve(state):
# play with these numbers!
m.verbosity = 0
m.workers = 1
procs = 1
m.run()
m.run(procs)
print m.context['solution']
+2 -2
View File
@@ -33,6 +33,6 @@ def solve(state):
# play with these numbers!
m.verbosity = 0
m.workers = 1
procs = 1
m.run()
m.run(procs)