Trait WriteToLpFileFormat

Source
pub trait WriteToLpFileFormat {
    // Required method
    fn to_lp_file_format(&self, f: &mut Formatter<'_>) -> Result;
}
Expand description

It’s the user’s responsibility to ensure that the variable names used by types implementing this trait follow the solver’s requirements.

Required Methods§

Source

fn to_lp_file_format(&self, f: &mut Formatter<'_>) -> Result

Write the object to the given formatter in the .lp format

Implementations on Foreign Types§

Source§

impl<'a, T: WriteToLpFileFormat> WriteToLpFileFormat for &'a T

Source§

fn to_lp_file_format(&self, f: &mut Formatter<'_>) -> Result

Implementors§