IBM / nl2flow

NL2Flow: A PDDL Interface to Flow Construction
Apache License 2.0
5 stars 2 forks source link

retry and multi instance flags #59

Closed TathagataChakraborti closed 2 months ago

TathagataChakraborti commented 2 months ago

18 Flag to toggle between parameterized and unparameterized compilations

TathagataChakraborti commented 2 months ago

@jkeskingvillage I have implemented flags for the two biggest contributors to the scaling issue. We can add the minor ones if we want to exactly replicate the older compilation (it's possible to make it even faster than before but I don't think we are adding much beyond this point).

Can you test on the demo with this branch, with both the flags raised. [example]

from nl2flow.compile.options import NL2FlowOptions

flow_object.optimization_options.remove(NL2FlowOptions.multi_instance)
flow_object.optimization_options.remove(NL2FlowOptions.allow_retries)