pub struct LpWriterOptions {
pub include_problem_name: bool,
pub max_line_length: usize,
pub decimal_precision: usize,
pub include_section_spacing: bool,
}Expand description
Options for controlling LP file output format
Fields§
§include_problem_name: boolInclude problem name comment at the top
max_line_length: usizeMaximum line length before wrapping coefficients
decimal_precision: usizeNumber of decimal places for coefficients
include_section_spacing: boolInclude empty lines between sections
Trait Implementations§
Source§impl Clone for LpWriterOptions
impl Clone for LpWriterOptions
Source§fn clone(&self) -> LpWriterOptions
fn clone(&self) -> LpWriterOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LpWriterOptions
impl Debug for LpWriterOptions
Auto Trait Implementations§
impl Freeze for LpWriterOptions
impl RefUnwindSafe for LpWriterOptions
impl Send for LpWriterOptions
impl Sync for LpWriterOptions
impl Unpin for LpWriterOptions
impl UnsafeUnpin for LpWriterOptions
impl UnwindSafe for LpWriterOptions
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