AsynchronousActionManager
(class from pyomo.opt.parallel.manager
)
- class pyomo.opt.parallel.manager.AsynchronousActionManager[source]
Bases:
object
Methods
__init__
()Constructor
clear
()Clear manager state
execute
(*args, **kwds)Synchronously execute an action.
get_results
(ah)Return solver results.
get_status
(ah)Return the status of the ActionHandle.
Return the number of queued actions.
queue
(*args, **kwds)Queue an action, returning an ActionHandle object.
wait_all
(*args)Wait for all actions to complete.
wait_any
(*args)Wait for any action (or any of the specified actions) to complete, and return the corresponding ActionHandle.
wait_for
(ah)Wait for the specified action to complete.
Member Documentation
- wait_all(*args)[source]
Wait for all actions to complete. The arguments to this method are expected to be ActionHandle objects or iterators that return ActionHandle objects. If no arguments are provided, then this method will terminate after all queued actions are