Update parallel processing api (#246)
* Remove m.workers, add run(procs=), update docs * Update docs
This commit is contained in:
@@ -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']
|
||||
|
||||
@@ -33,6 +33,6 @@ def solve(state):
|
||||
|
||||
# play with these numbers!
|
||||
m.verbosity = 0
|
||||
m.workers = 1
|
||||
procs = 1
|
||||
|
||||
m.run()
|
||||
m.run(procs)
|
||||
|
||||
Reference in New Issue
Block a user