Skip to main content

pio_calculation_solution_get_objective

Function pio_calculation_solution_get_objective 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_calculation_solution_get_objective( solution: *const PioCalculationSolution, out_objective: *mut f64, ) -> bool
Expand description

Return an OPF or SCUC objective. SOCWR reports a lower bound through pio_socwr_opf_solution_get_objective_lower_bound instead.

ยงSafety

Pointers and handles must satisfy the crate-level safety requirements.