Skip to content

Planned features

DynaPlex is a ground-up rewrite of the original DynaPlex, and not everything from the original library has been ported yet. This page records what is planned, so you know what is coming and what is deliberately absent today. If one of these matters to you, let us know in Discussions; it helps us prioritize.

Exact solvers

The exact solver is available for infinite-horizon MDPs (average cost) and finite-horizon MDPs (expected total cost): discovery of the reachable state space, exact policy evaluation and policy iteration, single-threaded and in memory. Planned on top of it:

  • Parallel sweeps over the state space, the workers knob the other harnesses already have.
  • Persistence: writing the discovery and the solved tables to a work directory, so that re-running a script loads them and the optimal policy is available in a fresh process without re-solving.

Cluster / HPC job scripts

DCL parallelizes well beyond a single workstation. We plan to provide ready-to-adapt job scripts for HPC clusters (SLURM-based, with Snellius — the Dutch national supercomputer — as the worked example), covering installation into a cluster environment and running larger training jobs.

Beyond-MLP neural networks in DCL

The worked DCL examples currently use multi-layer perceptrons over a flat feature vector. DynaPlex already lets you plug in custom network architectures — you supply the network factory — and the observation surface now supports multi-tensor feature bundles, the substrate needed for architectures that read structured state rather than a single flat vector.

We are building on this in stages:

  • Convolutional networks over spatially-structured states — a worked example is planned.
  • Attention / pointer networks over object-token features (variable-length sets of entities) — the featurizer support for this is landing and still stabilizing; a worked example will follow.
  • Graph neural networks over multi-tensor features — under development.

DCL: random tie-breaking and activation-aware root selection

A trained network breaks exact ties between actions by picking the lowest action index. Exact ties are structural in models with symmetry (two identical machines, two identical orders in a pointer network), and a fixed rule then loads the same one every time. Planned: the network's activations return to the engine, action selection runs there, and exact ties are broken uniformly at random from the trajectory's own policy stream, so the choice stays reproducible and independent of the number of workers or the device. The same rule applies to ties between candidate actions when DCL labels a state. With the activations on the engine side, DCL can also start pruning the candidate set at the root by the current policy's own preferences, AlphaZero-style; that is a follow-on.

Ports of models from the original DynaPlex

Models written for the original C++ DynaPlex do not run on the new engine, but porting them is generally straightforward — the new modelling surface is richer than the old one. We port selected models from the literature as examples; if you depend on a specific model from the original library, open an issue.