pub fn emit_dcopf_bundle(
instance: &DcOpfInstance,
out_dir: impl AsRef<Path>,
options: &DcOpfBundleOptions,
) -> Result<DcOpfOutputs>Expand description
Write matrix projections for a DC OPF instance.
The writer derives every cost, bound, mapping, and array privately from
the instance’s typed network under options.assembly, then writes the
bundle directory.
§Errors
A network the selected branch susceptance formula cannot assemble, or a filesystem refusal from the no-clobber output rules.