pub fn ac_ots_instance_from_base(
module: &PioModule<PioValue>,
base: &AcOpfInstance,
options: AcOtsOptions,
) -> Result<PioModule<AcOtsInstance>, Error>Expand description
Combine an AC optimal power flow base with explicit switching options,
keeping the base objective exactly. module is the module base belongs
to, directly or as a solution’s instance; its records carry over to the
result.
§Errors
Options AcOtsInstance::new refuses.