Runnable¶
- class amplpy.Runnable¶
Represent an object with only one function, which is called as a callback after an async execution has finished. Inherit from this class and use an instance in
eval_async()
,read_async()
,read_data_async()
,solve_async()
.- run()¶
Function called when the execution of the async operation is finished.
- __module__ = 'amplpy.runnable'¶