struct DebugDataWriter {
commodity_balance_duals_writer: Writer<File>,
activity_duals_writer: Writer<File>,
}
Expand description
For writing extra debug information about the model
Fields§
§commodity_balance_duals_writer: Writer<File>
§activity_duals_writer: Writer<File>
Implementations§
Source§impl DebugDataWriter
impl DebugDataWriter
Sourcefn write_debug_info(
&mut self,
milestone_year: u32,
solution: &Solution<'_>,
) -> Result<()>
fn write_debug_info( &mut self, milestone_year: u32, solution: &Solution<'_>, ) -> Result<()>
Write all debug info to output files
Sourcefn write_activity_duals<'a, I>(
&mut self,
milestone_year: u32,
iter: I,
) -> Result<()>
fn write_activity_duals<'a, I>( &mut self, milestone_year: u32, iter: I, ) -> Result<()>
Write activity duals to file
Sourcefn write_commodity_balance_duals<'a, I>(
&mut self,
milestone_year: u32,
iter: I,
) -> Result<()>
fn write_commodity_balance_duals<'a, I>( &mut self, milestone_year: u32, iter: I, ) -> Result<()>
Write commodity balance duals to file
Auto Trait Implementations§
impl Freeze for DebugDataWriter
impl RefUnwindSafe for DebugDataWriter
impl Send for DebugDataWriter
impl Sync for DebugDataWriter
impl Unpin for DebugDataWriter
impl UnwindSafe for DebugDataWriter
Blanket Implementations§
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more