#[unsafe(no_mangle)]pub unsafe extern "C" fn pio_ac_ots_instance_create(
base: *const PioCalculationInstance,
options: *const PioAcOtsOptions,
error: *mut *mut PioError,
) -> *mut PioModuleExpand description
Combine an AC OPF instance with explicit switching options, keeping its objective exactly, as a new module that carries the base module’s records. NULL options are the defaults: every branch may switch.
§Safety
Pointers and handles must satisfy the crate-level safety requirements.