#[repr(C)]pub struct PioAcOtsSolutionView {
pub branch_count: usize,
pub branches_open: usize,
pub branches_switched: usize,
pub switching_cost: f64,
pub objective: f64,
}Expand description
The totals of one AC optimal transmission switching solution. The objective includes the switching cost when the instance’s objective states the switching cost term.
Fields§
§branch_count: usize§branches_open: usize§branches_switched: usize§switching_cost: f64§objective: f64Trait Implementations§
Source§impl Clone for PioAcOtsSolutionView
impl Clone for PioAcOtsSolutionView
impl Copy for PioAcOtsSolutionView
Auto Trait Implementations§
impl Freeze for PioAcOtsSolutionView
impl RefUnwindSafe for PioAcOtsSolutionView
impl Send for PioAcOtsSolutionView
impl Sync for PioAcOtsSolutionView
impl Unpin for PioAcOtsSolutionView
impl UnsafeUnpin for PioAcOtsSolutionView
impl UnwindSafe for PioAcOtsSolutionView
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more